mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-01-01 23:10:41 -08:00
Fix Menu Color - Wndows8
This commit is contained in:
parent
ab12b7ac8b
commit
adec4e0d6f
1 changed files with 22 additions and 1 deletions
|
|
@ -96,9 +96,13 @@
|
|||
/*= Windows 7, 8 - Menu Active Color =======================================*/
|
||||
@media (-moz-os-version: windows-win7), (-moz-os-version: windows-win8) {
|
||||
menupopup > menu,
|
||||
menupopup > menuitem {
|
||||
menupopup > menuitem,
|
||||
#context-navigation > menuitem {
|
||||
border: 1px solid transparent; /* Need reduce 2px at menu */
|
||||
}
|
||||
}
|
||||
|
||||
@media (-moz-os-version: windows-win7) {
|
||||
menu[_moz-menuactive="true"],
|
||||
menuitem[_moz-menuactive="true"] {
|
||||
background-color: color-mix(in srgb, -moz-menuhover 5%, transparent);
|
||||
|
|
@ -110,6 +114,23 @@
|
|||
border-color: transparent;
|
||||
}
|
||||
}
|
||||
@media (-moz-os-version: windows-win8) {
|
||||
menu[_moz-menuactive="true"],
|
||||
menuitem[_moz-menuactive="true"] {
|
||||
background-color: color-mix(in srgb, -moz-menuhover 17%, transparent) !important;
|
||||
border-color: color-mix(in srgb, -moz-menuhover 80%, transparent) !important;
|
||||
}
|
||||
menu[_moz-menuactive="true"][disabled="disabled"],
|
||||
menuitem[_moz-menuactive="true"][disabled="true"] {
|
||||
background-color: color-mix(in srgb, currentColor 17%, transparent) !important;
|
||||
border-color: color-mix(in srgb, currentColor 80%, transparent) !important;
|
||||
}
|
||||
|
||||
#main-menubar > menu[open="true"],
|
||||
#main-menubar > menu[_moz-menuactive="true"] {
|
||||
background-color: -moz-menuhover !important; /* Make to original */
|
||||
}
|
||||
}
|
||||
|
||||
/*= Linux- Global Menubar Active Color =====================================*/
|
||||
@media (-moz-gtk-csd-available) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue