Skip to content

Commit

Permalink
Fix: Icons - Windows10 Native Menu #541
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 committed Dec 20, 2022
1 parent 528ab89 commit 80ab22a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions css/leptonChrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -271,13 +271,13 @@
}
}
@media (-moz-os-version: windows-win7), (-moz-platform: windows-win7) {
menu[_moz-menuactive="true"],
menuitem[_moz-menuactive="true"] {
menupopup:not(#BMB_bookmarksPopup) menu[_moz-menuactive="true"],
menupopup:not(#BMB_bookmarksPopup) menuitem[_moz-menuactive="true"] {
background-color: color-mix(in srgb, -moz-menuhover 5%, transparent) !important;
border-color: color-mix(in srgb, -moz-menuhover 60%, transparent) !important;
}
menu[_moz-menuactive="true"][disabled="true"],
menuitem[_moz-menuactive="true"][disabled="true"] {
menupopup:not(#BMB_bookmarksPopup) menu[_moz-menuactive="true"][disabled="true"],
menupopup:not(#BMB_bookmarksPopup) menuitem[_moz-menuactive="true"][disabled="true"] {
background-color: color-mix(in srgb, currentColor 5%, transparent) !important;
border-color: color-mix(in srgb, currentColor 60%, transparent) !important;
}
Expand All @@ -293,13 +293,13 @@
}
}
@media (-moz-os-version: windows-win8), (-moz-platform: windows-win8) {
menu[_moz-menuactive="true"],
menuitem[_moz-menuactive="true"] {
menupopup:not(#BMB_bookmarksPopup) menu[_moz-menuactive="true"],
menupopup:not(#BMB_bookmarksPopup) 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="true"],
menuitem[_moz-menuactive="true"][disabled="true"] {
menupopup:not(#BMB_bookmarksPopup) menu[_moz-menuactive="true"][disabled="true"],
menupopup:not(#BMB_bookmarksPopup) 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;
}
Expand Down
4 changes: 2 additions & 2 deletions src/compatibility/_os.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@

//-- Mixin ---------------------------------------------------------------------
@mixin _os_menuEmulate($bgRate, $bdRate) {
menu[_moz-menuactive="true"],
menuitem[_moz-menuactive="true"] {
menupopup:not(#BMB_bookmarksPopup) menu[_moz-menuactive="true"],
menupopup:not(#BMB_bookmarksPopup) menuitem[_moz-menuactive="true"] {
background-color: color-mix(in srgb, -moz-menuhover $bgRate, transparent) !important;
border-color: color-mix(in srgb, -moz-menuhover $bdRate, transparent) !important;

Expand Down

0 comments on commit 80ab22a

Please sign in to comment.