mediawiki-skins-Citizen/skinStyles/extensions/CookieWarning/ext.CookieWarning.styles.less

55 lines
1 KiB
Plaintext
Raw Normal View History

2019-12-29 18:45:17 +00:00
/*
* Citizen
*
* SkinStyles for Extension:CookieWarning
* Module: ext.CookieWarning.styles
* Version: REL1_35 3c2ae6a
*
* Date: 2022-04-29
2019-12-29 18:45:17 +00:00
*/
@import '../../../resources/variables.less';
.mw-cookiewarning-container {
right: 0;
2021-03-22 19:04:28 +00:00
width: auto;
max-width: @width-breakpoint-tablet;
align-items: center;
2021-01-19 17:14:01 +00:00
justify-content: space-between;
padding: 0 var( --padding-page );
border-radius: var( --border-radius--large );
2021-03-22 19:04:28 +00:00
margin: 10px;
2021-01-28 18:17:20 +00:00
background-color: #343a40; // dark base 70
box-shadow: var( --box-shadow-dialog );
font-size: @content-monospace-size;
2021-01-28 18:17:20 +00:00
line-height: 1.4;
2019-12-29 18:45:17 +00:00
.mw-cookiewarning-text {
padding: 20px 0;
2021-03-22 19:04:28 +00:00
margin-bottom: 0; // Override media styles
font-size: inherit;
font-weight: 500;
2021-01-28 18:17:20 +00:00
}
2019-12-29 18:45:17 +00:00
form {
display: flex;
padding: 15px 0;
2019-12-29 18:45:17 +00:00
}
}
2021-01-19 17:14:01 +00:00
@media only screen and ( max-width: @width-breakpoint-tablet ) {
.mw-cookiewarning-container {
flex-wrap: wrap;
2019-12-29 18:45:17 +00:00
2021-01-19 17:14:01 +00:00
.mw-cookiewarning-text {
flex-wrap: wrap;
2021-03-07 17:13:15 +00:00
padding-bottom: 0;
2020-03-15 04:26:03 +00:00
}
form {
width: 100%;
margin-left: -8px; // cancel out the button margin
2019-12-29 18:45:17 +00:00
}
}
}