MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 24: | Line 24: | ||
============================================================ */ | ============================================================ */ | ||
html.skin-theme-clientpref-night .pfMandatoryField | html.skin-theme-clientpref-night .pfMandatoryField .cdx-text-input, | ||
html.skin-theme-clientpref-night .pfMandatoryField .cdx-text-input--status-error { | |||
background-color: var(--background-color-base) !important; | |||
color: var(--color-base) !important; | |||
border: 2px solid var(--color-error) !important; | |||
--color- | |||
border: 2px solid var(--color-error); | |||
} | } | ||
Revision as of 16:37, 16 February 2026
/* CSS placed here will be applied to all skins */
/* ============================================================
ANONYMOUS USER INTERFACE CLEANUP
============================================================ */
/* Hide the top toolbar for anonymous users in Main namespace */
.ns-0 .vector-page-toolbar {
display: none !important;
}
/* Hide the right column tools for anonymous users */
.ns-0 .vector-column-end {
display: none !important;
}
/* Full-width layout for anonymous users */
.ns-0 .mw-content-container {
max-width: none !important;
}
/* ============================================================
Page Forms mandatory field fix – Vector 2022 dark mode
============================================================ */
html.skin-theme-clientpref-night .pfMandatoryField .cdx-text-input,
html.skin-theme-clientpref-night .pfMandatoryField .cdx-text-input--status-error {
background-color: var(--background-color-base) !important;
color: var(--color-base) !important;
border: 2px solid var(--color-error) !important;
}