1
- /* Zen transparency */
2
- : root {
3
- --zen-main-browser-background : # 00000000 !important ;
4
- }
5
1
6
2
/* Hidden buttons */
7
3
/* #nav-bar-overflow-button, */
@@ -241,15 +237,6 @@ slot:nth-child(1) {
241
237
}
242
238
}
243
239
244
- /* transparent url bar */
245
- # urlbar [open ][zen-floating-urlbar = "true" ] {
246
- # urlbar-background {
247
- background-color : light-dark (
248
- color-mix (in srgb, # fdfdfd 75% , transparent),
249
- color-mix (in srgb, # 0e0e0e 75% , transparent)
250
- ) !important ;
251
- }
252
- }
253
240
254
241
/* Find */
255
242
findbar {
@@ -272,12 +259,6 @@ findbar {
272
259
}
273
260
274
261
275
- /* Remove new tab background color */
276
- .browserStack {
277
- browser {
278
- background-color : transparent !important ;
279
- }
280
- }
281
262
282
263
/* empty tab image */
283
264
# browser : has ([zen-empty-tab = "true" ][selected = "true" ]) .browserStack {
@@ -291,11 +272,8 @@ findbar {
291
272
background-repeat : no-repeat !important ;
292
273
background-size : 50px !important ;
293
274
filter : saturate (0 );
294
-
295
- browser {
296
- background-color : transparent !important ;
297
- opacity : 0 !important ;
298
- }
275
+ /* background-size: cover !important; */
276
+
299
277
}
300
278
301
279
/* hide compact sidebar when no tabs open */
@@ -418,3 +396,37 @@ html:not([lwt-sidebar="dark"]) {
418
396
margin-top : 15px !important
419
397
}
420
398
}
399
+
400
+
401
+ /* transparent url bar */
402
+ # urlbar [open ][zen-floating-urlbar = "true" ] {
403
+ # urlbar-background {
404
+ background-color : light-dark (
405
+ color-mix (in srgb, # fdfdfd 50% , transparent),
406
+ color-mix (in srgb, # 0e0e0e 50% , transparent)
407
+ ) !important ;
408
+ }
409
+ }
410
+
411
+ /* compact sidebar usable blur */
412
+ body : has ([zen-compact-mode = "true" ]) # titlebar {
413
+ background : # 0009 !important ;
414
+ backdrop-filter : blur (30px ) !important ;
415
+ }
416
+
417
+ # browser ::after {
418
+ opacity : 0 !important ;
419
+ left : -300px !important ;
420
+ width : 198px !important ;
421
+ border-radius : 1em !important ;
422
+ height : (100vh - 5px ) !important ;
423
+ margin : 5px !important ;
424
+ top : 0 !important ;
425
+ background-color : var (--toolbar-bgcolor ) !important ;
426
+ transition : left 0.2s cubic-bezier (0.175 , 0.585 , 0.32 , 1.1 ) !important ;
427
+ }
428
+
429
+ body : has ([zen-compact-mode = "true" ] [zen-user-show = "" ], [zen-compact-mode = "true" ] [zen-has-hover = "true" ]) # browser ::after {
430
+ opacity : 1 !important ;
431
+ left : -1px !important ;
432
+ }
0 commit comments