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

58 lines
1.2 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_39 021d9ea
*
* Date: 2023-07-30
2019-12-29 18:45:17 +00:00
*/
@import '../../../resources/variables.less';
.mw-cookiewarning-container {
right: 0;
display: grid;
grid-template-columns: 1fr;
gap: var( --space-sm );
width: auto;
max-width: @max-width-breakpoint-tablet;
padding: var( --space-md );
margin: var( --space-xs );
font-size: 0.875rem;
line-height: var( --line-height-sm );
background-color: var( --color-surface-1 );
border: 1px solid var( --border-color-base );
border-radius: var( --border-radius--large );
box-shadow: var( --box-shadow-dialog );
2019-12-29 18:45:17 +00:00
@media only screen and ( min-width: @min-width-breakpoint-desktop ) {
right: unset;
left: var( --header-size );
}
2019-12-29 18:45:17 +00:00
.mw-cookiewarning-text {
2021-03-22 19:04:28 +00:00
margin-bottom: 0; // Override media styles
font-size: inherit;
font-weight: var( --font-weight-medium );
color: var( --color-base );
2021-01-28 18:17:20 +00:00
}
2019-12-29 18:45:17 +00:00
form {
.oo-ui-layout {
display: grid;
grid-template-columns: repeat( auto-fit, minmax( 0, 1fr ) );
gap: var( --space-xs );
2020-03-15 04:26:03 +00:00
}
.oo-ui-widget {
margin: 0;
.oo-ui-buttonElement-button {
display: block;
width: 100%;
}
2019-12-29 18:45:17 +00:00
}
}
}