mediawiki-extensions-Cookie.../resources/ext.CookieWarning/ext.CookieWarning.less
Paladox 48f795df08 Replace deprecated hook
Bug: T254302
Change-Id: I140af90b5f175974eb20873f2c1c6449be5a6669
(cherry picked from commit 0dc0e795a1)
2020-11-29 23:46:51 +00:00

50 lines
856 B
Plaintext

@z-index: 1999;
/* stylelint-disable selector-max-id */
#siteNotice {
z-index: @z-index;
}
/* stylelint-enable selector-max-id */
.mw-cookiewarning-container {
position: fixed;
background-color: rgba( 90, 90, 90, 0.85 );
box-sizing: border-box;
color: #fff;
font-weight: bold;
font-size: 13px;
padding: 7px 15px;
top: 0;
left: 0;
width: 100%;
z-index: @z-index;
a,
.mw-cookiewarning-dismiss {
background-color: #3c3c3c;
height: 100%;
padding: 3px 10px;
border-radius: 2px;
border: 0;
cursor: pointer;
text-decoration: none !important; /* stylelint-disable-line declaration-no-important */
color: #fff;
margin-right: 0.5em;
white-space: nowrap;
font-weight: bold;
font-size: 13px;
}
.mw-cookiewarning-text {
display: inline-block;
span {
margin-right: 0.5em;
}
}
form {
display: inline-block;
}
}