2018-05-19 09:25:31 +00:00
|
|
|
|
@import 'mediawiki.ui/variables.less';
|
2016-11-04 16:47:15 +00:00
|
|
|
|
|
|
|
|
|
@cookieWarningFontSize: 12px;
|
2018-05-19 09:25:31 +00:00
|
|
|
|
@contentPaddingTablet: @iconGutterWidth + @iconGutterWidth + @iconSize;
|
2016-11-04 16:47:15 +00:00
|
|
|
|
|
|
|
|
|
.mw-cookiewarning-container {
|
2018-11-24 21:46:35 +00:00
|
|
|
|
background-color: #fff;
|
2016-11-04 16:47:15 +00:00
|
|
|
|
padding: 16px;
|
|
|
|
|
font-size: @cookieWarningFontSize;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
font-style: normal;
|
|
|
|
|
font-stretch: normal;
|
|
|
|
|
|
|
|
|
|
.mw-cookiewarning-cimage {
|
|
|
|
|
width: 28px;
|
|
|
|
|
height: 100%;
|
|
|
|
|
font-size: 28px;
|
|
|
|
|
margin-right: 15px;
|
|
|
|
|
float: left;
|
|
|
|
|
text-align: center;
|
|
|
|
|
line-height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
form {
|
|
|
|
|
float: right;
|
|
|
|
|
margin-left: 5px;
|
|
|
|
|
/* borrowed from mediawiki/core Login Button, following `ButtonWidget (progressive)` from OOjs UI */
|
|
|
|
|
.mw-cookiewarning-dismiss {
|
|
|
|
|
height: 32px;
|
|
|
|
|
background-color: #f8f9fa;
|
|
|
|
|
color: #36c;
|
|
|
|
|
}
|
|
|
|
|
.mw-cookiewarning-dismiss:hover {
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
border-color: #859ecc;
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
}
|
|
|
|
|
.mw-cookiewarning-dismiss:active {
|
|
|
|
|
background-color: #eff3fa;
|
|
|
|
|
color: #2a4b8d;
|
|
|
|
|
border-color: #2a4b8d;
|
|
|
|
|
}
|
|
|
|
|
.mw-cookiewarning-dismiss:focus {
|
|
|
|
|
border-color: #36c;
|
|
|
|
|
box-shadow: inset 0 0 0 1px #36c;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2018-05-19 09:25:31 +00:00
|
|
|
|
@media all and ( min-width: @width-breakpoint-tablet ) {
|
2016-11-04 16:47:15 +00:00
|
|
|
|
.mw-cookiewarning-container {
|
|
|
|
|
line-height: @contentPaddingTablet;
|
|
|
|
|
|
|
|
|
|
.mw-cookiewarning-cimage {
|
|
|
|
|
line-height: inherit;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|