Skip to content

Instantly share code, notes, and snippets.

@kosty
Created March 19, 2018 16:33
Show Gist options
  • Select an option

  • Save kosty/d80097a823e3ec6570ff85d0be0737a0 to your computer and use it in GitHub Desktop.

Select an option

Save kosty/d80097a823e3ec6570ff85d0be0737a0 to your computer and use it in GitHub Desktop.
Firefox Quantum v59.0.1 + Tree Style Tabs + no title bar
/*
* Tree Style Tabs Wiki
*/
/* https://github.com/piroor/treestyletab/wiki/Code-snippets-for-custom-style-rules#hide-horizontal-tabs-at-the-top-of-the-window-1349 */
#main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar {
opacity: 0;
pointer-events: none;
}
#main-window:not([tabsintitlebar="true"]) #TabsToolbar {
visibility: collapse !important;
}
/*
* https://github.com/piroor/treestyletab/wiki/Code-snippets-for-custom-style-rules#show-title-of-current-tab-at-the-top-of-the-window-instead
* Hide the "Tree Style Tab" header at the top of the sidebar
*/
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header {
display: none;
}
#sidebar {
min-width: 100px !important;
}
/*
* Inspired by
* https://www.reddit.com/r/firefox/comments/736cji/how_to_hide_native_tabs_in_firefox_57_tree_style/dq0li3d/
* How to hide native tabs in Firefox 57 + Tree Style Tabs?
*/
#TabsToolbar {
visibility: collapse;
}
#titlebar {
margin-bottom: -28px !important;
}
#titlebar-buttonbox {
height: 24px !important;
}
#main-window #nav-bar {
/*margin-right: 138px; */
padding-left: 76px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment