MediaWiki:Vector.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* Force | /* Force black color on the sidebar toggle (main menu) icon */ | ||
#vector-main-menu-dropdown-label | #vector-main-menu-dropdown-label svg { | ||
color: black !important; | color: black !important; | ||
fill: black !important; | fill: black !important; | ||
| Line 6: | Line 6: | ||
} | } | ||
/* Optional: | /* Optional: Fix icon button background to be transparent */ | ||
#vector-main-menu-dropdown-label | #vector-main-menu-dropdown-label { | ||
background-color: transparent !important; | background-color: transparent !important; | ||
border: none !important; | border: none !important; | ||
} | } | ||
/* Optional: On hover | /* Optional: On hover and focus, keep icon black */ | ||
#vector-main-menu-dropdown-label:hover | #vector-main-menu-dropdown-label:hover svg, | ||
#vector-main-menu-dropdown-label:focus | #vector-main-menu-dropdown-label:focus svg { | ||
fill: black !important; | fill: black !important; | ||
stroke: black !important; | stroke: black !important; | ||
} | } | ||
Revision as of 09:25, 28 June 2025
/* Force black color on the sidebar toggle (main menu) icon */
#vector-main-menu-dropdown-label svg {
color: black !important;
fill: black !important;
stroke: black !important;
}
/* Optional: Fix icon button background to be transparent */
#vector-main-menu-dropdown-label {
background-color: transparent !important;
border: none !important;
}
/* Optional: On hover and focus, keep icon black */
#vector-main-menu-dropdown-label:hover svg,
#vector-main-menu-dropdown-label:focus svg {
fill: black !important;
stroke: black !important;
}