mediawiki-skins-Citizen/skinStyles/mediawiki/mediawiki.notification.less
alistair3149 96013bb126
feat: deprecate --background-color-dp-XX in favor of --color-surface-X
--background-color-dp-XX is now fully deprecated in favor of a simpler 4 color surface system. It can be accessed through the --color-surface-X CSS var.
2022-04-25 22:27:52 -04:00

28 lines
653 B
Plaintext

@import '../../resources/variables.less';
.mw-notification {
border-color: var( --border-color-base );
background-color: var( --color-surface-1 );
border-radius: var( --border-radius--medium );
box-shadow: var( --box-shadow-dialog );
color: var( --color-base );
font-size: @content-monospace-size;
&.mw-notification-type {
&-warn {
background-color: var( --background-color-warning );
color: var( --color-base );
}
&-error {
background-color: var( --background-color-destructive );
color: var( --color-base );
}
&-success {
background-color: var( --background-color-success );
color: var( --color-base );
}
}
}