mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CookieWarning
synced 2024-12-12 06:16:09 +00:00
e0d100ca60
Removed old csslint package and added grunt-stylelint and stylelint config for Wikimedia. Fixed the violations caused by this change. Bug: T206506 Change-Id: Ieb1f087de859f5321c4f1fe65c0e3bf7b655ca15
49 lines
779 B
Plaintext
49 lines
779 B
Plaintext
.mw-cookiewarning-container {
|
|
position: fixed;
|
|
background-color: #5a5a5a;
|
|
box-sizing: border-box;
|
|
opacity: 0.85;
|
|
color: #fff;
|
|
font-weight: bold;
|
|
font-size: 13px;
|
|
padding: 7px 15px;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
z-index: 1999;
|
|
}
|
|
|
|
.mw-cookiewarning-text {
|
|
span {
|
|
margin-right: 0.5em;
|
|
}
|
|
|
|
form {
|
|
display: inline;
|
|
}
|
|
|
|
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-mobile-mode {
|
|
.mw-cookiewarning-container {
|
|
bottom: 0;
|
|
top: inherit;
|
|
opacity: 1;
|
|
}
|
|
}
|