2
2
3
3
@media (-moz-bool-pref : "r3dfox.colors.enabled" ) {
4
4
: root {
5
- --arrowpanel-border-color : light-dark (rgb (255 , 60 , 60 ), rgb (155 , 60 , 60 )) !important ;
6
- --toolbar-field-focus-border-color : light-dark (rgb (255 , 40 , 40 ), rgb (155 , 60 , 60 )) !important ;
7
- --sidebar-border-color : light-dark (rgb (255 , 60 , 60 ), rgb (155 , 60 , 60 )) !important ;
5
+ --arrowpanel-border-color : light-dark (rgb (255 , 60 , 60 ), rgb (160 , 60 , 60 )) !important ;
6
+ --toolbar-field-focus-border-color : light-dark (rgb (255 , 40 , 40 ), rgb (160 , 60 , 60 )) !important ;
7
+ --sidebar-border-color : light-dark (rgb (255 , 60 , 60 ), rgb (160 , 60 , 60 )) !important ;
8
+ --lwt-toolbar-field-highlight : light-dark (rgb (255 , 40 , 40 ), rgb (160 , 60 , 60 )) !important ;
9
+ --newtab-primary-action-background : light-dark (rgb (255 , 20 , 20 ), rgb (255 , 80 , 80 )) !important ;
10
+ --newtab-primary-action-background-hover : light-dark (rgb (255 , 40 , 40 ), rgb (255 , 60 , 60 )) !important ;
11
+ --newtab-primary-action-background-active : light-dark (rgb (255 , 40 , 40 ), rgb (255 , 40 , 40 )) !important ;
8
12
--in-content-primary-button-background : light-dark (rgb (255 , 20 , 20 ), rgb (255 , 80 , 80 )) !important ;
9
13
--in-content-primary-button-background-hover : light-dark (rgb (255 , 40 , 40 ), rgb (255 , 60 , 60 )) !important ;
10
14
--in-content-primary-button-background-active : light-dark (rgb (255 , 40 , 40 ), rgb (255 , 40 , 40 )) !important ;
19
23
--button-primary-hover-bgcolor : light-dark (rgb (255 , 60 , 60 ), rgb (255 , 80 , 80 )) !important ;
20
24
--button-primary-active-bgcolor : light-dark (rgb (255 , 60 , 60 ), rgb (255 , 60 , 60 )) !important ;
21
25
--toolbarbutton-icon-fill-attention : light-dark (rgb (255 , 20 , 20 ), rgb (255 , 80 , 80 )) !important ;
26
+ --download-progress-fill-color : light-dark (rgb (255 , 40 , 40 ), rgb (255 , 80 , 80 )) !important ;
22
27
--lwt-tab-line-color : light-dark (rgb (255 , 40 , 40 ), rgb (255 , 80 , 80 )) !important ;
23
28
& [privatebrowsingmode = temporary ] {
24
- --tabpanel-background-color : linear-gradient (to bottom, # 480808 0% , # 240103 93% , # 200000 97% , # 1E0000 100% ) !important ;
29
+ --tabpanel-background-color : linear-gradient (to bottom, # 480808 0% , # 240103 93% , # 200000 97% , # 1E0000 100% ) !important ;
30
+ }
31
+
32
+ ::selection {
33
+ background : light-dark (rgb (255 , 80 , 80 ), rgb (160 , 60 , 60 )) !important ;
34
+ }
35
+
36
+ .bookmark-item : is (toolbarbutton )[dragover = "true" ][open = "true" ] {
37
+ background : light-dark (rgb (255 , 80 , 80 ), rgb (160 , 60 , 60 )) !important ;
38
+ }
39
+
40
+ .tab-drop-indicator {
41
+ background : url (chrome://browser/skin/tabbrowser/r3d-tab-drag-indicator.svg) no-repeat center !important ;
42
+ }
43
+
44
+ # PlacesToolbarDropIndicator {
45
+ list-style-image : url (chrome://browser/skin/r3d-toolbar-drag-indicator.svg) !important ;
25
46
}
26
47
}
27
48
124
145
.titlebar-spacer {
125
146
display : none !important ;
126
147
}
127
-
148
+
128
149
: root [sizemode = "normal" ] {
129
150
--drag-space : 16px ;
130
151
}
131
-
152
+
132
153
# TabsToolbar : is (.tabbrowser-tab , .toolbarbutton-1 , separator , # personal-bookmarks , # search-container , .accessibility-indicator , .private-browsing-indicator , # private-browsing-indicator-with-label ) {
133
154
margin-top : var (--drag-space , 0px ) !important ;
134
155
}
206
227
background-color : var (--toolbar-bgcolor ) !important ;
207
228
}
208
229
}
209
-
210
- # nav-bar {
211
- height : 27 px !important ;
212
- }
213
-
214
- # urlbar-container {
215
- min-height : 20 px !important ; height : 28 px !important ;
230
+
231
+ : root {
232
+ --tab-min- height: 32 px !important ;
233
+
234
+ # nav-bar {
235
+ height : 32 px !important ;
236
+ }
216
237
}
217
-
238
+
218
239
: root [uidensity = "compact" ] {
219
240
--tab-min-height : 24px !important ;
220
- }
221
-
222
- .tab-label-container {
223
- # tabbrowser-tabs : not ([secondarytext-unsupported ]) & {
224
- height : 2em !important ;
241
+
242
+ .tab-label-container {
243
+ # tabbrowser-tabs : not ([secondarytext-unsupported ]) & {
244
+ height : 2em !important ;
245
+ }
246
+ }
247
+
248
+ # nav-bar {
249
+ height : 27px !important ;
250
+ }
251
+
252
+ # urlbar-container {
253
+ min-height : 20px !important ; height : 28px !important ;
225
254
}
226
255
}
227
-
256
+
228
257
: root [uidensity = "touch" ] {
229
258
--tab-min-height : 40px !important ;
230
259
}
301
330
padding-inline : 10px !important ;
302
331
}
303
332
}
304
-
305
- .tab-drop-indicator {
306
- opacity : 0 !important ;
307
- }
308
-
333
+
309
334
# tabbrowser-tabs [movingtab ] .tabbrowser-tab : not ([visuallyselected ]) {
310
335
z-index : auto !important ;
311
336
}
341
366
}
342
367
}
343
368
344
- .tabbrowser-tab [visuallyselected ][usercontextid ] .tab-background {
345
- box-shadow : inset 0 -2px 0 var (--lwt-tab-line-color ) !important ;
346
- }
347
-
348
- .tabbrowser-tab [visuallyselected ]: not ([usercontextid ]) .tab-background {
349
- box-shadow : inset 0 2px 0 var (--lwt-tab-line-color ) !important ;
350
- }
351
-
352
- .tab-context-line {
353
- margin : 0px !important ;
369
+ /* adds the little colored strip on top of the selected tab */
370
+ .tab-background : is ([selected ], [multiselected ]) {
371
+ box-shadow : inset 0 2px 0 var (--lwt-tab-line-color ) !important ;
372
+ border : 0 !important ;
373
+ outline : none !important ;
374
+ }
375
+
376
+ /* special handling for mozilla containers */
377
+ tab [class *= "identity-color" ] {
378
+ background-image : linear-gradient (var (--identity-tab-color , white), var (--identity-tab-color , white));
379
+ background-size : 100% 2px ;
380
+ background-position : bottom center;
381
+ background-repeat : no-repeat;
382
+ border : 0 !important ;
383
+ outline : none !important ;
384
+ }
385
+
386
+ /* override the built in container colors */
387
+ tab [class *= "identity-color" ][selected = "true" ]> .tab-stack > .tab-background > .tab-context-line {
388
+ height : 0 !important ;
389
+ }
390
+
391
+ /* replace with our own container border */
392
+ tab [class *= "identity-color" ][selected = "true" ]> .tab-stack > .tab-background : is ([selected ], [multiselected ]) {
393
+ box-shadow : inset 0 2px var (--identity-tab-color , white) !important ;
394
+ background-image : linear-gradient (var (--identity-tab-color , white), var (--identity-tab-color , white));
395
+ background-size : 100% 2px ;
396
+ background-position : bottom center;
397
+ background-repeat : no-repeat;
398
+ border : 0 !important ;
399
+ outline : none !important ;
354
400
}
355
401
}
0 commit comments