Little adjustment on the big banner buttons
This commit is contained in:
parent
3c0dfa4a8d
commit
2620549ac2
|
|
@ -479,6 +479,13 @@ div#tarteaucitronServices {
|
||||||
/***
|
/***
|
||||||
* Big alert
|
* Big alert
|
||||||
*/
|
*/
|
||||||
|
@media screen and (max-width: 900px) {
|
||||||
|
div#tarteaucitronAlertBig button {
|
||||||
|
margin: 0 auto 10px!important;
|
||||||
|
display: block!important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.tarteaucitronAlertBigTop {
|
.tarteaucitronAlertBigTop {
|
||||||
top: 0;
|
top: 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -267,7 +267,7 @@ var tarteaucitron = {
|
||||||
// css for new middle bar
|
// css for new middle bar
|
||||||
if (tarteaucitron.orientation === 'middle') {
|
if (tarteaucitron.orientation === 'middle') {
|
||||||
var customThemeMiddle = document.createElement('style'),
|
var customThemeMiddle = document.createElement('style'),
|
||||||
cssRuleMiddle = 'div#tarteaucitronRoot.tarteaucitronBeforeVisible:before {content: \'\';position: fixed;width: 100%;height: 100%;background: white;top: 0;left: 0;z-index: 999;opacity: 0.5;}div#tarteaucitronAlertBig:before {content: \'' + tarteaucitron.lang.middleBarHead + '\';font-size: 50px;}body #tarteaucitronRoot div#tarteaucitronAlertBig {width: 60%;min-width: 285px;height: auto;margin: auto;left: 50%;top: 50%;transform: translate(-50%, -50%);box-shadow: 0 0 9000px #000;border-radius: 20px;padding: 50px 0;}span#tarteaucitronDisclaimerAlert {padding: 0 30px;}#tarteaucitronRoot span#tarteaucitronDisclaimerAlert {margin: 50px 0;display: block;text-align: center;font-size: 21px;}';
|
cssRuleMiddle = 'div#tarteaucitronRoot.tarteaucitronBeforeVisible:before {content: \'\';position: fixed;width: 100%;height: 100%;background: white;top: 0;left: 0;z-index: 999;opacity: 0.5;}div#tarteaucitronAlertBig:before {content: \'' + tarteaucitron.lang.middleBarHead + '\';font-size: 50px;}body #tarteaucitronRoot div#tarteaucitronAlertBig {width: 60%;min-width: 285px;height: auto;margin: auto;left: 50%;top: 50%;transform: translate(-50%, -50%);box-shadow: 0 0 9000px #000;border-radius: 20px;padding: 35px 25px;}span#tarteaucitronDisclaimerAlert {padding: 0 30px;}#tarteaucitronRoot span#tarteaucitronDisclaimerAlert {margin: 50px 0;display: block;text-align: center;font-size: 21px;}';
|
||||||
|
|
||||||
customThemeMiddle.type = 'text/css';
|
customThemeMiddle.type = 'text/css';
|
||||||
if (customThemeMiddle.styleSheet) {
|
if (customThemeMiddle.styleSheet) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue