MediaWiki:Vector.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* Force | /* Force visible black icon for main menu button */ | ||
#vector-main-menu-dropdown-label .cdx-button__icon { | |||
color: black !important; | color: black !important; | ||
fill: black !important; | fill: black !important; | ||
| Line 6: | Line 6: | ||
} | } | ||
/* | /* Optional: Remove purple/burgundy hover background */ | ||
#vector-main-menu-dropdown-label.cdx-button { | |||
background-color: transparent !important; | |||
border: none !important; | |||
} | |||
/* Optional: On hover/focus, keep icon black */ | |||
#vector-main-menu-dropdown-label:hover .cdx-button__icon, | |||
#vector-main-menu-dropdown-label:focus .cdx-button__icon { | |||
color: black !important; | color: black !important; | ||
fill: black !important; | fill: black !important; | ||
stroke: black !important; | stroke: black !important; | ||
} | } | ||
Revision as of 09:22, 28 June 2025
/* Force visible black icon for main menu button */
#vector-main-menu-dropdown-label .cdx-button__icon {
color: black !important;
fill: black !important;
stroke: black !important;
}
/* Optional: Remove purple/burgundy hover background */
#vector-main-menu-dropdown-label.cdx-button {
background-color: transparent !important;
border: none !important;
}
/* Optional: On hover/focus, keep icon black */
#vector-main-menu-dropdown-label:hover .cdx-button__icon,
#vector-main-menu-dropdown-label:focus .cdx-button__icon {
color: black !important;
fill: black !important;
stroke: black !important;
}