Guest User

sidebar.css

a guest
Apr 6th, 2026
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. /* Hide splitter, when using Tree Style Tab. This rule removes the sidebar splitter when Tree Style Tab is active. */
  2. #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] + #sidebar-splitter {
  3. display: none !important;
  4. }
  5.  
  6. /* Hide sidebar header, when using Tree Style Tab. This rule hides the header of the sidebar when Tree Style Tab is active. */
  7. #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header {
  8. visibility: collapse;
  9. }
  10.  
  11. /* Shrink sidebar until hovered, when using Tree Style Tab. */
  12. :root {
  13. --thin-tab-width: 35px;
  14. --wide-tab-width: 250px;
  15. }
  16.  
  17. #sidebar-box:not([sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]) {
  18. min-width: var(--wide-tab-width) !important;
  19. max-width: none !important;
  20. }
  21.  
  22. #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] {
  23. position: relative !important;
  24. transition: all 100ms !important;
  25. min-width: var(--thin-tab-width) !important;
  26. max-width: var(--thin-tab-width) !important;
  27. z-index: calc(var(--browser-area-z-index-tabbox, 10000) + 1) !important;
  28. }
  29.  
  30. #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]:hover {
  31. transition: all 200ms !important;
  32. min-width: var(--wide-tab-width) !important;
  33. max-width: var(--wide-tab-width) !important;
  34. margin-right: calc((var(--wide-tab-width) - var(--thin-tab-width)) * -1) !important;
  35. }
  36.  
Advertisement
Add Comment
Please, Sign In to add comment