mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-12-04 18:59:03 +00:00
00b2495c1a
- Move border radius calculation to CSS variable instead of LESS - Rename CSS variable according to Codex, soft-deprecating the existing border radius
58 lines
1.2 KiB
Plaintext
58 lines
1.2 KiB
Plaintext
/*
|
|
* Citizen
|
|
*
|
|
* SkinStyles for Extension:CookieWarning
|
|
* Module: ext.CookieWarning.styles
|
|
* Version: REL1_39 021d9ea
|
|
*
|
|
* Date: 2023-07-30
|
|
*/
|
|
|
|
@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: var( --font-size-small );
|
|
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 );
|
|
|
|
@media only screen and ( min-width: @min-width-breakpoint-desktop ) {
|
|
right: unset;
|
|
left: var( --header-size );
|
|
}
|
|
|
|
.mw-cookiewarning-text {
|
|
margin-bottom: 0; // Override media styles
|
|
font-size: inherit;
|
|
font-weight: var( --font-weight-medium );
|
|
color: var( --color-base );
|
|
}
|
|
|
|
form {
|
|
.oo-ui-layout {
|
|
display: grid;
|
|
grid-template-columns: repeat( auto-fit, minmax( 0, 1fr ) );
|
|
gap: var( --space-xs );
|
|
}
|
|
|
|
.oo-ui-widget {
|
|
margin: 0;
|
|
|
|
.oo-ui-buttonElement-button {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
}
|