/*The following block hides the horizontal tabs for tree style tabs https://github.com/piroor/treestyletab/wiki/Code-snippets-for-custom-style-rules#for-userchromecss */ #main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar > .toolbar-items { opacity: 0; pointer-events: none; } #main-window:not([tabsintitlebar="true"]) #TabsToolbar { visibility: collapse !important; } /*Hide the Tree style Tab header*/ #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header { display: none; } /* The following moves the window buttons to the lower bar after removeing horizontal tabs*/ /* Adding empty space for buttons */ #nav-bar { margin-right:140px; } /* 15px for dragging whole window by mouse*/ #titlebar { appearance: none !important; height: 15px; } /* Fix for main menu calling by Alt button */ #titlebar > #toolbar-menubar { margin-top: 10px; } /* Move minimize/restore/close buttons to empty space */ #TabsToolbar > .titlebar-buttonbox-container { display: block; position: absolute; top: 17px; right: 1px; }