Advertisement
Guest User

Untitled

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