diff --git a/apps/firefox/profiles/web-app.nix b/apps/firefox/profiles/web-app.nix index 82ff004..cb0f52e 100644 --- a/apps/firefox/profiles/web-app.nix +++ b/apps/firefox/profiles/web-app.nix @@ -77,19 +77,19 @@ :root{ /* Height of Tabs + Nav Bar approx 80px */ - --uc-navbar-transform: -85px; + --uc-navbar-transform: -85px; --uc-autohide-toolbar-delay: 0.1s; --uc-autohide-toolbar-duration: 200ms; } :root[uidensity="compact"]{ --uc-navbar-transform: -70px } #navigator-toolbox > div{ display: contents; } - + /* Apply transform to TabsToolbar AND Nav-bar */ :root[sessionrestored] :where(#nav-bar,#PersonalToolbar,#TabsToolbar,#tab-notification-deck,.global-notificationbox,#notifications-toolbar){ transform: translateY(var(--uc-navbar-transform)) } - + :root:is([customizing],[chromehidden*="toolbar"]) :where(#nav-bar,#PersonalToolbar,#TabsToolbar,#tab-notification-deck,.global-notificationbox,#notifications-toolbar){ transform: none !important; opacity: 1 !important; @@ -156,7 +156,7 @@ z-index: 10000; pointer-events: auto; } - + /* When hitbox is hovered, reveal bars */ #navigator-toolbox:hover :where(#nav-bar,#PersonalToolbar,#TabsToolbar) { transform: translateY(0) !important; @@ -173,4 +173,5 @@ #titlebar { appearance: none !important; } #PersonalToolbar { visibility: collapse !important; } ''; -} \ No newline at end of file +} +