mediawiki-extensions-Cookie.../resources/ext.CookieWarning/ext.CookieWarning.less
沈澄心 5a0bd5e34e Fix z-index
Bug: T341086
Change-Id: Ic6ce2c99a6b19c18f2134adfb4c607aa90ae43e6
2023-07-16 10:11:03 +08:00

41 lines
722 B
Plaintext

@import 'mediawiki.skin.variables.less';
.mw-cookiewarning-container {
position: fixed;
background-color: rgba( 90, 90, 90, 0.85 );
box-sizing: border-box;
padding: 7px 15px;
bottom: 0;
left: 0;
width: 100%;
z-index: @z-index-overlay;
display: flex;
justify-content: center;
// Narrow mobile screens
// 550px is a mostly arbitrary number, though it's used by a few other exts and skins
@media screen and ( max-width: 550px ) {
flex-wrap: wrap;
.mw-cookiewarning-text {
margin-bottom: 0.7em;
}
}
.mw-cookiewarning-text {
display: flex;
align-items: center;
color: #fff;
font-weight: bold;
font-size: 92%;
}
form {
flex-shrink: 0;
.oo-ui-widget {
margin: 0 0 0 8px;
}
}
}