Skip to content

Instantly share code, notes, and snippets.

@drcharris
Created January 28, 2021 15:30
Show Gist options
  • Save drcharris/8c8f310fb49abab63a8a62bf04489cc7 to your computer and use it in GitHub Desktop.
Save drcharris/8c8f310fb49abab63a8a62bf04489cc7 to your computer and use it in GitHub Desktop.
Firefox userChrome to mnimise wasted space when using Tree Style Tabs under Windows
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/*
STANDARD TST CONFIG
#sidebar-header - to hide the sidebar header
#TabsToolbar - hide just the tabs, leaving the window controls visible
push window controls down into the same vertical space as the tab bar
make the window controls roughly the same height as the nav-bar, saving window title space
push nav-bar to the right to make space for the window controls
optional -make nav-bar background look the same as the window controls background
*/
#sidebar-header { visibility: collapse; }
#TabsToolbar .toolbar-items { visibility: collapse; }
#TabsToolbar {
margin-bottom: -42px;
height: 42px;
}
#nav-bar {
background: transparent !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment