From 6aa82bb98c006f2e1fe91bc8d53b17417f217992 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Sat, 7 Dec 2024 17:32:04 +0200 Subject: [PATCH] overlay fullscreen toolbars: tidy up some selectors --- chrome/overlay_fullscreen_toolbars.css | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/chrome/overlay_fullscreen_toolbars.css b/chrome/overlay_fullscreen_toolbars.css index 836edbb..2160835 100644 --- a/chrome/overlay_fullscreen_toolbars.css +++ b/chrome/overlay_fullscreen_toolbars.css @@ -25,15 +25,13 @@ See the above repository for updates as well as full license text. */ margin-top: 0 !important; transform: translateY(-100%); } - #navigator-toolbox[style=""], - #navigator-toolbox:hover, - #navigator-toolbox:focus-within, + #navigator-toolbox:is(:hover,:focus-within,[style=""]), #mainPopupSet:has(> [panelopen]:not(#ask-chat-shortcuts)) ~ #navigator-toolbox{ transition-delay: 0ms !important; transform: translateY(0); } #mainPopupSet:has(> [panelopen]:not(#ask-chat-shortcuts)) ~ toolbox #urlbar[popover], - #navigator-toolbox[style=""] #urlbar[popover], + #navigator-toolbox:is(:hover,:focus-within,[style=""]) #urlbar[popover], #urlbar-container > #urlbar[popover]:is([focused],[open]){ pointer-events: auto; opacity: 1;