mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-12-02 18:06:21 +00:00
00b2495c1a
- Move border radius calculation to CSS variable instead of LESS - Rename CSS variable according to Codex, soft-deprecating the existing border radius
39 lines
834 B
Plaintext
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;
|
|
}
|
|
}
|
|
}
|