mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 10:33:33 +00:00
Bug 853431 - Fix menulist active (hover) text color on Windows 7 and up. r=fryn ui-r=fryn
This commit is contained in:
parent
acb9da26e5
commit
023bb2fd40
@ -165,11 +165,7 @@ menupopup > menuitem {
|
||||
}
|
||||
|
||||
menu[_moz-menuactive="true"],
|
||||
.menulist-menupopup > menu[_moz-menuactive="true"],
|
||||
menulist > menupopup > menu[_moz-menuactive="true"],
|
||||
menuitem[_moz-menuactive="true"],
|
||||
.menulist-menupopup > menuitem[_moz-menuactive="true"],
|
||||
menulist > menupopup > menuitem[_moz-menuactive="true"],
|
||||
.splitmenu-menuitem[_moz-menuactive="true"] {
|
||||
background-color: -moz-menuhover;
|
||||
color: -moz-menuhovertext;
|
||||
@ -183,12 +179,21 @@ menulist > menupopup > menuitem,
|
||||
menulist > menupopup > menu {
|
||||
-moz-appearance: none;
|
||||
border: 1px solid transparent;
|
||||
padding: 1px 5px;
|
||||
-moz-padding-start: 5px;
|
||||
-moz-padding-end: 5px;
|
||||
max-width: none;
|
||||
font: message-box;
|
||||
color: -moz-FieldText;
|
||||
}
|
||||
|
||||
.menulist-menupopup > menuitem[_moz-menuactive="true"],
|
||||
menulist > menupopup > menuitem[_moz-menuactive="true"],
|
||||
.menulist-menupopup > menu[_moz-menuactive="true"],
|
||||
menulist > menupopup > menu[_moz-menuactive="true"] {
|
||||
background-color: highlight;
|
||||
color: highlighttext;
|
||||
}
|
||||
|
||||
.menulist-menupopup > menuitem > .menu-iconic-left,
|
||||
menulist > menupopup > menuitem > .menu-iconic-left,
|
||||
.menulist-menupopup > menu > .menu-iconic-left,
|
||||
@ -207,8 +212,6 @@ menulist > menupopup > menu > label {
|
||||
|
||||
menulist:-moz-focusring > menupopup > menuitem[_moz-menuactive="true"] {
|
||||
border: 1px dotted #F5DB95;
|
||||
background-color: highlight;
|
||||
color: highlighttext;
|
||||
}
|
||||
|
||||
menulist > menupopup > menuitem[_moz-menuactive="true"][disabled="true"] {
|
||||
|
@ -8,3 +8,10 @@
|
||||
menulist:-moz-focusring:not([open="true"]):not(.menulist-compact) > .menulist-label-box {
|
||||
border: 1px dotted ThreeDDarkShadow;
|
||||
}
|
||||
|
||||
@media (-moz-windows-default-theme) {
|
||||
.menulist-label-box {
|
||||
background-color: transparent !important;
|
||||
color: inherit !important;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user