diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-07-19 10:31:23 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-07-19 10:31:23 -0300 |
commit | 3db31ccb7149b1d45317786df37e26d5232125dd (patch) | |
tree | abe67015622898f20ab094368af902812b4fae12 /chrome/tabs/hide.css | |
parent | 083a41a2c2cdf7fe5d8299e12c443683c6790a2b (diff) | |
download | firefoxer-3db31ccb7149b1d45317786df37e26d5232125dd.tar.gz firefoxer-3db31ccb7149b1d45317786df37e26d5232125dd.tar.bz2 |
Populate
Diffstat (limited to 'chrome/tabs/hide.css')
-rw-r--r-- | chrome/tabs/hide.css | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/chrome/tabs/hide.css b/chrome/tabs/hide.css new file mode 100644 index 0000000..db68534 --- /dev/null +++ b/chrome/tabs/hide.css @@ -0,0 +1,40 @@ +/** + * Hiding the tab bar. + * + * Works best with Tree Style Tab addon: + * https://github.com/piroor/treestyletab + */ + +/** + * Hide horizontal tabs at the top of the window #1349, #1672, #2147 + * https://github.com/piroor/treestyletab/wiki/Code-snippets-for-custom-style-rules#hide-horizontal-tabs-at-the-top-of-the-window-1349-1672-2147 + */ + +/* +#main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar > .toolbar-items { + opacity: 0; + pointer-events: none; +} +*/ + +/** + * Always hide the tab bar. + */ +#main-window:not([tabsintitlebar="true"]) #TabsToolbar { + visibility: collapse !important; +} + +/** + * Only hide horizontal tabs if Tree Style Tabs sidebar is visible + * Only works in Firefox if layout.css.has-selector.enabled is set to true in about:config. + * https://github.com/piroor/treestyletab/wiki/Code-snippets-for-custom-style-rules#only-hide-horizontal-tabs-if-tree-style-tabs-sidebar-is-visible + */ +/* +html#main-window body:has(#sidebar-box[sidebarcommand=treestyletab_piro_sakura_ne_jp-sidebar-action][checked=true]:not([hidden=true])) #TabsToolbar { + visibility: collapse !important; +} +*/ +/*#main-window body:has(#browser vbox[id="sidebar-box"][hidden=false]) #TabsToolbar {/* + visibility: collapse !important; +} +*/ |