mediawiki-skins-Citizen/skinStyles/extensions/Echo/ext.echo.styles.alert.less
2024-04-16 01:28:45 -04:00

42 lines
916 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 );
}
}