MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 535: | Line 535: | ||
.vector-header-end > *:not(#p-search) { color: rgba(255,255,255,0.9) !important; } | .vector-header-end > *:not(#p-search) { color: rgba(255,255,255,0.9) !important; } | ||
.vector-user-links a { color: rgba(255,255,255,0.9) !important; } | .vector-user-links a { color: rgba(255,255,255,0.9) !important; } | ||
/* ── Hide appearance sidebar button, nav toggle, watchlist icon ─ */ | |||
/* Appearance (theme switcher) button in sidebar and in header */ | |||
#vector-page-tools-pinned-container .vector-appearance-settings, | |||
.vector-feature-appearance-clientpref--0 #vector-appearance, | |||
#p-appearance, .vector-appearance-toggle, | |||
#vector-appearance-pinned-container, | |||
#vector-appearance-unpinned-container, | |||
.mw-portlet-appearance, | |||
[data-mw-portlet="appearance"], | |||
.vector-page-tools-pinned-container .cdx-button[aria-controls="vector-appearance"], | |||
/* The "Appearance" entry in the page tools sidebar */ | |||
#p-cactions .mw-list-item a[href*="action=submitskin"], | |||
#vector-page-tools .vector-pinnable-element [data-mw-portlet="appearance"], | |||
/* Watchlist star/icon in header */ | |||
#pt-watchlist, #pt-watchlist-kbd, | |||
.vector-user-links #pt-watchlist, | |||
/* Nav toggle (hamburger) for anonymous users */ | |||
.mw-header .vector-main-menu-action, | |||
.vector-main-menu-action { display: none !important; } | |||
/* ── User dropdown — fix white text inside the menu ───────────── */ | |||
/* The dropdown card itself has a white/light background so links | |||
must be dark, not the header-inherited white. */ | |||
.vector-user-menu .vector-menu-content, | |||
.vector-user-menu .vector-menu-content a, | |||
.vector-user-menu .vector-menu-content .mw-list-item a, | |||
#pt-userpage, #pt-userpage a, | |||
.mw-portlet-personal .vector-menu-content a, | |||
/* OOUI dropdown items */ | |||
.oo-ui-menuSelectWidget a, | |||
.oo-ui-menuOptionWidget, | |||
/* Codex menu */ | |||
.cdx-menu__listbox .cdx-menu-item__content, | |||
.cdx-menu__listbox a { | |||
color: #202122 !important; | |||
} | |||
.vector-user-menu .vector-menu-content a:hover, | |||
.mw-portlet-personal .vector-menu-content a:hover { | |||
color: #f57c00 !important; | |||
background: #fdf3ed !important; | |||
} | |||
#p-search { margin-left: 8px; } | #p-search { margin-left: 8px; } | ||
| Line 648: | Line 690: | ||
.toc { max-width: 100%; } | .toc { max-width: 100%; } | ||
.gr-gadya { width: 90%; } | .gr-gadya { width: 90%; } | ||
} | |||
/* ── Hide: Appearance toggle, Watchlist, page-tools sidebar pin ─ */ | |||
/* Vector 2022 header right-side appearance button */ | |||
.vector-feature-appearance-enabled #vector-appearance-pinned-container, | |||
.vector-feature-appearance-enabled #vector-appearance-unpinned-container, | |||
#vector-appearance, | |||
/* The appearance icon button in the toolbar */ | |||
.mw-portlet-appearance, #p-appearance, | |||
/* Watchlist icon (star with lines) in user links */ | |||
#pt-watchlist, #pt-watchlist-kbd, | |||
li#pt-watchlist, | |||
/* Page tools "pin" sidebar button */ | |||
.vector-page-tools-pinned-container .vector-pinnable-header-toggle-button, | |||
/* The floating appearance panel */ | |||
.vector-appearance-pinnable-element { | |||
display: none !important; | |||
} | } | ||