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

55 lines
1.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;
align-items: center;
2021-01-19 17:14:01 +00:00
justify-content: space-between;
width: auto;
max-width: @width-breakpoint-tablet;
padding: 0 var( --padding-page );
2021-03-22 19:04:28 +00:00
margin: 10px;
font-size: 0.875rem;
line-height: var( --line-height-sm );
background-color: #343a40; // dark base 70
border-radius: var( --border-radius--large );
box-shadow: var( --box-shadow-dialog );
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: var( --font-weight-medium );
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
}
}
}