Advertisement
Guest User

uchrome

a guest
Jul 15th, 2021
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.26 KB | None | 0 0
  1. @import url('dark_checkboxes_and_radios.css');
  2. @import url('dark_additional_windows.css');
  3. @import url('dark_context_menus.css');
  4.  
  5. /*
  6. V A R I A B L E S
  7. Here you can change the opacity level and the main color of the browser. Also the color of the selections (When you select text)
  8. */
  9.  
  10. :root {
  11. --urlbar-width:25vw;
  12. --srf-color-primary: rgba(10, 10, 10);
  13. /*
  14. WARNING: Transparency breakes the window behavior,
  15. you can still add transparency but the
  16. window manager will have some bugs.
  17. */
  18. --srf-color-selection: #66a6d9;
  19. }
  20.  
  21. /*
  22. G E N E R A L
  23. */
  24.  
  25. window,
  26. #main-window,
  27. #toolbar-menubar,
  28. #TabsToolbar,
  29. #PersonalToolbar,
  30. #navigator-toolbox,
  31. #sidebar-box,
  32. #nav-bar {
  33. background-color: var(--srf-color-primary) !important;
  34. -moz-appearance: none !important;
  35. background-image: none !important;
  36. border: none !important;
  37. box-shadow: none !important;
  38. }
  39.  
  40. ::selection {
  41. background-color: var(--srf-color-selection);
  42. /* Text color of your selection */
  43. color: #141414;
  44. }
  45.  
  46. /*
  47. T A B S
  48. */
  49.  
  50. :root {
  51. --tabs-border: transparent !important;
  52. --toolbox-border-bottom-color: transparent !important;
  53. }
  54.  
  55. #navigator-toolbox {
  56. border: 0px !important;
  57. }
  58.  
  59. #TabsToolbar {
  60. margin-top: -1px !important;
  61. margin-bottom: 1px !important;
  62. margin-left: var(--urlbar-width) !important;
  63. max-height: 32px !important;
  64. }
  65.  
  66. .tab-background {
  67. border: none !important;
  68. }
  69.  
  70. .tab-background[selected='true'] {
  71. -moz-appearance: none !important;
  72. background-image: none !important;
  73. }
  74.  
  75. .tabbrowser-tabs {
  76. border: none !important;
  77. opacity: 0 !important;
  78. }
  79.  
  80. .tabbrowser-tab::before {
  81. opacity: 0 !important;
  82. border-left: none !important;
  83. }
  84.  
  85. .tabbrowser-tab::after {
  86. opacity: 0 !important;
  87. border-left: none !important;
  88. }
  89.  
  90. .titlebar-placeholder {
  91. border: none !important;
  92. }
  93.  
  94. .tab-line {
  95. display: none !important;
  96. }
  97.  
  98. .tabbrowser-arrowscrollbox {
  99. height: 32px !important;
  100. min-height: 32px !important;
  101. }
  102.  
  103. .titlebar-placeholder[type='pre-tabs'] {
  104. display: none !important;
  105. }
  106.  
  107. /*
  108. B U T T O N S
  109. Here you can comment if you want your buttons to be showed up!
  110. */
  111.  
  112. /* This one is the forward button */
  113. #forward-button {
  114. display: none !important;
  115. }
  116.  
  117. /* This one is the back button */
  118. #back-button {
  119. display: none !important;
  120. }
  121.  
  122. /* This one is the spacer between tabs and border */
  123. .titlebar-spacer {
  124. display: none !important;
  125. }
  126.  
  127. /* This one is the "shield" icon */
  128. #tracking-protection-icon-container {
  129. display: none !important;
  130. }
  131.  
  132. /* This one is the hamburger menu! */
  133. #PanelUI-button {
  134. display: none !important;
  135. }
  136.  
  137. /* This one removes the close button */
  138. .tabbrowser-tab:not([pinned]) .tab-close-button {
  139. display: none !important;
  140. }
  141.  
  142. /* This one clears the tabs icon when they're not pinned */
  143. .tabbrowser-tab:not([pinned]) .tab-icon-image {
  144. display: none !important;
  145. }
  146.  
  147. /* Removing the zoom button */
  148. #urlbar-zoom-button {
  149. display: none !important;
  150. }
  151.  
  152. /* Page action (right three dash button) */
  153. #pageActionButton {
  154. display: none !important;
  155. }
  156.  
  157. /*
  158. N A V B A R
  159. */
  160.  
  161. #navigator-toolbox::after {
  162. border: 0px !important;
  163. }
  164.  
  165. #nav-bar {
  166. border: none !important;
  167. box-shadow: none !important;
  168. border-top-width: 0px !important;
  169. border-bottom-width: 0px !important;
  170. margin-top: -32px !important;
  171. margin-bottom: -1px !important;
  172. margin-right: calc(100vw - var(--urlbar-width)) !important;
  173. height: 32px !important;
  174. }
  175.  
  176. /*
  177. S I D E - B A R
  178. */
  179.  
  180. #history-panel,
  181. #sidebar-search-container,
  182. #bookmarksPanel {
  183. background: var(--srf-color-primary) !important;
  184. }
  185.  
  186. #search-box {
  187. -moz-appearance: none !important;
  188. background: var(--srf-color-primary) !important;
  189. border-radius: 6px !important;
  190. }
  191.  
  192. #sidebar-icon {
  193. display: none !important;
  194. }
  195.  
  196. .sidebar-placesTree {
  197. color: var(--srf-color-selection) !important;
  198. }
  199.  
  200. #sidebar-switcher-target {
  201. color: var(--srf-color-selection) !important;
  202. }
  203.  
  204. #sidebar-header {
  205. background: var(--srf-color-primary) !important;
  206. }
  207.  
  208. #sidebar-splitter {
  209. border: none !important;
  210. opacity: 1 !important;
  211. background-color: var(--srf-color-primary) !important;
  212. }
  213.  
  214. splitter#sidebar-splitter {
  215. border: none !important;
  216. }
  217.  
  218. /*
  219. U R L - B A R
  220. */
  221.  
  222. #urlbar[breakout] {
  223. margin-inline-start: 0px !important;
  224. width: 100% !important;
  225. left: 0 !important;
  226. top: calc(
  227. (var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2
  228. ) !important;
  229. }
  230.  
  231. @-moz-document url(chrome://browser/content/browser.xhtml)
  232. {
  233. #urlbar[breakout][breakout-extend] > #urlbar-background {
  234. animation-name: none !important;
  235. box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05) !important;
  236. }
  237. }
  238.  
  239. #urlbar[breakout]:not([open]) {
  240. bottom: calc(
  241. (var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2
  242. ) !important;
  243. }
  244.  
  245. #urlbar[breakout-extend] {
  246. top: calc(
  247. (var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2
  248. ) !important;
  249. left: calc(
  250. (var(--urlbar-toolbar-width) - var(--urlbar-width)) / 2
  251. ) !important;
  252. width: 100% !important;
  253. }
  254.  
  255. #urlbar[breakout-extend] #urlbar-input-container {
  256. height: calc(var(--tab-min-height) - 3px) !important;
  257. padding: 0px !important;
  258. }
  259.  
  260. #urlbar-input-container {
  261. padding: 0 !important;
  262. height: 100% !important;
  263. }
  264.  
  265. #identity-box {
  266. display: none;
  267. }
  268.  
  269. .urlbarView-row {
  270. padding: 0px !important;
  271. }
  272.  
  273. #searchbar {
  274. background: var(--bf-bg) !important;
  275. border: none !important;
  276. }
  277.  
  278. .searchbar-textbox {
  279. color: var(--bf-focus-fg) !important;
  280. font-weight: 700 !important;
  281. }
  282.  
  283. #urlbar-container {
  284. min-width: 150px !important;
  285. }
  286.  
  287. #urlbar {
  288. border: none !important;
  289. box-shadow: none !important;
  290. }
  291.  
  292. #page-action-buttons {
  293. display: none !important;
  294. }
  295.  
  296. .urlbarView {
  297. margin: 0px !important;
  298. width: 100% !important;
  299. }
  300.  
  301. #urlbar-label-box,
  302. #urlbar-search-mode-indicator {
  303. display: none !important;
  304. }
  305.  
  306. /*
  307. If you want to show the URLBar extended you must
  308. change this two blocks:
  309. In order to show it, you must change the value of "transparent" in the first block
  310. and erease the second block.
  311. */
  312.  
  313. #urlbar-background {
  314. background: transparent !important;
  315. border: transparent !important;
  316. animation: none !important;
  317. }
  318.  
  319. #urlbar .urlbarView {
  320. display: none !important;
  321. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement