mediawiki-skins-Citizen/skinStyles/extensions/Echo/ext.echo.styles.alert.less

42 lines
944 B
Plaintext
Raw Normal View History

/*
* 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: var( --border-width-base ) solid var( --border-color-base );
border-radius: var( --border-radius-large );
box-shadow: var( --box-shadow-drop-xx-large );
@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 );
}
}