2022-11-15 22:26:00 +00:00
|
|
|
/*
|
|
|
|
* Citizen
|
|
|
|
*
|
|
|
|
* Module: mediawiki.skinning.interface-message-box
|
|
|
|
* Version: REL1_39
|
|
|
|
*
|
2023-06-23 06:31:35 +00:00
|
|
|
* Date: 2023-06-22
|
|
|
|
*/
|
2022-11-15 22:26:00 +00:00
|
|
|
|
|
|
|
.mw-message-box {
|
|
|
|
padding: var( --space-sm ) var( --space-md );
|
2023-07-28 01:19:27 +00:00
|
|
|
overflow: hidden;
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2023-07-28 01:19:27 +00:00
|
|
|
word-wrap: break-word;
|
2022-11-15 22:26:00 +00:00
|
|
|
/* Standard property is `overflow-wrap` */
|
|
|
|
overflow-wrap: break-word;
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-2 );
|
2024-07-15 06:07:25 +00:00
|
|
|
border: var( --border-width-base ) solid var( --border-color-base );
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-base );
|
2022-11-15 22:26:00 +00:00
|
|
|
|
|
|
|
/* Ensure box inner spacing is not all over the place no matter what element is only child. */
|
|
|
|
> :only-child {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Formerly provided by mw-warning-with-logexcerpt, now available for all messageboxes.
|
|
|
|
.mw-logevent-loglines li {
|
|
|
|
font-size: 90%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-error {
|
2024-07-01 03:50:21 +00:00
|
|
|
background-color: var( --background-color-destructive-subtle );
|
2022-11-15 22:26:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-warning {
|
2024-07-01 03:50:21 +00:00
|
|
|
background-color: var( --background-color-warning-subtle );
|
2022-11-15 22:26:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-success {
|
2024-07-01 03:50:21 +00:00
|
|
|
background-color: var( --background-color-success-subtle );
|
2022-11-15 22:26:00 +00:00
|
|
|
}
|
|
|
|
}
|
2022-12-08 18:39:00 +00:00
|
|
|
|
|
|
|
#siteNotice {
|
|
|
|
.mw-message-box {
|
2023-06-23 06:31:35 +00:00
|
|
|
border: 0;
|
2022-12-08 18:39:00 +00:00
|
|
|
// Since it is edge to edge
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
}
|