2021-05-19 01:13:59 +00:00
|
|
|
@import '../../resources/variables.less';
|
|
|
|
|
|
|
|
.mw-notification {
|
|
|
|
border-color: var( --border-color-base );
|
2021-05-27 14:35:21 +00:00
|
|
|
border-radius: var( --border-radius--medium );
|
2022-09-28 21:02:56 +00:00
|
|
|
background-color: var( --color-surface-1 );
|
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 );
|
2022-11-16 23:06:23 +00:00
|
|
|
font-size: 0.875rem;
|
2021-05-19 01:13:59 +00:00
|
|
|
|
|
|
|
&.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 );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|