Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*** Tree Style Tabs ***/
- /* This value should be updated here and in the tree-style-tabs-theme.css */
- :root {
- --tst-sidepanel-hide-delay: 0.5s;
- }
- /* Hide main tabs toolbar */
- #main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar > .toolbar-items {
- opacity: 0;
- pointer-events: none;
- }
- #main-window:not([tabsintitlebar="true"]) #TabsToolbar {
- visibility: collapse !important;
- }
- /* Sidebar min and max width removal */
- #sidebar {
- max-width: none !important;
- min-width: 0px !important;
- }
- /* Hide sidebar header, when using Tree Style Tab */
- #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header {
- visibility: collapse;
- }
- /* Shrink sidebar until hovered, when using Tree Style Tab */
- :root {
- --thin-tab-width: 30px;
- --wide-tab-width: 200px;
- }
- #sidebar-box:not([sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]) {
- min-width: var(--wide-tab-width) !important;
- max-width: none !important;
- }
- #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] {
- overflow: hidden !important;
- position: relative !important;
- transition: all 0.2s var(--tst-sidepanel-hide-delay) !important;
- min-width: var(--thin-tab-width) !important;
- max-width: var(--thin-tab-width) !important;
- z-index: 2;
- }
- #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]:hover,
- #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar {
- transition-delay: 0s !important;
- min-width: var(--wide-tab-width) !important;
- max-width: var(--wide-tab-width) !important;
- z-index: 1;
- }
- #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]:hover {
- margin-right: calc((var(--wide-tab-width) - var(--thin-tab-width)) * -1) !important;
- }
Add Comment
Please, Sign In to add comment