Advertisement
Guest User

Untitled

a guest
Nov 29th, 2024
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.97 KB | None | 0 0
  1. html {
  2. --custom-bg-light: #f1f1fa;
  3. --custom-bg-dark: #262629;
  4. --custom-bg: var(--custom-bg-light);
  5. }
  6.  
  7. @media (prefers-color-scheme: dark) {
  8. html {
  9. --custom-bg: var(--custom-bg-dark);
  10. }
  11. }
  12.  
  13. body {
  14. background: var(--custom-bg) !important;
  15. }
  16.  
  17. html:not([privatebrowsingmode="temporary"]) #navigator-toolbox {
  18. padding-top: 3px;
  19. padding-bottom: 4px;
  20. background: var(--custom-bg) !important;
  21. border-bottom: 0 !important;
  22. }
  23.  
  24. #nav-bar {
  25. background: var(--custom-bg) !important;
  26. }
  27.  
  28. html:not([privatebrowsingmode="temporary"]) #sidebar-box {
  29. background: var(--custom-bg) !important;
  30. }
  31.  
  32. html:not([privatebrowsingmode="temporary"]) #sidebar-splitter {
  33. border: none !important;
  34. background: transparent !important;
  35. width: 1px !important;
  36. }
  37.  
  38. html:not([privatebrowsingmode="temporary"]) #TabsToolbar {
  39. visibility: collapse !important;
  40. }
  41.  
  42. #TabsToolbar {
  43. background: var(--custom-bg) !important;
  44. }
  45.  
  46. html:not([privatebrowsingmode="temporary"]) .titlebar-buttonbox-container {
  47. position: absolute;
  48. right: 0;
  49. top: 9px;
  50. display: flex;
  51. justify-content: center;
  52. width: 110px !important;
  53. }
  54.  
  55. .titlebar-button {
  56. width: 36px !important;
  57. }
  58.  
  59. html:not([privatebrowsingmode="temporary"]) #nav-bar {
  60. width: calc(100% - 110px);
  61. }
  62.  
  63. html:not([privatebrowsingmode="temporary"]) #sidebar-header {
  64. display: none;
  65. }
  66.  
  67. #identity-icon-label {
  68. display: none;
  69. }
  70.  
  71. #urlbar {
  72. left: 50% !important;
  73. transform: translateX(-50%);
  74. max-width: 960px !important;
  75. }
  76.  
  77. #urlbar:not([breakout-extend]) #urlbar-background {
  78. background: none !important;
  79. background-color: transparent !important;
  80. }
  81.  
  82. html:not([privatebrowsingmode="temporary"]) #sidebar-box {
  83. --uc-sidebar-width: 45px;
  84. --uc-sidebar-hover-width: 360px;
  85. --uc-autohide-sidebar-delay-before: 125ms;
  86. --uc-autohide-sidebar-delay-after: 300ms;
  87. --uc-autohide-transition-duration: 300ms;
  88. --uc-autohide-transition-type: ease-in-out;
  89. position: relative;
  90. min-width: var(--uc-sidebar-width) !important;
  91. width: var(--uc-sidebar-width) !important;
  92. max-width: var(--uc-sidebar-width) !important;
  93. z-index: 1;
  94. }
  95.  
  96. html:not([privatebrowsingmode="temporary"])
  97. #main-window[sizemode="fullscreen"]
  98. #sidebar-box {
  99. --uc-sidebar-width: 1px;
  100. }
  101.  
  102. html:not([privatebrowsingmode="temporary"]) #sidebar-splitter {
  103. display: none;
  104. }
  105.  
  106. html:not([privatebrowsingmode="temporary"]) #sidebar {
  107. transition: all var(--uc-autohide-transition-duration)
  108. var(--uc-autohide-transition-type) var(--uc-autohide-sidebar-delay-after) !important;
  109. min-width: var(--uc-sidebar-width) !important;
  110. }
  111.  
  112. html:not([privatebrowsingmode="temporary"]) #sidebar-box:hover > #sidebar {
  113. min-width: var(--uc-sidebar-hover-width) !important;
  114. transition-delay: var(--uc-autohide-sidebar-delay-before) !important;
  115. }
  116.  
  117. html:not([privatebrowsingmode="temporary"]) .sidebar-panel {
  118. background-color: transparent !important;
  119. color: var(--newtab-text-primary-color) !important;
  120. }
  121.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement