mediawiki-skins-Citizen/skinStyles/mediawiki/mediawiki.notification.less
alistair3149 00b2495c1a
feat(core): use px for border-radius
- Move border radius calculation to CSS variable instead of LESS
- Rename CSS variable according to Codex, soft-deprecating the existing border radius
2024-07-05 13:24:31 -04:00

39 lines
834 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-dialog );
&.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;
}
}
}