Advertisement
Guest User

Untitled

a guest
Nov 29th, 2024
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.30 KB | None | 0 0
  1. #root.root {
  2. --tabs-indent: 0px;
  3. --general-border-radius: 4px;
  4. --toolbar-bg-light: #f1f1fa;
  5. --toolbar-bg-dark: #262629;
  6. --frame-bg-light: #f1f1fa;
  7. --frame-bg-dark: #262629;
  8. --tabs-height: 32px;
  9. --tabs-margin: 6px;
  10. --pinned-tabs-col: 4;
  11. --toolbar-bg: var(--toolbar-bg-light);
  12. --frame-bg: var(--frame-bg-light);
  13. flex-direction: column-reverse;
  14. }
  15.  
  16. @media (prefers-color-scheme: dark) {
  17. #root.root {
  18. --toolbar-bg: var(--toolbar-bg-dark);
  19. --frame-bg: var(--frame-bg-dark);
  20. }
  21. }
  22.  
  23. .NavigationBar .main-items {
  24. justify-content: center;
  25. }
  26.  
  27. .Tab {
  28. min-width: 33px;
  29. transition: all ease-in-out 200ms;
  30. }
  31.  
  32. .NavigationBar {
  33. transition: all ease-in-out 200ms;
  34. }
  35.  
  36. .NavigationBar[data-layout="inline"] .main-items .nav-item {
  37. transform: translateX(0) !important;
  38. position: relative !important;
  39. flex-grow: 1;
  40. max-width: 66px;
  41. }
  42.  
  43. .NavigationBar[data-layout="inline"] .main-items .nav-item[data-active="false"] {
  44. display: none;
  45. }
  46.  
  47. .BottomBar {
  48. display: none;
  49. }
  50.  
  51. .Tab .audio, .Tab .title {
  52. opacity: 0 !important;
  53. transition: ease-in-out 250ms;
  54. }
  55.  
  56. .Tab[data-pin="true"] .fav, .Tab[data-pin="true"] .fav-icon {
  57. width: 20px;
  58. height: 20px;
  59. }
  60.  
  61. .Tab[data-pin="false"] .fav, .Tab[data-pin="false"] .fav-icon {
  62. width: 18px;
  63. height: 18px;
  64. }
  65.  
  66. .Tab[data-pin="true"][data-active="true"] .color-layer {
  67. background-color: #ffffff !important;
  68. }
  69.  
  70. .Tab[data-pin="false"] .color-layer {
  71. opacity: 0 !important;
  72. border: 0 !important;
  73. }
  74.  
  75. .Tab[data-pin="false"][data-active="true"] .body {
  76. box-shadow: rgba(17, 17, 26, 0.15) 0px 0px 16px;
  77. }
  78.  
  79. .Tab[data-pin="false"] {
  80. border: 0 !important;
  81. }
  82.  
  83. .Tab .title {
  84. background: linear-gradient(90deg, var(--tabs-normal-fg) 80%, #f1f1f100 99%);
  85. background-clip: text;
  86. color: transparent;
  87. }
  88.  
  89. @media screen and (min-width: 350px) {
  90. .NavigationBar[data-layout="inline"] .main-items .nav-item[data-active="false"] {
  91. display: flex;
  92. }
  93. .BottomBar {
  94. display: flex;
  95. }
  96. #root.root {
  97. --tabs-indent: 14px;
  98. }
  99. .Tab .audio, .Tab .title {
  100. opacity: 1 !important;
  101. }
  102. #root.root {
  103. --tabs-pinned-height: 40px;
  104. }
  105. #root.root {
  106. --tabs-pinned-width: calc((100vw - (var(--tabs-margin) * (var(--pinned-tabs-col) + 1))) / var(--pinned-tabs-col));
  107. }
  108. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement