@@ -504,59 +504,74 @@ body:has([zen-compact-mode="true"] [zen-user-show=""], [zen-compact-mode="true"]
504
504
}
505
505
} */
506
506
507
-
508
- .tab-group-label {
507
+ /* Tab group label styling */
508
+ .tab-group-label ,
509
+ tab-group .tab-group-label {
510
+ width : 100% !important ;
509
511
border : none !important ;
510
512
border-radius : 1em !important ;
511
513
outline : none !important ;
512
- width : 100% !important ;
513
514
margin-right : 0 !important ;
515
+ text-align : left !important ;
516
+ padding-left : 10px !important ;
517
+ background : color-mix (in srgb, var (--tab-group-color ) 20% , transparent) !important ;
518
+ color : color-mix (in srgb, var (--tab-group-color ) 70% , # fff ) !important ;
519
+ scale : 1 !important ;
514
520
transition : all 0.2s ease-in-out !important ;
515
521
}
516
-
517
- .tab-group-label-container ::after {
518
- display : none !important ;
522
+ tab-group .tab-group-label : hover {
523
+ padding-left : 15px !important ;
524
+ background : color-mix (in srgb, var (--tab-group-color ) 50% , transparent) !important ;
525
+ color : color-mix (in srgb, var (--tab-group-color ) 30% , # fff ) !important ;
526
+ }
527
+ tab-group .tab-group-label : active {
528
+ scale : 0.9 !important ;
529
+ }
530
+ tab-group : not ([collapsed ]) .tab-group-label {
531
+ border : 1.5px dashed color-mix (in srgb, var (--tab-group-color ) 50% , transparent) !important ;
519
532
}
520
533
521
- tab-group .tab-group-label {
522
- width : 100% !important ;
523
- text-align : left !important ;
524
- padding-left : 10px !important ;
525
-
526
- & : hover {
527
- padding-left : 20px !important ;
528
- }
534
+ /* Label container margins */
535
+ .tab-group-label-container {
536
+ margin-top : 3px !important ;
537
+ margin-bottom : 0 !important ;
538
+ }
539
+ tab-group [collapsed ] .tab-group-label-container {
540
+ margin-bottom : 3px !important ;
529
541
}
530
542
531
- tab-group .tab-group-label {
532
- background : color-mix (in srgb, var (--tab-group-color ) 20% , transparent) !important ;
533
- border : color-mix (in srgb, var (--tab-group-color ) 50% , transparent) 2px solid !important ;
534
- color : color-mix (in srgb, var (--tab-group-color ) 70% , # fff ) !important ;
535
-
536
- & : hover {
537
- background : color-mix (in srgb, var (--tab-group-color ) 50% , transparent) !important ;
538
- color : color-mix (in srgb, var (--tab-group-color ) 30% , # fff ) !important ;
539
- }
543
+ /* Hide label container's after pseudo */
544
+ .tab-group-label-container ::after {
545
+ display : none !important ;
540
546
}
541
547
542
- tab-group .tab-stack {
548
+ /* Tab stack styles */
549
+ .tab-stack ,
550
+ tab-group .tab-stack {
551
+ transition : all 0.3s ease-in-out !important ;
552
+ border-radius : 1.2em !important ;
543
553
background : color-mix (in srgb, var (--tab-group-color ) 20% , transparent) !important ;
544
554
margin-block : 2px !important ;
545
- border-radius : 1em !important ;
546
555
}
547
-
548
- .tab-group-label-container {
549
- margin-bottom : 3px !important ;
550
- margin-top : 3px !important ;
556
+ .tab-stack : hover ,
557
+ tab-group .tab-stack : hover {
558
+ background : color-mix (in srgb, var (--tab-group-color ) 50% , transparent) !important ;
551
559
}
552
560
553
- tab-group .tabbrowser-tab ::before {
561
+ /* Hide tab indicator */
562
+ tab-group .tabbrowser-tab ::before {
554
563
display : none !important ;
555
564
}
556
565
557
- # tabbrowser-tabs : not ([expanded ]){
558
- tab , tab-group {
559
- scale : 1.1 !important ;
560
- }
566
+ /* Scale effect when tab bar is not expanded */
567
+ # tabbrowser-tabs : not ([expanded ]) tab ,
568
+ # tabbrowser-tabs : not ([expanded ]) tab-group {
569
+ scale : 1.1 !important ;
570
+ }
571
+
572
+ /* Fixed size for tab group */
573
+ tab-group {
574
+ height : 300px !important ;
575
+ width : 200px !important ;
561
576
}
562
577
0 commit comments