MediaWiki:Common.css: Difference between revisions
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 294: | Line 294: | ||
} | } | ||
/* ========================= | /* ========================= | ||
/* | /* ================================================= | ||
/* | HIDE ADMIN / TOOL SIDEBAR ITEMS FOR NON-ADMINS | ||
================================================= */ | |||
/* --------- | |||
Guest users (anonymous) | |||
--------- */ | |||
body.mw-user-anon #n-specialpages, | body.mw-user-anon #n-specialpages, | ||
body.mw-user-anon #t-upload, | |||
body.mw-user-anon #t-whatlinkshere, | body.mw-user-anon #t-whatlinkshere, | ||
body.mw-user-anon #t-recentchangeslinked, | body.mw-user-anon #t-recentchangeslinked, | ||
body.mw-user-anon #t-info { | body.mw-user-anon #t-info { | ||
display: none !important; | |||
} | |||
/* --------- | |||
Logged-in BUT normal users | |||
(not editor, not sysop) | |||
--------- */ | |||
body.mw-user-loggedin:not(.mw-group-sysop):not(.mw-group-editor) #n-specialpages, | |||
body.mw-user-loggedin:not(.mw-group-sysop):not(.mw-group-editor) #t-upload, | |||
body.mw-user-loggedin:not(.mw-group-sysop):not(.mw-group-editor) #t-whatlinkshere, | |||
body.mw-user-loggedin:not(.mw-group-sysop):not(.mw-group-editor) #t-recentchangeslinked, | |||
body.mw-user-loggedin:not(.mw-group-sysop):not(.mw-group-editor) #t-info { | |||
display: none !important; | display: none !important; | ||
} | } | ||