Last active
October 4, 2018 10:31
-
-
Save georgf/9b21620faf98d380e713f5707fa1f346 to your computer and use it in GitHub Desktop.
Tabcenter redux - hide tab bar & autoshrink sidebar
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
/* | |
* This hides the horizontal top-level tab strip & makes the tab sidebar autoshrink. | |
* | |
* This needs to be added to the userChrome.css, see e.g. here for more: | |
* https://github.com/eoger/tabcenter-redux/wiki/Custom-CSS-Tweaks#userchromecss-tweaks | |
* | |
* Also requires in about:config to set browser.tabs.drawInTitlebar to false. | |
*/ | |
@-moz-document url("chrome://browser/content/browser.xul") { | |
#TabsToolbar { | |
height: 22px; | |
visibility: collapse !important; | |
} | |
#tabbrowser-tabs { | |
visibility: collapse; | |
} | |
} | |
#tabbrowser-tabs { | |
visibility: collapse !important; | |
} | |
#sidebar-box { | |
overflow-x: hidden; | |
min-width: 50px !important; | |
max-width: 50px !important; | |
transition: all 0.25s ease !important; | |
} | |
#sidebar-box:hover { | |
min-width: 250px !important; | |
max-width: 250px !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment