Jump to content

MediaWiki:Vector.css: Difference between revisions

From Transight Wiki
No edit summary
No edit summary
Line 1: Line 1:
/* Force the hamburger menu icon to appear in black */
/* Force visible black icon for main menu button */
.vector-main-menu-landmark .vector-icon {
#vector-main-menu-dropdown-label .cdx-button__icon {
     color: black !important;
     color: black !important;
     fill: black !important;
     fill: black !important;
Line 6: Line 6:
}
}


/* Button hover/focus state also in black */
/* Optional: Remove purple/burgundy hover background */
.vector-main-menu-landmark .vector-icon:hover,
#vector-main-menu-dropdown-label.cdx-button {
.vector-main-menu-landmark .vector-icon:focus {
    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;
}
/* Optional: Remove burgundy background on hover */
.vector-main-menu-landmark button {
    background: transparent !important;
    border: none !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;
}