Guest User

Untitled

a guest
Apr 1st, 2025
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.85 KB | None | 0 0
  1. /*** THIS GOES IN SIDEBERY ***/
  2. /*****************************/
  3.  
  4. :root, .root, #root {
  5.   background: #1b1c20 !important;
  6.   --frame-bg: #1b1c20 !important;
  7.   --tabs-margin: 1.5px !important;
  8.   --tabs-pinned-height: 30px !important;
  9.   --tabs-pinned-width: 30px !important;
  10.   --tabs-height: 30px !important;
  11.   --nav-btn-width: 30px !important;
  12.   --nav-btn-height: 28px !important;
  13. }
  14.  
  15. /* large pinned tabs */
  16. .PinnedTabsBar {
  17.   display: grid !important;
  18.   grid-gap: calc(3 * 1.5px) !important;
  19.   grid-template-rows: 3rem;
  20.   grid-auto-rows: 3rem;
  21.   grid-template-columns: repeat(auto-fit, minmax(min(100%, 3rem), 1fr));
  22. }
  23. .Tab[data-pin="true"] {
  24.   width: 100% !important;
  25.   height: 100% !important;
  26.   &:not([data-active="true"]) .body {
  27.     background-color: color-mix(in oklab, var(--tabs-activated-bg) 25%, transparent) !important;
  28.   }
  29. }
  30.  
  31. /* add space between pins and regular tabs */
  32. .ScrollBox {
  33.   margin-top: 15px;
  34. }
  35.  
  36. /* indent nested tabs */
  37. #root.root {--tabs-indent: 15px;}
  38.  
  39. /* tab colors */
  40. #root.root                     { --tabs-normal-bg: #1b1c20; }
  41. .Tab[data-active="true"] .body { background-color: #35444acc !important; }
  42.  
  43. /* tab font */
  44. .Tab .title { font-size: 12px; }
  45.  
  46. /* tab shape */
  47. .Tab .body { height: 100%; margin-top: 0px; }
  48. #root.root { --tabs-border-radius: 5px;}
  49.  
  50. /* hide container indicator */
  51. .Tab .ctx { display: none !important; }
  52.  
  53. /* prevent pinned tabs from wrapping when bar is collapsed */
  54. .PinnedTabsBar { flex-wrap: nowrap !important; }
  55.  
  56.  
  57.  
  58. /*** THIS GOES IN userChrome.css ***/
  59. /***********************************/
  60.  
  61. /* remove native sidebar */
  62. #sidebar-main { display: none !important; }
  63.  
  64. /* remove sidebery border */
  65. #sidebar {
  66.   box-shadow: none !important;
  67.   border: none !important;
  68. }
  69.  
  70. /* make sidebery resizable to small widths */
  71. #sidebar-box, #sidebar { min-width: 0px !important; }
Advertisement
Add Comment
Please, Sign In to add comment