From f112f47c9c571c5d1d0dd312a2e8ec838db244cf Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Thu, 23 Jan 2025 01:04:48 +0900 Subject: [PATCH] Fix: Panel - Extensions menu gear icon hover style #1056 --- css/leptonChrome.css | 12 ++++++++---- css/leptonChromeESR.css | 6 ++++-- src/theme/system_default_theme/_win10.scss | 2 +- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/css/leptonChrome.css b/css/leptonChrome.css index 58fd82b6..aad422b3 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -722,7 +722,8 @@ #appMenu-zoomReduce-button2, #appMenu-zoomReset-button2, #appMenu-zoomEnlarge-button2, - #appMenu-fullscreen-button2 + #appMenu-fullscreen-button2, + .unified-extensions-item-menu-button ):is(:hover), :root[lwt-default-theme-in-dark-mode] toolbarbutton.subviewbutton:not( @@ -733,7 +734,8 @@ #appMenu-zoomReduce-button2, #appMenu-zoomReset-button2, #appMenu-zoomEnlarge-button2, - #appMenu-fullscreen-button2 + #appMenu-fullscreen-button2, + .unified-extensions-item-menu-button ):is(:hover) { background-color: var(--win-hover-bgcolor) !important; } @@ -14789,7 +14791,8 @@ #appMenu-zoomReduce-button2, #appMenu-zoomReset-button2, #appMenu-zoomEnlarge-button2, - #appMenu-fullscreen-button2 + #appMenu-fullscreen-button2, + .unified-extensions-item-menu-button ):is(:hover), :root[lwt-default-theme-in-dark-mode] toolbarbutton.subviewbutton:not( @@ -14800,7 +14803,8 @@ #appMenu-zoomReduce-button2, #appMenu-zoomReset-button2, #appMenu-zoomEnlarge-button2, - #appMenu-fullscreen-button2 + #appMenu-fullscreen-button2, + .unified-extensions-item-menu-button ):is(:hover) { background-color: var(--win-hover-bgcolor) !important; } diff --git a/css/leptonChromeESR.css b/css/leptonChromeESR.css index be4822b9..6fdafa9f 100644 --- a/css/leptonChromeESR.css +++ b/css/leptonChromeESR.css @@ -941,7 +941,8 @@ #appMenu-zoomReduce-button2, #appMenu-zoomReset-button2, #appMenu-zoomEnlarge-button2, - #appMenu-fullscreen-button2 + #appMenu-fullscreen-button2, + .unified-extensions-item-menu-button ):is(:hover), :root[lwt-default-theme-in-dark-mode] toolbarbutton.subviewbutton:not( @@ -952,7 +953,8 @@ #appMenu-zoomReduce-button2, #appMenu-zoomReset-button2, #appMenu-zoomEnlarge-button2, - #appMenu-fullscreen-button2 + #appMenu-fullscreen-button2, + .unified-extensions-item-menu-button ):is(:hover) { background-color: var(--win-hover-bgcolor) !important; } diff --git a/src/theme/system_default_theme/_win10.scss b/src/theme/system_default_theme/_win10.scss index a1f7c333..63e121c2 100644 --- a/src/theme/system_default_theme/_win10.scss +++ b/src/theme/system_default_theme/_win10.scss @@ -322,7 +322,7 @@ } $panelZoomButtons: "#appMenu-fxa-label2, #appMenu-zoomReduce-button2, #appMenu-zoomReset-button2, #appMenu-zoomEnlarge-button2, #appMenu-fullscreen-button2"; - #{selector.nest(system-default-theme(), "toolbarbutton.subviewbutton:not([disabled], [open], :active, #{$panelZoomButtons}):is(:hover)")} { + #{selector.nest(system-default-theme(), "toolbarbutton.subviewbutton:not([disabled], [open], :active, #{$panelZoomButtons}, .unified-extensions-item-menu-button):is(:hover)")} { background-color: var(--win-hover-bgcolor) !important; } #{selector.nest(system-default-theme(), "toolbarbutton.subviewbutton:not([disabled], #{$panelZoomButtons}):is([open], :hover:active)")} {