Advertisement
Guest User

Untitled

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