Skip to content

Instantly share code, notes, and snippets.

@FichteFoll
Last active October 6, 2015 03:48
Show Gist options
  • Save FichteFoll/2931591 to your computer and use it in GitHub Desktop.
Save FichteFoll/2931591 to your computer and use it in GitHub Desktop.
FireFox/Stylish: Adjustments for the Add-on "Tree Style Tabbar" and its "sidebar" skin
/*
Adjustments for the Add-on "Tree Style Tabbar" and its "sidebar" skin
Made for (and with) FireFox 15b thru 31b (Australis)
@author FichteFoll
*/
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/* Correcting background color
* Seems like it has been included by default */
#TabsToolbar:not(:-moz-lwtheme).treestyletab-tabbar-toolbar[treestyletab-style="sidebar"] {
background-color: #DBEAF9 !important;
}
/* Remove background color for the <tabs> thingy - same as above */
/*#TabsToolbar:not(:-moz-lwtheme).treestyletab-tabbar-toolbar
.tabbrowser-tabs {
background: none transparent !important;
}*/
/* Fix padding in Australis */
#TabsToolbar:not(:-moz-lwtheme).treestyletab-tabbar-toolbar[treestyletab-style="sidebar"]
.tabbrowser-tab {
padding-left: 2px !important;
padding-right: 0 !important;
}
/* TODO: Attempt to change the color of the gray border on the tabbar's right;
apparently I have no idea where this is comming from so I can't override it */
/*.treestyletab-tabbar-toolbar[treestyletab-style="sidebar"] {
border-right: 0px solid #BAC7D4 !important;
}*/
/* Hover colors on tabs */
:root[treestyletab-enable-compatibility-tmp="true"] /* some wierd "hacks for Tab Mix Plus" override my definitions with this, so I need it too */
.treestyletab-tabbar-toolbar[treestyletab-style="sidebar"]
#tabbrowser-tabs[treestyletab-style][treestyletab-mode="vertical"]
.tabbrowser-tab:not([selected="true"])/*:not([pinned="true"])*/:hover {
background: -moz-linear-gradient(center top, hsla(0, 0%, 90%, 1), hsla(0, 0%, 80%, 1)) repeat-x scroll 0 0 transparent !important;
border-top: 1px solid hsla(0, 0%, 80%, 1) !important;
}
Copy link

ghost commented Dec 1, 2014

Is it still working?
I tried it in Stylish, but not work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment