@@ -62,6 +62,10 @@ scrollbar {
6262 REMOVE TAB BAR - START
6363*/
6464
65+ # navigator-toolbox {
66+ position : relative !important ;
67+ }
68+
6569: root [sizemode = "maximized" ][tabsintitlebar = "true" ] # navigator-toolbox {
6670 margin-top : 8px ;
6771}
@@ -79,27 +83,27 @@ scrollbar {
7983
8084/* Workaround v2 (Since #nav-bar is bad at laying out children (it doesnt respect ::after's width on small window widths), just make it get out of the way)*/
8185: root [tabsintitlebar = "true" ] # nav-bar {
82- margin-right : max (150px , calc (100vw / 6.6 )) !important ;
83-
84- background : none !important ;
85- }
86- /* Then move the background to the parent to preserve proper look */
87- : root [tabsintitlebar = "true" ] # navigator-toolbox {
88- background-color : var (--toolbar-bgcolor );
89- background-image : var (--toolbar-bgimage );
90- background-clip : padding-box;
86+ padding-right : max (150px , calc (100vw / 6.6 )) !important ;
9187}
9288
9389# titlebar {
94- padding : 0 !important ;
9590 -moz-appearance : none !important ;
96- position : fixed !important ;
97- left : 0 !important ;
98- right : 0 !important ;
99- height : 40px !important ;
91+ position : absolute !important ;
92+ inset : 2px ;
10093 display : flex !important ;
10194 align-items : center;
10295 justify-content : end;
96+ padding : 0 !important ;
97+
98+ pointer-events : none;
99+ }
100+
101+ # titlebar > * {
102+ pointer-events : auto;
103+ }
104+
105+ .titlebar-button {
106+ padding : 8px 13px !important ;
103107}
104108
105109
@@ -121,29 +125,11 @@ scrollbar {
121125
122126# back-button ,
123127# forward-button {
124- padding-left : 0 !important ;
125- padding-right : 0 !important ;
126128 padding : 0 !important ;
127129}
128- # back-button > .toolbarbutton-icon ,
129- # forward-button > .toolbarbutton-icon {
130- padding : 6px !important ;
131- border : none !important ;
132- box-shadow : none !important ;
133- }
134130# back-button > .toolbarbutton-icon {
135131 list-style-image : url ("img/back.svg" ) !important ;
136132}
137- : root : not ([uidensity = "compact" ]) # nav-bar # back-button > .toolbarbutton-icon {
138- --backbutton-background : transparent;
139- background-origin : unset !important ;
140- background-clip : unset !important ;
141- border : unset !important ;
142- transition : unset !important ;
143- width : calc (2 * var (--toolbarbutton-inner-padding ) + 16px ) !important ;
144- padding : var (--toolbarbutton-inner-padding ) !important ;
145- border-radius : var (--toolbarbutton-border-radius ) !important ;
146- }
147133# forward-button > .toolbarbutton-icon {
148134 list-style-image : url ("img/forward.svg" ) !important ;
149135}
@@ -153,13 +139,16 @@ scrollbar {
153139# history-panelmenu {
154140 list-style-image : url ("img/history.svg" ) !important ;
155141}
142+ # downloads-indicator-icon {
143+ list-style-image : url ("img/downloads.svg" ) !important ;
144+ }
156145# bookmarks-menu-button > .toolbarbutton-icon {
157146 list-style-image : url ("img/bookmarks.svg" ) !important ;
158147}
159148# nav-bar-overflow-button > .toolbarbutton-icon {
160149 list-style-image : url ("img/overflow.svg" ) !important ;
161150}
162- # PanelUI-menu-button > . toolbarbutton-icon {
151+ # PanelUI-menu-button {
163152 list-style-image : url ("img/menu.svg" ) !important ;
164153}
165154
@@ -174,7 +163,7 @@ scrollbar {
174163# urlbar ,
175164# searchbar {
176165 --urlbar-height : var (--urlbar-height , 30px ); /* The browser should take care of this, but just incase, this is the default */
177- --urlbar-toolbar-height : 36 px !important ;
166+ --urlbar-toolbar-height : var ( --urlbar-container-height ) !important ;
178167}
179168
180169# searchbar {
@@ -212,38 +201,58 @@ scrollbar {
212201 border : transparent !important ;
213202}
214203
215- # urlbar-input-container , # searchbar {
216- padding-right : 5px !important ;
217- padding-left : 5px !important ;
204+ # urlbar-input-container ,
205+ # searchbar {
206+ --padding-inline : 14px ;
207+ padding-inline : var (--padding-inline ) !important ;
218208}
219209
220210# urlbar [breakout ][breakout-extend ] > # urlbar-input-container {
221- padding-right : 12px !important ;
222- padding-left : 12px !important ;
211+ padding-inline : calc (var (--padding-inline ) + 5px ) !important ;
223212}
224213
225- # identity-box [pageproxystate = "invalid" ] > # identity-icon {
226- box-sizing : border-box !important ;
227- padding : 2px !important ;
214+ : root {
215+ --urlbar-icon-size : 14px !important ;
216+ --urlbar-icon-padding : 4px !important ;
217+ --identity-box-margin-inline : 8px !important ;
218+ }
219+
220+ .sharing-icon ,
221+ # identity-icon ,
222+ # permissions-granted-icon ,
223+ # tracking-protection-icon ,
224+ .notification-anchor-icon ,
225+ # blocked-permissions-container > .blocked-permission-icon ,
226+ # tracking-protection-icon-box ,
227+ .searchbar-search-icon {
228+ width : var (--urlbar-icon-size ) !important ;
229+ height : unset !important ;
230+ aspect-ratio : 1 ;
228231}
229232
230- .searchbar-search-icon {
231- padding : 2px ;
233+ .searchbar-search-button [addengines = "true" ] > .searchbar-search-icon-overlay {
234+ width : 9px !important ;
235+ height : unset !important ;
236+ aspect-ratio : 1 ;
237+ margin : -4px 0 0 -13px !important ;
232238}
233239
234- # connection-icon {
235- padding : 2px !important ;
240+ .urlbar-icon {
241+ width : calc (14px + 2 * var (--urlbar-icon-padding )) !important ;
242+ height : 100% !important ;
236243}
237244
238- # urlbar-go-button ,
239- . search-go-button {
240- padding : 7 px !important ;
245+ . urlbarView-row-inner {
246+ padding-inline-start : calc ( var ( --urlbar-icon-size ) + 2 * var ( --urlbar-icon-padding ) + var ( --identity-box-margin-inline ) - 15 px ) !important ;
247+ border-radius : 8 px !important ;
241248}
242249
243- # urlbar [pageproxystate = "valid" ] > # identity-box .verifiedDomain > # connection-icon ,
244- # urlbar [pageproxystate = "valid" ] > # identity-box .verifiedIdentity > # connection-icon ,
245- # urlbar [pageproxystate = "valid" ] > # identity-box .mixedActiveBlocked > # connection-icon {
246- fill : hsl (155 , 50% , 45% ) !important ;
250+ .searchbar-search-button {
251+ margin-inline-end : var (--identity-box-margin-inline );
252+ }
253+
254+ .searchbar-search-icon {
255+ margin : 0 !important ;
247256}
248257
249258# PopupSearchAutoComplete {
@@ -269,7 +278,6 @@ scrollbar {
269278 padding-bottom : 8px !important ;
270279}
271280
272-
273281.bookmark-item > .menu-text ,
274282.bookmark-item > .menu-iconic-text {
275283 margin-inline-start : 10px !important ;
0 commit comments