mediawiki-skins-Citizen/skinStyles/mediawiki/mediawiki.notification.less

39 lines
834 B
Plaintext
Raw Normal View History

/*
* 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 {
2024-07-01 03:50:21 +00:00
background: var( --background-color-warning-subtle ) var( --color-surface-0 );
border-color: transparent;
}
&-error {
2024-07-01 03:50:21 +00:00
background: var( --background-color-destructive-subtle ) var( --color-surface-0 );
border-color: transparent;
}
&-success {
2024-07-01 03:50:21 +00:00
background: var( --background-color-success-subtle ) var( --color-surface-0 );
border-color: transparent;
}
}
}