From a81300e84b0bebf8fc89a5f232f5279064d2e341 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Wed, 21 Aug 2024 11:18:22 -0500 Subject: [PATCH] fixing firefox after update --- .../navbar_tabs_oneliner_tabs_on_left.css | 30 ++++++++++++++----- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/.config/firefox/chrome/chrome/navbar_tabs_oneliner_tabs_on_left.css b/.config/firefox/chrome/chrome/navbar_tabs_oneliner_tabs_on_left.css index 2ee6e25..f3a5fa0 100644 --- a/.config/firefox/chrome/chrome/navbar_tabs_oneliner_tabs_on_left.css +++ b/.config/firefox/chrome/chrome/navbar_tabs_oneliner_tabs_on_left.css @@ -1,5 +1,5 @@ /* Modify these to change relative widths or default height */ -#navigator-toolbox{ --uc-navigationbar-width: -2vw; --uc-toolbar-height: 28px; --window-drag-space-width: 0px} +#navigator-toolbox{ --uc-navigationbar-width: -2vw; --uc-toolbar-height: 20px; --window-drag-space-width: 0px;} /* Override for other densities */ :root[uidensity="compact"] > #navigator-toolbox{ --uc-toolbar-height: 22px;} :root[uidensity="touch"] > #navigator-toolbox{ --uc-toolbar-height: 40px; } @@ -7,7 +7,7 @@ /* prevent urlbar overflow on narrow windows */ /* Dependent on how many items are in navigation toolbar and tabs-/nav-bar ratio - ADJUST AS NEEDED */ @media screen and (max-width: 1600px){ - #urlbar-container{ min-width:unset !important } + #urlbar-container{ min-width:unset !important; padding-top: 0px !important;margin-top: 2px !important;max-height: 18px;} } /* /\* Transparent tabs *\/ */ @@ -56,6 +56,7 @@ align-items: center; margin-top: 0px; min-width: 100% !important; + max-height: 23px; } .tab-icon-image { @@ -94,15 +95,16 @@ the close button is positioned to the far right */ .tabbrowser-tab, .tab-background, .tab-stack { - margin-top: 0px !important; - max-height: 37px !important; + margin-top: 3px !important; + max-height: 28px !important; border: none !important; border-radius: 1px !important; } .tab-background { margin-top: 0px !important; - max-height: 20px !important; + max-height: 25px !important; + outline: none !important; } .tab-background[selected]:-moz-lwtheme { @@ -158,18 +160,31 @@ the close button is positioned to the far right */ padding-left: 10px !important; } +#urlbar-container { + padding-top: 0px !important; + margin-top: 2px !important; + max-height: 18px; +} + #urlbar-background{ border-radius: 50px !important; + max-height: 28px; +} + +#urlbar-input-container { + max-height: 28px; } #urlbar[open] > #urlbar-background{ animation-duration: 200ms !important; border-radius: 15px !important; + max-height: 2000px; + margin-top: -18px; } #urlbar[breakout][breakout-extend] { - margin-top: 0px !important; - top: 0px !important; + margin-top: -3px !important; + top: 10px !important; } #urlbar[breakout][breakout-extend] > #urlbar-input-container { @@ -177,3 +192,4 @@ the close button is positioned to the far right */ padding-block: calc(2px + (var(--uc-toolbar-height) - var(--urlbar-height)) / 2); padding-inline: 8px; } +