0134340

Firefox 57 Black UserChrome.css

Aug 14th, 2017
2,030
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.70 KB | None | 0 0
  1. /* Name this userChrome.css (case sensitive) and put it in your C:\Users\yourname\AppData\Roaming\Mozilla\Firefox\Profiles\yourprofile\chrome, you'll probably have to make the chrome folder. Make sure to use Firefox's own customize option and that you choose Themes --> Dark and Density --> Compact. Then restart Firefox if needed. Also the scrollbar is hidden, uncomment relevant CSS to unhide. (NOTE: This can cause dropdown bars to not show on some sites, but still be useable, or show far below the dropdown menu so it might be advisable to delete the relevant CSS if you're worried about it) FF API doesn't yet have a way to change the scrollbar but it's planned. Or see here: https://www.reddit.com/r/firefox/comments/7f6kc4/floating_scrollbar_finally_possible_in_firefox_57/
  2. There's not a lot of contrast here, for me it's fine, for others it might be a useability issue so you might want to change the opacity of the main interface and increase the brightness of the urlbar and such. Tested with Firefox Nightly 57. Here's what it looks like: https://i.imgur.com/vLOYEky.jpg */
  3.  
  4. @namespace html url(http://www.w3.org/1999/xhtml);
  5. @namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
  6. .tab-line {
  7. color: #fff !important;
  8. }
  9. #urlbar .urlbar-input-box {
  10. text-align: center;
  11. }
  12. .urlbar-input::-moz-selection {
  13. background-color: #5a5a5a !important;
  14. color: #ccc !important;
  15. }
  16. .tab-content:not([selected="true"]) {
  17. background-color: #000 !important;
  18. color: #aaa !important;
  19. }
  20. .tab-content {
  21. background-color: #222 !important;
  22. color: #ccc !important;
  23. }
  24. .tab-content:hover {
  25. background-color: #333 !important;
  26. color: #fff !important;
  27. }
  28. #main-window #nav-bar {
  29. background: transparent !important;
  30. border: 0px !important;
  31. opacity: 0.5;
  32. }
  33. #urlbar:hover,
  34. .searchbar-textbox:hover {
  35. background-color: #222 !important;
  36. color: #ccc !important;
  37. }
  38. #urlbar,
  39. .searchbar-textbox {
  40. background-color: #000 !important;
  41. border: none !important;
  42. color: #aaa !important;
  43. }
  44. #main-window #TabsToolbar {
  45. background-color: #000 !important;
  46. }
  47. #main-window #nav-bar {
  48. background-color: #000 !important;
  49. }
  50. #main-window #PanelUI-button {
  51. background-color: #000 !important;
  52. }
  53. /*find bar*/
  54.  
  55. findbar {
  56. -moz-appearance: none !important;
  57. background-color: #000 !important;
  58. }
  59. /*context menu & bookmark menu*/
  60.  
  61. #bookmarks-view,
  62. #historyTree,
  63. #history-panel,
  64. #sidebar-header {
  65. background-color: #000 !important;
  66. color: #ccc!important;
  67. border: 0px !important;
  68. }
  69. #bookmarks-view {
  70. background-color: #000!important;
  71. border: 0px !important;
  72. }
  73. menuitem,
  74. menu {
  75. background-color: #000 !important;
  76. border: none !important;
  77. color: #fff !important
  78. }
  79. menuseparator {
  80. display: none !important;
  81. }
  82. menupopup {
  83. background-color: #000 !important;
  84. -moz-appearance: none!important;
  85. border: 0px !important;
  86. color: #fff !important
  87. }
  88. menu:hover {
  89. background-color: #222 !important;
  90. border: 0px !important;
  91. color: #fff !important;
  92. }
  93. menuitem:hover {
  94. background-color: #222 !important;
  95. color: #fff !important;
  96. border: 0px !important;
  97. }
  98. arrowscrollbox {
  99. background-color: #000!important;
  100. color: #ccc!important;
  101. border: 0px !important;
  102. }
  103. .toolbarbutton-text {
  104. color: #aaa !important;
  105. }
  106. #main-menubar,
  107. #nav-bar {
  108. box-shadow: none !important;
  109. }
  110. menupopup > hbox {
  111. border: 0px !important;
  112. }
  113. /* URL Hover */
  114.  
  115. .statuspanel-label {
  116. background: #000 !important;
  117. color: #fff !important;
  118. border: none !important;
  119. }
  120. /* Hide context menu icons */
  121.  
  122. #context-navigation {
  123. background-color: #000 !important;
  124. }
  125. /*Private Browsing icon visible*/
  126.  
  127. #main-window[sizemode="maximized"][privatebrowsingmode=temporary] #private-browsing-indicator-titlebar > .private-browsing-indicator {
  128. z-index: 1;
  129. }
  130. /*Bookmark toolbar*/
  131.  
  132. #PersonalToolbar {
  133. background: #000 !important;
  134. color: #aaa !important;
  135. }
  136. /* autohide bookmarks toolbar */
  137.  
  138. #PersonalToolbar {
  139. opacity: 0.5;
  140. }
  141. /* hide scrollbar */
  142.  
  143. #content browser {
  144. margin-right: -17px!important;
  145. overflow-y: scroll;
  146. overflow-x: hidden;
  147. }
  148. /* Darken panels to match theme. Thanks anonymous guy on internet! */
  149.  
  150. .panel-arrow {
  151. filter: invert(33%);
  152. }
  153. .panel-subview-body,
  154. #appMenu-zoomReset-button {
  155. color: var(--lwt-text-color) !important;
  156. background: var(--url-and-searchbar-background-color) !important;
  157. }
  158. .panel-subview-footer,
  159. [class^="PanelUI-"] {
  160. color: var(--lwt-text-color) !important;
  161. background: var(--toolbar-bgcolor) !important;
  162. }
  163. #PopupAutoCompleteRichResult .ac-title-text {
  164. color: var(--lwt-text-color) !important;
  165. filter: opacity(.7);
  166. }
  167. #PopupAutoCompleteRichResult .autocomplete-richlistbox {
  168. background: var(--url-and-searchbar-background-color) !important;
  169. }
  170. /*stops possible clashes with extension popups*/
  171.  
  172. .webextension-popup-browser {
  173. background: #fff;
  174. }
  175. /* Dim unloaded tabs */
  176.  
  177. .tabbrowser-tab[pending=true] {
  178. opacity: .5;
  179. }
  180. /* urlbar suggest searches background color */
  181.  
  182. panel[type="autocomplete"],
  183. panel[type="autocomplete-richlistbox"],
  184. .autocomplete-history-popup {
  185. background: #000 !important;
  186. border: #333 !important;
  187. }
  188. /*
  189. * Description: Makes the activity stream page look decent with the dark theme.
  190. *
  191. * Screenshot: https://imgur.com/a/WcxGk
  192. *
  193. * Contributor(s): Andrei Cristian Petcu
  194. */
  195.  
  196. .browserContainer {
  197. background-color: var(--url-and-searchbar-background-color, hsla(0, 0%, 100%, .5)) !important;
  198. }
  199. #sidebar {
  200. background-color: black !important;
  201. }
  202. .sidebar-placesTree {
  203. background-color: black !important;
  204. }
Add Comment
Please, Sign In to add comment