MediaWiki:Group-user.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 4:
/* RESTORE MENUS FOR LOGGED-IN USERS */
/* This overrides the "Hide" rules in Common.css */
/* NB: MediaWiki-namespace page — admin manual paste, like */
/* Common.css. Git (this file) is canonical. */
/* ========================================================== */
 
Line 15 ⟶ 17:
 
/* 2. Restore Individual User Buttons */
#pt-userpage,
#pt-mytalk,
#pt-preferences,
#pt-watchlist,
#pt-mycontris,
#pt-logout {
display: block !important;
}
 
/* the catlinks bar stays visible for editors, but not when it's an
EMPTY box (all of the page's categories are hidden ones) */
#catlinks.catlinks-allhidden { display: none !important; }
/* 3. Restore Tools (Sidebar & Dropdowns) */
#vector-page-tools,
Line 35 ⟶ 40:
 
/* 4. Restore Tabs (History, Talk, Edit) */
#ca-viewsource,
#ca-history,
#ca-talk {
display: block !important;
Line 43 ⟶ 48:
/* 5. Restore Categories Bar */
/* Essential if you want to manage categories */
#catlinks,
.catlinks,
.mw-normal-catlinks {
Line 55 ⟶ 60:
.page-actions-menu__list {
/* Use FLEX because this menu needs horizontal alignment */
display: flex !important;
}
 
Line 70 ⟶ 75:
/* Restore SiteSub ("From...") and Indicators */
.vector-body-before-content {
display: block !important;
}
 
/* Restore the RIGHT RAIL (.vector-column-end): Common.css section 12
hides it for everyone, but PINNED page tools (incl. the Delete
action) render inside it — without this rule the Tools menu has no
home on the page even for admins (the toolbar itself shows, but a
pinned Tools panel lives in this column). */
.vector-column-end {
display: block !important;
}
Line 79 ⟶ 93:
.vector-menu-content {
/* Use flex to maintain correct horizontal alignment of icons */
display: flex !important;
}