Advertisement
PolarBearVuzi

userChrome.css

Jul 6th, 2020
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.89 KB | None | 0 0
  1. :root {
  2. --sidebar-min-width: 136px;
  3. --sidebar-visible-width: 162px;
  4. --uc-window-control-width: 898px; /* Space reserved for window controls */
  5. --uc-window-drag-space-width: 0px; /* Extra space reserved on both sides of the nav-bar to be able to drag the window */
  6. --uc-toolbar-height: 32px;
  7. }
  8.  
  9. #sidebar-header {
  10. overflow: hidden !important;
  11. }
  12.  
  13. #tabbrowser-tabs {
  14. visibility: collapse !important;
  15. }
  16.  
  17. #sidebar-box #sidebar-header {
  18. display: none !important;
  19. }
  20.  
  21. #sidebar,
  22. #sidebar-header {
  23. position: relative !important;
  24. min-width: var(--sidebar-min-width) !important;
  25. max-width: var(--sidebar-min-width) !important;
  26. transition: .1s ease .1s;
  27. z-index:1;
  28. }
  29.  
  30. #sidebar-box:hover :-moz-any(#sidebar,#sidebar-header) {
  31. background-color: var(--toolbar-bgcolor) !important;
  32. min-width: var(--sidebar-visible-width) !important;
  33. max-width: var(--sidebar-visible-width) !important;
  34. margin-right: calc((var(--sidebar-visible-width) - var(--sidebar-min-width)) * -1) !important;
  35. z-index:1;
  36. position: relative !important;
  37. transition: .21s ease 3.20s;
  38.  
  39. }
  40.  
  41.  
  42. #nav-bar::before,
  43. #nav-bar::after{
  44. content: "";
  45. display: -moz-box;
  46. width: var(--uc-window-drag-space-width);
  47. }
  48.  
  49. toolbar#nav-bar::after{ width: calc(var(--uc-window-control-width) + var(--uc-window-drag-space-width,0px)) }
  50.  
  51. :root:not([uidensity="compact"]){--uc-toolbar-height: 38px}
  52.  
  53. #TabsToolbar{ visibility: collapse !important }
  54.  
  55. :root:not([inFullscreen]) #nav-bar{
  56. margin-top: calc(0px - var(--uc-toolbar-height));
  57. }
  58.  
  59. #toolbar-menubar{
  60. min-height:unset !important;
  61. height:var(--uc-toolbar-height) !important;
  62. position: relative;
  63. }
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79. menupopup {
  80. -moz-appearance: none !important;
  81. padding: 8px 2px 8px 2px !important;
  82. background-color: #2B2B2B !important;
  83. border: 1px #A0A0A0 solid !important;
  84. min-width: 280px !important;
  85. }
  86. menuseparator {
  87. -moz-appearance: none !important;
  88. border: none !important;
  89. padding: .5px 0px .5px 0px !important;
  90. margin: 4px 8px 4px 8px !important;
  91. background-color: #808080 !important;
  92. }
  93. menuitem, menu {
  94. -moz-appearance: none !important;
  95. color: white !important;
  96. padding: 7.5px 0px 7.5px 0px !important;
  97. }
  98. menuitem[disabled="true"], menuitem[disabled="true"] > .menu-text {
  99. color: gray !important;
  100. }
  101. menuitem:hover, menu:hover, menu[open="true"], menuitem[_moz-menuactive="true"] {
  102. -moz-appearance: none !important;
  103. padding: 7.5px 0px 7.5px 0px !important;
  104. background-color: #414141 !important;
  105. }
  106. menugroup {
  107. padding: 0px !important;
  108. background-color: transparent !important;
  109. }
  110. menuitem > .menu-text, menuitem > .menu-iconic-text {
  111. color: white !important;
  112. }
  113. menuitem[type="checkbox"] {
  114. padding-left: 8px !important;
  115. padding-top: 6.5px !important;
  116. padding-bottom: 6.5px !important;
  117. }
  118. menuitem[type="radio"] {
  119. padding-left: 8px !important;
  120. padding-top: 6.5px !important;
  121. padding-bottom: 6.5px !important;
  122. }
  123. menuitem[type="checkbox"] > .menu-iconic-text, menuitem[type="radio"] > .menu-iconic-text {
  124. padding-left: 5px !important;
  125. }
  126. menuitem[checked="true"][type="checkbox"] > .menu-iconic-left {
  127. padding: 7px 0px 0px 0px !important;
  128. border: solid white;
  129. border-width: 0 0 2px 2px;
  130. transform: rotate(-45deg) scale(.75);
  131. margin-bottom: 4px !important;
  132. }
  133. menuitem[checked="true"][type="radio"] > .menu-iconic-left {
  134. padding: 1px !important;
  135. border: solid white;
  136. height: 17px !important;
  137. border-radius: 100%;
  138. background: white;
  139. transform: scale(.5);
  140. }
  141. menucaption {
  142. background-color: transparent !important;
  143. color: white !important;
  144. }
  145. #ContentSelectDropdown > menupopup {
  146. background-image: none !important;
  147. }
  148. #ContentSelectDropdown {
  149. padding: 0px !important;
  150. }
  151. menulist {
  152. -moz-appearance: none !important;
  153. padding: 4px 4px 4px 4px !important;
  154. border: 2px solid #666666 !important;
  155. background-color: transparent !important;
  156. }
  157. menulist:hover {
  158. padding: 4px 4px 4px 4px !important;
  159. border: 2px solid #999999 !important;
  160. background-color: transparent !important;
  161. }
  162. menulist[open="true"] {
  163. border: 2px solid #666666 !important;
  164. background-color: #333333 !important;
  165. }
  166. #context-back > .menu-iconic-left, #context-forward > .menu-iconic-left, #context-reload > .menu-iconic-left, #context-stop > .menu-iconic-left, #context-bookmarkpage > .menu-iconic-left {
  167. padding: 0px !important;
  168. }
  169. .menu-iconic-left {
  170. -moz-appearance: none !important;
  171. padding: 0px 5px 0px 9px !important;
  172. }
  173. .menu-right {
  174. -moz-appearance: none !important;
  175. padding: 7.5px !important;
  176. margin-right: 6px !important;
  177. color: white !important;
  178. border: solid white;
  179. border-width: 0 2px 2px 0px;
  180. transform: rotate(-45deg) scale(.55);
  181. }
  182. tooltip {
  183. -moz-appearance: none !important;
  184. color: white !important;
  185. background-color: #2B2B2B !important;
  186. border: 1px solid #767676 !important;
  187. padding: 6.5px !important;
  188. }
  189.  
  190.  
  191.  
  192. #TabsToolbar
  193. {
  194. opacity: .2 !important;
  195. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement