Advertisement
Guest User

Untitled

a guest
Aug 18th, 2024
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.86 KB | None | 0 0
  1. @media (-moz-platform: windows), (-moz-platform: windows-win10) {
  2. :root[tabsintitlebar] {
  3. --uc-window-control-width: 137px;
  4. }
  5. #back-button {
  6. margin-top: -0.5px !important;
  7. }
  8. #forward-button {
  9. margin-top: -0.5px !important;
  10. }
  11. #reload-button {
  12. margin-top: -0.5px !important;
  13. }
  14. #PanelUI-button {
  15. margin-top: -0.5px !important;
  16. }
  17. #nav-bar-overflow-button {
  18. margin-top: -0.5px !important;
  19. }
  20. :root {
  21. --uc-toolbar-height: 32px;
  22. --chrome-content-separator-color: none !important;
  23. }
  24. :root:not([uidensity='compact']) {
  25. --uc-toolbar-height: 38px;
  26. }
  27. #TabsToolbar {
  28. visibility: collapse !important;
  29. }
  30. #TabsToolbar .titlebar-buttonbox-container {
  31. visibility: hidden !important;
  32. }
  33. :root:not([sizemode='maximized']) .titlebar-buttonbox-container {
  34. margin-top: 3px;
  35. }
  36. :root:not([inFullscreen]) #nav-bar {
  37. margin-top: calc(0px - var(--uc-toolbar-height));
  38. z-index: 2;
  39. }
  40. #toolbar-menubar {
  41. min-height: unset !important;
  42. height: var(--uc-toolbar-height) !important;
  43. position: relative;
  44. }
  45. .titlebar-buttonbox {
  46. z-index: 3 !important;
  47. }
  48. .titlebar-buttonbox * {
  49. width: 35px;
  50. height: 38px;
  51. }
  52. #main-menubar {
  53. -moz-box-flex: 1;
  54. background-color: var(--toolbar-bgcolor, --toolbar-non-lwt-bgcolor);
  55. background-clip: padding-box;
  56. border-right: 30px solid transparent;
  57. border-image: linear-gradient(
  58. to left,
  59. transparent,
  60. var(--toolbar-bgcolor, --toolbar-non-lwt-bgcolor) 30px
  61. )
  62. 20/30px;
  63. }
  64. #toolbar-menubar:not([inactive]) {
  65. z-index: 2;
  66. }
  67. #toolbar-menubar[inactive] > #menubar-items {
  68. opacity: 0;
  69. pointer-events: none;
  70. margin-left: var(--uc-window-drag-space-width, 0);
  71. }
  72. :root[inFullscreen] #nav-bar {
  73. border-right: none !important;
  74. }
  75. }
  76.  
  77. #nav-bar {
  78. border-right: none !important;
  79. margin-right: 120px !important;
  80. }
  81.  
  82. #navigator-toolbox {
  83. background-color: var(--toolbar-bgcolor,--toolbar-non-lwt-bgcolor) !important;
  84. }
  85.  
  86. /* sidebery: */
  87.  
  88. #sidebar-header {
  89. display: none;
  90. }
  91. :root {
  92. --sidebar-hover-width: 52px;
  93. --sidebar-visible-width: 320px;
  94. }
  95.  
  96. #TabsToolbar, #sidebar-header {
  97. display: none !important;
  98. }
  99.  
  100. #sidebar-box {
  101. position: relative !important;
  102. overflow:hidden;
  103. max-width: var(--sidebar-hover-width) !important;
  104. }
  105.  
  106. #sidebar-box:hover {
  107. transition: all 200ms !/* General UI Customizations for Windows */
  108. @media (-moz-platform: windows), (-moz-platform: windows-win10) {
  109. :root {
  110. --uc-toolbar-height: 32px;
  111. --chrome-content-separator-color: none !important;
  112. }
  113.  
  114. :root:not([uidensity='compact']) {
  115. --uc-toolbar-height: 38px;
  116. }
  117.  
  118. #TabsToolbar {
  119. visibility: collapse !important;
  120. }
  121.  
  122. #TabsToolbar .titlebar-buttonbox-container {
  123. visibility: hidden !important;
  124. }
  125.  
  126. :root:not([sizemode='maximized']) .titlebar-buttonbox-container {
  127. margin-top: 3px;
  128. }
  129.  
  130. :root:not([inFullscreen]) #nav-bar {
  131. margin-top: calc(0px - var(--uc-toolbar-height));
  132. z-index: 2;
  133. }
  134.  
  135. #toolbar-menubar {
  136. min-height: unset !important;
  137. height: var(--uc-toolbar-height) !important;
  138. position: relative;
  139. }
  140.  
  141. .titlebar-buttonbox {
  142. z-index: 3 !important;
  143. }
  144.  
  145. .titlebar-buttonbox * {
  146. width: 35px;
  147. height: 38px;
  148. }
  149.  
  150. #main-menubar {
  151. -moz-box-flex: 1;
  152. background-color: var(--toolbar-bgcolor, --toolbar-non-lwt-bgcolor);
  153. background-clip: padding-box;
  154. border-right: 30px solid transparent;
  155. border-image: linear-gradient(
  156. to left,
  157. transparent,
  158. var(--toolbar-bgcolor, --toolbar-non-lwt-bgcolor) 30px
  159. )
  160. 20/30px;
  161. }
  162.  
  163. #toolbar-menubar:not([inactive]) {
  164. z-index: 2;
  165. }
  166.  
  167. #toolbar-menubar[inactive] > #menubar-items {
  168. opacity: 0;
  169. pointer-events: none;
  170. margin-left: var(--uc-window-drag-space-width, 0);
  171. }
  172.  
  173. :root[inFullscreen] #nav-bar {
  174. border-right: none !important;
  175. }
  176. }
  177.  
  178. /* Sidebery Customizations */
  179.  
  180. /* Hide sidebar header */
  181. #sidebar-header {
  182. display: none !important;
  183. }
  184.  
  185. /* Set default sidebar width and hover behavior */
  186. :root {
  187. --sidebar-hover-width: 52px; /* Width when not hovered */
  188. --sidebar-visible-width: 320px; /* Width when hovered */
  189. }
  190.  
  191. /* Sidebar box default state */
  192. #sidebar-box {
  193. position: relative !important;
  194. overflow: hidden !important;
  195. transition: max-width 200ms ease-in-out !important;
  196. width: var(--sidebar-hover-width) !important;
  197. max-width: var(--sidebar-hover-width) !important;
  198. min-width: var(--sidebar-hover-width) !important;
  199. }
  200.  
  201. /* Sidebar expands on hover */
  202. #sidebar-box:hover {
  203. width: var(--sidebar-visible-width) !important;
  204. max-width: var(--sidebar-visible-width) !important;
  205. min-width: var(--sidebar-visible-width) !important;
  206. }
  207.  
  208. /* Hide the sidebar splitter for a cleaner look */
  209. #sidebar-splitter {
  210. display: none !important;
  211. }
  212.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement