MediaWiki:Common.css: Difference between revisions
different lock icon for cascadingprotection |
|||
Line 74: | Line 74: | ||
} | } | ||
/* System messages styled similarly to fmbox (from enwp) */ | |||
/* for .mw-warning-with-logexcerpt, behavior of this line differs between | |||
* the edit-protected notice and the special:Contribs for blocked users | |||
* The latter has specificity of 3 classes so we have to triple up here. | |||
*/ | |||
.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt, | |||
div.mw-lag-warn-high, | |||
div.mw-cascadeprotectedwarning, | |||
div#mw-protect-cascadeon { | |||
clear: both; | |||
margin: 0.2em 0; | |||
border: 1px solid #bb7070; | |||
background-color: var(--background-color-error-subtle, #ffdbdb); | |||
padding: 0.25em 0.9em; | |||
box-sizing: border-box; | |||
} | |||
/* default colors for partial block message */ | |||
/* gotta get over the hump introduced by the triple class above */ | |||
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt.mw-warning-with-logexcerpt { | |||
border-color: #fc3; | |||
background-color: var(--background-color-warning-subtle, #fef6e7); | |||
} | |||
/* Infoboxes */ | /* Infoboxes */ |