Last active
August 3, 2025 08:51
-
-
Save getchoo/d5800dad41babc0f448c26c6b19116d5 to your computer and use it in GitHub Desktop.
small userchrome tweak to enable edge-style vertical tab groups in firefox
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Don't invert the color of tab groups when they're collapsed */ | |
tab-group { | |
--tab-group-color: var(--tab-group-color-invert) !important; | |
} | |
.tab-group-label { | |
/* Don't change the text color or add an outline when tab groups are collapsed (makes the above usable) */ | |
tab-group[collapsed] > .tab-group-label-container > & { | |
color: light-dark(var(--tab-group-color-pale), var(--tab-group-label-text-dark)) !important; | |
outline: none !important; | |
} | |
/* Hide labels when vertical tabs sidebar isn't expanded */ | |
#tabbrowser-tabs[orient="vertical"]:not([expanded]) & { | |
&::first-letter { | |
font-size: 0px !important; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment