2022-12-13 23:04:28 +00:00
|
|
|
/*
|
|
|
|
* Citizen
|
|
|
|
*
|
|
|
|
* SkinStyles for MediaWiki notifications
|
|
|
|
* Module: mediawiki.notification
|
|
|
|
* Version: 1.39.0
|
|
|
|
*
|
2023-06-26 19:25:12 +00:00
|
|
|
* Date: 2023-06-23
|
|
|
|
*/
|
2022-12-13 23:04:28 +00:00
|
|
|
|
|
|
|
.mw-notification-area {
|
|
|
|
padding: var( --space-xs );
|
2024-10-22 20:18:50 +00:00
|
|
|
font-size: var( --font-size-small );
|
2024-10-23 21:33:46 +00:00
|
|
|
line-height: var( --line-height-xx-small );
|
2022-12-13 23:04:28 +00:00
|
|
|
}
|
2021-05-19 01:13:59 +00:00
|
|
|
|
|
|
|
.mw-notification {
|
2024-10-22 20:18:50 +00:00
|
|
|
padding: var( --space-sm ) var( --space-md );
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-1 );
|
2024-10-22 20:18:50 +00:00
|
|
|
border-color: var( --border-color-base );
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-medium );
|
2024-07-25 01:53:51 +00:00
|
|
|
box-shadow: var( --box-shadow-drop-xx-large );
|
2024-10-22 20:18:50 +00:00
|
|
|
transition-timing-function: var( --transition-timing-function-ease-in );
|
|
|
|
transition-duration: var( --transition-duration-base );
|
|
|
|
transition-property: transform, opacity;
|
|
|
|
|
|
|
|
&-visible {
|
|
|
|
transition-timing-function: var( --transition-timing-function-ease-out );
|
|
|
|
transition-duration: var( --transition-duration-medium );
|
|
|
|
}
|
2021-05-19 01:13:59 +00:00
|
|
|
|
|
|
|
&.mw-notification-type {
|
|
|
|
&-warn {
|
2024-10-22 20:18:50 +00:00
|
|
|
background-color: var( --background-color-warning-subtle );
|
|
|
|
border-color: inherit;
|
2021-05-19 01:13:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-error {
|
2024-10-22 20:18:50 +00:00
|
|
|
background-color: var( --background-color-destructive-subtle );
|
|
|
|
border-color: inherit;
|
2021-05-19 01:13:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-success {
|
2024-10-22 20:18:50 +00:00
|
|
|
background-color: var( --background-color-success-subtle );
|
|
|
|
border-color: inherit;
|
2021-05-19 01:13:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|