2021-05-19 01:13:59 +00:00
|
|
|
@import '../../resources/variables.less';
|
|
|
|
|
|
|
|
.mw-notification {
|
|
|
|
border-color: var( --border-color-base );
|
2022-04-26 02:27:52 +00:00
|
|
|
background-color: var( --color-surface-1 );
|
2021-05-27 14:35:21 +00:00
|
|
|
border-radius: var( --border-radius--medium );
|
2022-04-24 19:24:09 +00:00
|
|
|
box-shadow: var( --box-shadow-dialog );
|
2021-05-19 01:13:59 +00:00
|
|
|
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 );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|