From 333640c300f4c233d5cbac81d279e91ff9edf93e Mon Sep 17 00:00:00 2001 From: PROxZIMA Date: Fri, 23 Dec 2022 14:07:00 +0530 Subject: [PATCH 1/2] Fix: FF108 TabsToolbar button margin --- css/popups.css | 11 ++++++++++- css/tabbar.css | 10 +++++++++- css/urlbar.css | 9 +++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) diff --git a/css/popups.css b/css/popups.css index 5f4e6d6..55a1086 100644 --- a/css/popups.css +++ b/css/popups.css @@ -375,7 +375,7 @@ panel[type="autocomplete-richlistbox"] > .autocomplete-richlistbox { panel[type="arrow"] { -moz-window-shadow: none !important; margin: 0 -14px -18px !important; - padding: 0 14px 18px !important; + padding: 1px 14px 18px !important; } panel[type="arrow"][side="top"], @@ -415,6 +415,11 @@ panelview .toolbarbutton-1, padding: 0 4px !important; } +.subviewbutton.unified-extensions-item-action { + min-height: var(--subview-height) !important; + padding: 0 !important; +} + panelview { background: var(--back-color1) !important; } @@ -436,6 +441,10 @@ menuitem.subviewbutton:not([disabled], :active)[_moz-menuactive], color: var(--text-color1) !important; } +toolbarbutton.subviewbutton.unified-extensions-item-action:not([disabled], [open], :active):is(:hover, :focus) { + background: transparent !important; +} + findbar toolbarbutton.tabbable:-moz-focusring, toolbar:not(#PersonalToolbar) .toolbarbutton-1:-moz-focusring > .toolbarbutton-icon, toolbar:not(#PersonalToolbar) .toolbarbutton-1:-moz-focusring > .toolbarbutton-text, diff --git a/css/tabbar.css b/css/tabbar.css index d6e52b7..70b75d2 100644 --- a/css/tabbar.css +++ b/css/tabbar.css @@ -29,11 +29,19 @@ display: none !important; } -#tabbrowser-tabs[haspinnedtabs] { +#tabbrowser-tabs { padding-inline-start: 0 !important; + margin-inline-start: 0 !important; + border-inline-start: 0 !important; overflow: hidden !important; } +/* +#tabbrowser-tabs[haspinnedtabs] { + padding-inline-start: 0 !important; + overflow: hidden !important; +} */ + #tabbrowser-arrowscrollbox[scrolledtostart="true"]::part(scrollbutton-up), #tabbrowser-arrowscrollbox[scrolledtoend="true"]::part(scrollbutton-down) { display: none !important; diff --git a/css/urlbar.css b/css/urlbar.css index 64a734e..e051b85 100644 --- a/css/urlbar.css +++ b/css/urlbar.css @@ -108,8 +108,13 @@ color: transparent !important; } +.urlbar-page-action:not([disabled]):hover { + background: transparent !important; +} + .urlbar-icon { margin-inline: 1px !important; + margin: auto !important; } /* Move hamburger menu to the left */ @@ -314,3 +319,7 @@ toolbarbutton.bookmark-item:hover { toolbarbutton.bookmark-item:not(.subviewbutton) { margin-inline: 1px !important; } + +#TabsToolbar .toolbarbutton-1 { + margin: 0 !important; +} From 3c4a257b8c8ec726c7683486d5008e10946401eb Mon Sep 17 00:00:00 2001 From: PROxZIMA Date: Fri, 23 Dec 2022 14:32:23 +0530 Subject: [PATCH 2/2] Fix: navigator-toolbox-background height --- css/responsiveNavbar.css | 2 +- script/floatingToolbox.uc.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/css/responsiveNavbar.css b/css/responsiveNavbar.css index 4952a42..3a21499 100644 --- a/css/responsiveNavbar.css +++ b/css/responsiveNavbar.css @@ -1,5 +1,5 @@ #navigator-toolbox { - position: fixed !important; + position: relative; line-height: 0; /* max-height: var(--tab-min-height) !important;*/ z-index: 2; diff --git a/script/floatingToolbox.uc.js b/script/floatingToolbox.uc.js index 94d1fc0..46c014c 100644 --- a/script/floatingToolbox.uc.js +++ b/script/floatingToolbox.uc.js @@ -21,6 +21,7 @@ var css = ` #main-window:not([customizing="true"]) #navigator-toolbox { display: grid; + position: fixed !important; transition: transform 85ms linear, opacity 85ms linear !important; transform-origin: top; transform: rotateX(75deg);