Skip to content

Commit e8f80b7

Browse files
committed
Deal with TST 3.8.5 breaking changes
1 parent a956f72 commit e8f80b7

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

tree_style_tabs/extra_style_rules.css

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ tab-item {
547547
--tab-surface: hsla(0, 0%, 100%, .05);
548548
}
549549

550-
tab-item {
550+
tab-item > tab-item-substance {
551551
border: none;
552552
outline: 1px solid hsla(0, 0%, 0%, 0.09);
553553
--tab-size: 38px !important;
@@ -566,7 +566,7 @@ tab-item.unread {
566566
opacity: .5;
567567
}
568568

569-
tab-item.pinned {
569+
tab-item.pinned > tab-item-substance {
570570
padding: unset !important;
571571
}
572572

@@ -587,7 +587,7 @@ tab-item.pinned {
587587
inset 0 1px 5px 0 rgba(0,0,0,0.20) !important;
588588
}
589589

590-
tab-item.active:not(.pinned) {
590+
tab-item.active:not(.pinned) > tab-item-substance {
591591
padding-right: 10px !important;
592592
margin-right: 2px !important;
593593
}
@@ -602,7 +602,7 @@ tab-item.active {
602602
0 1px 5px 0 rgba(0,0,0,0.20) !important;
603603
}
604604

605-
tab-item.active::after {
605+
tab-item.active > tab-item-substance::after {
606606
width: 10px;
607607
background: currentcolor;
608608
opacity: .5;
@@ -612,29 +612,29 @@ tab-item.active::after {
612612
left: unset;
613613
}
614614

615-
tab-item.active.pinned::after {
615+
tab-item.active.pinned > tab-item-substance::after {
616616
width: 50%;
617617
}
618618

619-
tab-item.active > :nth-child(8),
620-
tab-item > :nth-child(8)::before,
621-
tab-item > :nth-child(8)::after {
619+
tab-item.active > tab-item-substance > :nth-child(8),
620+
tab-item > tab-item-substance > :nth-child(8)::before,
621+
tab-item > tab-item-substance > :nth-child(8)::after {
622622
display: none !important;
623623
}
624-
tab-item > tab-favicon {
624+
tab-item > tab-item-substance > tab-favicon {
625625
order: 1;
626626
}
627-
tab-item > tab-label {
627+
tab-item > tab-item-substance > tab-label {
628628
order: 2;
629629
}
630-
tab-item > tab-sound-button {
630+
tab-item > tab-item-substance > tab-sound-button {
631631
grid-area: sound;
632632
order: 3;
633633
}
634-
tab-item > tab-counter {
634+
tab-item > tab-item-substance > tab-counter {
635635
order: 4;
636636
}
637-
tab-item > tab-twisty {
637+
tab-item > tab-item-substance > tab-twisty {
638638
order: 99 !important;
639639
position: unset;
640640
display: block;
@@ -644,7 +644,7 @@ tab-item.pinned tab-twisty,
644644
tab-item.collapsed tab-twisty {
645645
display: none !important;
646646
}
647-
tab-item > * {
647+
tab-item > tab-item-substance > * {
648648
margin: 0 !important;
649649
padding-inline: 0 !important;
650650
}
@@ -665,7 +665,7 @@ tab-item > * {
665665
bottom: 27px !important;
666666
}
667667

668-
tab-item::before {
668+
tab-item > tab-item-substance::before {
669669
content: var(--overlay-content);
670670
background: var(--overlay-color);
671671
position: absolute;
@@ -695,4 +695,4 @@ tab-item[data-current-uri^="about:"] {
695695
tab-item[data-current-uri^="https://google.com"] {
696696
--overlay-content: '';
697697
--overlay-color: hsla(350, 100%, 22%, .15);
698-
}*/
698+
}*/

0 commit comments

Comments
 (0)