You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I gotta be honest – I don't really care much about vertical tabs myself. The TCR integration exists because at some point a friend sent me some half-baked code from their setup for it, and I've just polished that for the v3-rework of Cascade.
If someone would want to make a working integration for Sidebery or/and TST I wouldn't mind putting it up, but it's also a lot of work I can't really justify for myself as of rn.
Oh, yeah! That would be lovely actually. Feel free to reach out and share that once done and then we can make it into a full integration on the repo here. c:
I've decided to switch to TST, after updating most of the Sidebery setup I have come across multiple (small) bugs that were annoying my ocd brain.
TST has way less bugs (still a few kinks to figure out) and has a bigger community around it and I'm making quick progress in making a setup similar to the one above.
Ok so here is what I have so far, I've tried to keep the code as minimal as possible to avoid conflicts: userChrome.css TST settings
Here are all the issues I'm not sure how to fix:
Only the first pinned tab is visible when the side bar is collapsed any others are hidden
-
-
If an unpinned tabs is playing audio/muted the icon is only visible when sidebar is expanded, not an issue for pinned tabs (not sure if this is meant to be a feature)
-
-
There is a weird overlapping effect with pinned tabs when switching to the new tab page, this only happens when switching from any other page to the new tab page only.
-
Hmm, these are indeed some issues that would need to be ironed out. But apart from that it really does look nice! Thank you so much for this. Could you maybe raise a (drafted) PR for the changes? That way I could take a look and contribute with potential fixes straight to your fork.
Also how do you expand the url bar to fill the space when horizontal tabs are disabled?
I just set it to the full width, and completely hide the Tab Bar.
This would be good to add - I've just heard about tree style tabs, and I'm hoping to start using it. Is there a file of the current progress on such an integration?
Update: I pieced together a rough solution based on this; code below
tree style tabs custom css:
:root{/* These colours are (mainly) used by the Container Tabs Plugin */--uc-identity-colour-blue:#7ED6DF;--uc-identity-colour-turquoise:#55E6C1;--uc-identity-colour-green:#B8E994;--uc-identity-colour-yellow:#F7D794;--uc-identity-colour-orange:#F19066;--uc-identity-colour-red:#FC5C65;--uc-identity-colour-pink:#F78FB3;--uc-identity-colour-purple:#786FA6;/* Cascades main Colour Scheme */--uc-base-colour:#1E2021;--uc-highlight-colour:#191B1C;--uc-inverted-colour:#FAFAFC;--uc-muted-colour:#AAAAAC;--uc-accent-colour:var(--uc-identity-colour-purple);--uc-shadow-colour:#000000;}/* This adjusts the container tab marker. */.contextual-identity-marker{--position: absolute !important;--pointer-events: none;FullAuto-show/hide Theme
--z-index: 0;
left: 0px !important;
top: 4px !important;
width: 3px !important;
height: 30px !important;
opacity: .50;}/* Hide .twisty and adjust margins so favicons have 7px on left. */.tab.twisty{visibility: hidden;margin-left:-7px;}/* Push tab labels slightly to the right so they're completely hidden in collapsed state */.tab.label{margin-left:15px;}/* 'new tab' button. */.newtab-button{height:40px;padding-left:5px!important;border-bottom:0px!important;}/* Theme */:root,#background{background:var(--uc-base-colour);}:root{--tab-surface-active:var(--uc-highlight-color);--tab-surface-active-hover:rgb(112,112,124);--tab-surface-hover:var(--uc-highlight-color);}/* Remove closebox */#tabbartab-itemtab-item-substancetab-closebox{display: none;}:root.left.tab.contextual-identity-marker{right:0;top:0;width:calc(var(--favicon-size)/6);}.tab{height:40px;color:var(--uc-inverted-colour)!important;}/* hide scrollbar */#tabbar{scrollbar-width: none;}/* indent only when hovered/opened */#tabbar:not(:hover).tabtab-item-substance{margin-left:0px!important;};:root.sidebartab-label{z-index:1000;}
userChrome.css:
/* Hide Tab Toolbar */#nav-bar{width:100vw!important;}/* #browser { position: relative; } */:root{--uc-window-control-width:138px;/* Space reserved for window controls */--uc-window-drag-space-width:4px;/* Extra space reserved on both sides of the nav-bar to be able to drag the window */--uc-toolbar-height:32px;}/* #nav-bar::before, *//* #nav-bar::after{ *//* content: ""; *//* display: -moz-box; *//* width: var(--uc-window-drag-space-width); *//* } */toolbar#nav-bar::after{width:calc(var(--uc-window-control-width)+var(--uc-window-drag-space-width,0px))}:root:not([uidensity="compact"]){--uc-toolbar-height:38px}#TabsToolbar{visibility: collapse !important}:root:not([inFullscreen])#nav-bar{margin-top:calc(0px-var(--uc-toolbar-height));}#toolbar-menubar{min-height:unset !important;height:var(--uc-toolbar-height)!important;position: relative;}#main-menubar{-moz-box-flex:1;background-color:var(--toolbar-bgcolor,--toolbar-non-lwt-bgcolor);background-clip: padding-box;border-image:linear-gradient(to left, transparent,var(--toolbar-bgcolor,--toolbar-non-lwt-bgcolor)30px)20/30px}#toolbar-menubar:not([inactive]){z-index:2}#toolbar-menubar[inactive] >#menubar-items{opacity:0;pointer-events: none;margin-left:var(--uc-window-drag-space-width,0px)}#navigator-toolbox{border-bottom: none !important;}/* Autohide Sidebar *//* Sidebar min and max width removal *//#sidebar{max-width: none !important;min-width:0px!important;}/* Hide splitter, when using Tree Style Tab. */#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] +#sidebar-splitter{display: none !important;}/* Hide sidebar header, when using Tree Style Tab. */#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header{visibility: collapse;}/* Shrink sidebar until hovered, when using Tree Style Tab. */:root{--thin-tab-width:40px;--wide-tab-width:250px;}#sidebar-box:not([sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]){min-width:var(--wide-tab-width)!important;max-width: none !important;}#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] {overflow: hidden !important;position: relative !important;transition: all 300ms!important;min-width:var(--thin-tab-width)!important;max-width:var(--thin-tab-width)!important;}#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]:hover,#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar{transition: all 300ms!important;min-width:var(--wide-tab-width)!important;max-width:var(--wide-tab-width)!important;/* Negative right-margin to keep page from being pushed to the side. */margin-right:calc((var(--wide-tab-width)-var(--thin-tab-width))*-1)!important;z-index:3;}
A caveat is that the container tabs don't have the cascade colors, and I'm not sure how to fix that. I looked into both the css that was in TCR as well as changing the container tab colors based on mozilla reference on container tab colors, but neither worked. Could be a good starting point for anyone who wants to tinker, CSS is not really my strong suit so I might just leave it as is for now as it looks good enough for me.
Thanks for your contribution :)
I've recently taken over as the maintainer, and I haven't had the chance to have a look at this yet. How does this look with nested and pinned tabs?
Not sure if I got the term for nested right (I assume the indented tabs within the tree), but for that the indent is set to 0 when not hovered, then indented upon hover:
Hovered:
Not hovered:
Pinned tabs seem to be a tricky spot, as it is not amazing in the TCR integration either. It is however a lot less polished in TST as I hadn't considered it.
TCR, hovered and unhovered:
thanks! yeah the pinned tabs for TCR need to be fixed too, I just don't know how easy it'd be to animate it. It might be easier just to keep them full width like the other tabs with a separator in between.
Another possible idea, not sure how feasible/usable it would be depending on how many pinned tabs you have, would probably be to adjust the spacing through some margin tweaking and keep pinned tabs as is. I like how they're at the top and the highlighting makes more sense in TCR vs TST (of which I sort of hacked a solution together, so it's not as clean), but it also hides most pinned tabs. I think at least for TST it might require a bit fewer lines of code if that's already the default layout, not sure about TCR. The separator solution also works well, and it doesn't hide any pinned tabs.
hacked together something quick for TST using this idea:
added one with a line as well:
code: I'm not a CSS expert, so all the pixel values feel like guessing coordinates when tikzing and hoping it looks right - hopefully it could get cleaned up in the future
a bit of a caveat: the line seems to persist even without pinned tabs as it's set for the container, so maybe not the best solution?
no problem, we can use :has() for that
I guess it is subjective, but I prefer to be able to see all the icons in the collapsed state. I've also just had a quick look at tree style tabs and sidebery and I prefer sidebery :/ it has a much cleaner and more feature-rich UI and seems to be under more active development compared to TST
I've always been a fan of how vivaldi approaches tab management, here's how it does it
I guess it is subjective, but I prefer to be able to see all the icons in the collapsed state.
I think that's also a valid argument and probably one of my caveats with the pinned tabs in TCR/TST right now.
I've also just had a quick look at tree style tabs and sidebery and I prefer sidebery :/ it has a much cleaner and more feature-rich UI and seems to be under more active development compared to TST
I'd be okay with a Sidebery integration as well. I've only just swapped to TST and heard about it a handful of days ago.
so many options! firefox's native vertical tabs seem to be coming along too, would be nice to theme these out of the box as they're builtin. I've opened a new issue to track that (#142)
Activity
unseen-ninja commentedon Apr 8, 2023
I gotta be honest – I don't really care much about vertical tabs myself. The TCR integration exists because at some point a friend sent me some half-baked code from their setup for it, and I've just polished that for the v3-rework of Cascade.
If someone would want to make a working integration for Sidebery or/and TST I wouldn't mind putting it up, but it's also a lot of work I can't really justify for myself as of rn.
Zabooby commentedon Apr 9, 2023
I am planning to update this Sidebery setup.
Would you then be interested in integrating it into Cascade?
unseen-ninja commentedon Apr 9, 2023
Oh, yeah! That would be lovely actually. Feel free to reach out and share that once done and then we can make it into a full integration on the repo here. c:
[-]Add Sidebery integration[/-][+]Add Tree Style Tabs integration[/+]Zabooby commentedon Apr 13, 2023
I've decided to switch to TST, after updating most of the Sidebery setup I have come across multiple (small) bugs that were annoying my ocd brain.
TST has way less bugs (still a few kinks to figure out) and has a bigger community around it and I'm making quick progress in making a setup similar to the one above.
Would you still be interested in integration?
unseen-ninja commentedon Apr 14, 2023
Yeah sure! I don't mind either way, and it's not going to be possible to please everyone anyway. So either implementation is fine in my book. ^—^
Zabooby commentedon Apr 19, 2023
Ok so here is what I have so far, I've tried to keep the code as minimal as possible to avoid conflicts:
userChrome.css
TST settings
Here are all the issues I'm not sure how to fix:
Only the first pinned tab is visible when the side bar is collapsed any others are hidden

-
-
If an unpinned tabs is playing audio/muted the icon is only visible when sidebar is expanded, not an issue for pinned tabs (not sure if this is meant to be a feature)

-
-
There is a weird overlapping effect with pinned tabs when switching to the new tab page, this only happens when switching from any other page to the new tab page only.
-
The right click menu on tabs doesn't match themes or css customisations, but I've opened an issue in the TST repo for this
- Right click/context menu does not match theme colours or css customisations piroor/treestyletab#3322
Also how do you expand the url bar to fill the space when horizontal tabs are disabled?
Other than that, animations are silky smooth and everything else works as expected!
unseen-ninja commentedon Apr 19, 2023
Hmm, these are indeed some issues that would need to be ironed out. But apart from that it really does look nice! Thank you so much for this. Could you maybe raise a (drafted) PR for the changes? That way I could take a look and contribute with potential fixes straight to your fork.
I just set it to the full width, and completely hide the Tab Bar.
31 remaining items
Mikilio commentedon Jan 30, 2024
I just stole most of the logic from the tcr integration and I am a CSS-noob, so take this solution with a grain of salt.
shadow-absorber commentedon Feb 6, 2025
tree style tabs in this would be lovely... though so far not even migrated to using either tst or cascadefox yet
evesdropper commentedon Mar 8, 2025
This would be good to add - I've just heard about tree style tabs, and I'm hoping to start using it. Is there a file of the current progress on such an integration?
Update: I pieced together a rough solution based on this; code below
tree style tabs custom css:
userChrome.css:
A caveat is that the container tabs don't have the cascade colors, and I'm not sure how to fix that. I looked into both the css that was in TCR as well as changing the container tab colors based on mozilla reference on container tab colors, but neither worked. Could be a good starting point for anyone who wants to tinker, CSS is not really my strong suit so I might just leave it as is for now as it looks good enough for me.
42willow commentedon Mar 9, 2025
Hi @evesdropper 👋
Thanks for your contribution :)
I've recently taken over as the maintainer, and I haven't had the chance to have a look at this yet. How does this look with nested and pinned tabs?
evesdropper commentedon Mar 9, 2025
Not sure if I got the term for nested right (I assume the indented tabs within the tree), but for that the indent is set to 0 when not hovered, then indented upon hover:
Hovered:


Not hovered:
Pinned tabs seem to be a tricky spot, as it is not amazing in the TCR integration either. It is however a lot less polished in TST as I hadn't considered it.


TCR, hovered and unhovered:
TST, hovered and unhovered:


42willow commentedon Mar 9, 2025
thanks! yeah the pinned tabs for TCR need to be fixed too, I just don't know how easy it'd be to animate it. It might be easier just to keep them full width like the other tabs with a separator in between.
evesdropper commentedon Mar 9, 2025
Another possible idea, not sure how feasible/usable it would be depending on how many pinned tabs you have, would probably be to adjust the spacing through some margin tweaking and keep pinned tabs as is. I like how they're at the top and the highlighting makes more sense in TCR vs TST (of which I sort of hacked a solution together, so it's not as clean), but it also hides most pinned tabs. I think at least for TST it might require a bit fewer lines of code if that's already the default layout, not sure about TCR. The separator solution also works well, and it doesn't hide any pinned tabs.
hacked together something quick for TST using this idea:

added one with a line as well:

code: I'm not a CSS expert, so all the pixel values feel like guessing coordinates when tikzing and hoping it looks right - hopefully it could get cleaned up in the future
a bit of a caveat: the line seems to persist even without pinned tabs as it's set for the container, so maybe not the best solution?
42willow commentedon Mar 9, 2025
no problem, we can use
:has()for thatI guess it is subjective, but I prefer to be able to see all the icons in the collapsed state. I've also just had a quick look at tree style tabs and sidebery and I prefer sidebery :/ it has a much cleaner and more feature-rich UI and seems to be under more active development compared to TST
I've always been a fan of how vivaldi approaches tab management, here's how it does it


42willow commentedon Mar 9, 2025
bundling the integration by default would also be neat, then users can toggle between native tabs and sidebery/TST tabs dynamically, and don't need to worry about copying the integration and updating the userchrome
https://github.com/mbnuqw/sidebery/wiki/Firefox-Styles-Snippets-(via-userChrome.css)#dynamic-native-tabs-for-hiding-native-horizontal-tabs
evesdropper commentedon Mar 9, 2025
I think that's also a valid argument and probably one of my caveats with the pinned tabs in TCR/TST right now.
I'd be okay with a Sidebery integration as well. I've only just swapped to TST and heard about it a handful of days ago.
42willow commentedon Mar 10, 2025
so many options! firefox's native vertical tabs seem to be coming along too, would be nice to theme these out of the box as they're builtin. I've opened a new issue to track that (#142)
[-]Add Tree Style Tabs integration[/-][+]Add Sidebery integration[/+][-]Add Sidebery integration[/-][+]Add Sidebery / Tree Style Tabs integration[/+]