@@ -245,7 +245,8 @@ body:not(
245
245
/* Extension button scale for macOS */
246
246
# unified-extensions-button {
247
247
image {
248
- scale : 1.45 ;
248
+ scale : 1.3 ;
249
+ border-radius : 0.75em !important ;
249
250
}
250
251
}
251
252
@@ -449,7 +450,7 @@ tab-group > .tab-group-label-container > label.tab-group-label[aria-expanded="tr
449
450
# context_bookmarkTab ,
450
451
# context_moveTabOptions ,
451
452
# context_sendTabToDevice ,
452
- # context_reopenInContainer ,
453
+ /* #context_reopenInContainer, */
453
454
# context_selectAllTabs ,
454
455
# context_closeDuplicateTabs ,
455
456
# context_closeTabOptions ,
@@ -487,8 +488,35 @@ tab-group > .tab-group-label-container > label.tab-group-label[aria-expanded="tr
487
488
# context-sendimage {
488
489
display : none !important ;
489
490
}
491
+
492
+ --menuitem-padding : 3px !important
493
+ }
494
+ [hasbeenopened = "true" ]{
495
+ menuitem , menu {
496
+ .menu-text {
497
+ font-size : 0.93em !important ;
498
+ padding : 2px 5px !important ;
499
+ opacity : 1 !important ;
500
+ transition : all 0.2s ease-in-out !important ;
501
+
502
+ }
503
+
504
+ & : hover > .menu-text {
505
+ padding-left : 8px !important ;
506
+ padding-right : 2px !important ;
507
+ }
508
+ }
509
+
510
+ & : has (menu [open = "true" ]){
511
+ & > menuitem .menu-text , menu : not ([open = "true" ]) > .menu-text {
512
+ opacity : 0.3 !important ;
513
+ }
514
+
515
+ }
490
516
}
491
517
518
+
519
+
492
520
/*******************************************************************************
493
521
* CTRL+TAB SWITCHER STYLING
494
522
******************************************************************************/
@@ -700,6 +728,59 @@ body:has(
700
728
701
729
/* Permanently transparent compact sidebar - fix for zen bug */
702
730
# zen-main-app-wrapper [zen-compact-mode = "true" ] # navigator-toolbox {
731
+ /* opacity: 0 !important; */
732
+ }
733
+
734
+ /* auto hide toolbar buttons */
735
+ # zen-sidebar-top-buttons {
736
+ transition : all 0.3s ease-in-out !important ;
737
+ margin-top : 0 !important ;
738
+ padding-top : 5px !important ;
739
+ }
740
+
741
+ # navigator-toolbox : not (: has (# nav-bar : hover )): not (: has (# urlbar [open = "" ])){
742
+ # zen-sidebar-top-buttons : not (: hover ): not (: has ([open = "true" ])): has (toolbarbutton : not ([hidden = "true" ]): not (# unified-extensions-button )){
743
+ margin-top : -20px !important ;
744
+ margin-bottom : 0 !important ;
703
745
opacity : 0 !important ;
704
- /* display: none !important; */
746
+ }
747
+ }
748
+
749
+
750
+ /* ======== containers ======= */
751
+ tab {
752
+ .tab-background {
753
+ flex-direction : unset !important ;
754
+
755
+ .tab-context-line {
756
+ width : 22px !important ;
757
+ height : 22px !important ;
758
+ margin : auto 6px !important ;
759
+ border-radius : 0.7rem !important ;
760
+ background-color : transparent !important ;
761
+
762
+ border : 1.5px var (--identity-tab-color ) solid !important ;
763
+ transition : all 0.3s ease-in-out !important ;
764
+ }
765
+
766
+ }
767
+ & : hover .tab-context-line {
768
+ filter : blur (10px ) !important ;
769
+ border : 12px var (--identity-tab-color ) solid !important ;
770
+
771
+ }
772
+ }
773
+
774
+ [uidensity = "compact" ] tab .tab-background .tab-context-line {
775
+ margin : auto 5px !important ;
776
+ }
777
+
778
+
779
+ tab [zen-essential = "true" ] .tab-background .tab-context-line {
780
+ margin : auto !important ;
781
+ z-index : 1000 !important ;
782
+ }
783
+
784
+ tab [discarded = "" ]: hover , tab [pending = "true" ]: hover {
785
+ filter : grayscale (0 ) !important ;
705
786
}
0 commit comments