2024-02-27 18:53:36 +00:00
|
|
|
/*
|
2021-08-11 20:17:43 +00:00
|
|
|
* Citizen
|
|
|
|
*
|
|
|
|
* SkinStyles for Extension:Echo
|
|
|
|
* Module: ext.echo.styles.alert
|
2024-02-27 18:53:36 +00:00
|
|
|
* Version: REL1_39
|
2021-08-11 20:17:43 +00:00
|
|
|
*
|
2024-02-27 18:53:36 +00:00
|
|
|
* Date: 2024-02-27
|
2021-08-11 20:17:43 +00:00
|
|
|
*/
|
|
|
|
|
2024-02-27 18:53:36 +00:00
|
|
|
@import '../../../resources/variables.less';
|
|
|
|
|
2024-10-22 20:38:52 +00:00
|
|
|
/* Sync styles with mw.notifications */
|
2021-08-11 20:17:43 +00:00
|
|
|
.mw-echo-alert {
|
2024-02-27 18:53:36 +00:00
|
|
|
position: fixed;
|
2024-10-22 20:38:52 +00:00
|
|
|
top: 0;
|
2024-02-27 18:53:36 +00:00
|
|
|
right: 0;
|
2024-04-16 05:28:45 +00:00
|
|
|
z-index: @z-index-overlay;
|
2024-10-22 20:38:52 +00:00
|
|
|
max-width: 80vw;
|
2024-02-27 18:53:36 +00:00
|
|
|
padding: 0;
|
2024-04-16 05:28:45 +00:00
|
|
|
margin: var( --space-xs );
|
2024-02-27 18:53:36 +00:00
|
|
|
font-size: var( --font-size-small );
|
2024-10-23 21:33:46 +00:00
|
|
|
line-height: var( --line-height-xx-small );
|
2024-02-27 18:53:36 +00:00
|
|
|
color: var( --color-base );
|
2024-10-22 20:38:52 +00:00
|
|
|
background-color: var( --background-color-warning-subtle );
|
2024-07-15 06:07:25 +00:00
|
|
|
border: var( --border-width-base ) solid var( --border-color-base );
|
2024-10-22 20:38:52 +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-02-27 18:53:36 +00:00
|
|
|
|
|
|
|
// Needed additional specificity
|
2024-10-22 22:15:45 +00:00
|
|
|
.citizen-menu &.mw-list-item > a {
|
2024-10-22 20:38:52 +00:00
|
|
|
padding: var( --space-sm ) var( --space-md );
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-large );
|
2024-02-27 18:53:36 +00:00
|
|
|
}
|
2021-08-11 20:17:43 +00:00
|
|
|
}
|