mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-12-11 05:56:16 +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
42 lines
914 B
Plaintext
42 lines
914 B
Plaintext
/*
|
|
* Citizen
|
|
*
|
|
* SkinStyles for Extension:Echo
|
|
* Module: ext.echo.styles.alert
|
|
* Version: REL1_39
|
|
*
|
|
* Date: 2024-02-27
|
|
*/
|
|
|
|
@import '../../../resources/variables.less';
|
|
|
|
.mw-echo-alert {
|
|
position: fixed;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: @z-index-overlay;
|
|
width: auto;
|
|
max-width: @max-width-breakpoint-tablet;
|
|
padding: 0;
|
|
margin: var( --space-xs );
|
|
font-size: var( --font-size-small );
|
|
line-height: var( --line-height-sm );
|
|
color: var( --color-base );
|
|
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 );
|
|
}
|
|
|
|
// Needed additional specificity
|
|
&.mw-list-item > a {
|
|
padding: var( --space-md );
|
|
border-radius: var( --border-radius-large );
|
|
}
|
|
}
|