mediawiki-skins-Citizen/skinStyles/mediawiki/mediawiki.notification.less
alistair3149 c1370e95f0
feat(core): update box-shadow CSS variables
* Tokenize shadow vertical distance
* Rename CSS variables to match Codex counterpart
* Reduce the vertical distance for all box shadow
2024-07-24 21:53:51 -04:00

39 lines
841 B
Plaintext

/*
* Citizen
*
* SkinStyles for MediaWiki notifications
* Module: mediawiki.notification
* Version: 1.39.0
*
* Date: 2023-06-23
*/
.mw-notification-area {
padding: var( --space-xs );
}
.mw-notification {
color: var( --color-emphasized );
background-color: var( --color-surface-1 );
border-color: transparent;
border-radius: var( --border-radius-medium );
box-shadow: var( --box-shadow-drop-xx-large );
&.mw-notification-type {
&-warn {
background: var( --background-color-warning-subtle ) var( --color-surface-0 );
border-color: transparent;
}
&-error {
background: var( --background-color-destructive-subtle ) var( --color-surface-0 );
border-color: transparent;
}
&-success {
background: var( --background-color-success-subtle ) var( --color-surface-0 );
border-color: transparent;
}
}
}