MediaWiki:Common.css: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 225: | Line 225: | ||
/* ============================================================ | /* ============================================================ | ||
Hide all page action tabs ONLY for users | Hide all page action tabs ONLY for anonymous users | ||
Works for: Vector, Vector-2022, MinervaNeue | Works for: Vector, Vector-2022, MinervaNeue | ||
============================================================ */ | ============================================================ */ | ||
/* Vector legacy + Vector-2022: hide entire views portlet */ | /* Vector legacy + Vector-2022: hide entire views portlet */ | ||
body | body.mw-anonuser #p-views, | ||
body | body.mw-anonuser #p-views > ul, | ||
body | body.mw-anonuser #p-views > ul > li { | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* Vector legacy: hide left/right navigation action areas */ | /* Vector legacy: hide left/right navigation action areas */ | ||
body | body.mw-anonuser #left-navigation, | ||
body | body.mw-anonuser #right-navigation { | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* Vector-2022: hide new action containers */ | /* Vector-2022: hide new action containers */ | ||
body | body.mw-anonuser .vector-actions, | ||
body | body.mw-anonuser .vector-actions > li, | ||
body | body.mw-anonuser .vector-page-tools, | ||
body | body.mw-anonuser .vector-page-tools .vector-menu-content, | ||
body | body.mw-anonuser .vector-page-tools .vector-menu-content > li { | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* Minerva | /* Minerva */ | ||
body | body.mw-anonuser .minerva-page-actions, | ||
body | body.mw-anonuser .minerva-page-actions li, | ||
body | body.mw-anonuser .page-actions-menu, | ||
body | body.mw-anonuser .page-actions-menu li { | ||
display: none !important; | display: none !important; | ||
} | } | ||