Bug 853431 - Fix menulist active (hover) text color on Windows 7 and up. r=fryn ui-r=fryn

This commit is contained in:
Richard Marti 2013-03-25 21:28:13 +01:00
parent acb9da26e5
commit 023bb2fd40
2 changed files with 17 additions and 7 deletions

View File

@ -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"] {

View File

@ -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;
}
}