Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.08 KB | None | 0 0
  1. /* * Do not remove the @namespace line -- it's required for correct functioning
  2. /*
  3. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  4. */
  5.  
  6. #content browser { margin-right:-14px!important; overflow-y:scroll; overflow-x:hidden;}
  7.  
  8. :root:-moz-lwtheme-brighttext { /* minor color changes to the default dark theme */
  9. --color-overflow: #333; /* >> button color */
  10. --chrome-background-color: #333 !important; /* tab strip background & inactive tabs */
  11. --chrome-secondary-background-color: #333 !important; /* nav bar & active tab */
  12. --chrome-color: #ccc !important; /* url & tab text, close tab & new tab buttons */
  13. background-color: #333 !important; /* top border of out of focus window */
  14. }
  15.  
  16. :root:-moz-lwtheme-darktext { /* minor changes to the default light theme */
  17. --color-overflow: #ddd; /* >> button color */
  18. --chrome-background-color: #ccc !important; /* tab strip background & inactive tabs */
  19. }
  20.  
  21. :root {
  22. --tabs-border: transparent !important; /* active tab left & right borders - not working in 58?*/
  23. --toolbox-border-bottom-color: transparent !important; /* 1px line under background tabs */
  24. --chrome-nav-bar-controls-border-color: transparent !important; /* border around url bar */
  25. }
  26.  
  27. .browserContainer {
  28. background-color: #333 !important;
  29. }
  30.  
  31. /* Move Tab-bar beside Nav-bar */
  32. #TabsToolbar {
  33. margin-bottom: 0px !important; /* not needed anymore? */
  34. margin-top: 0px !important; /* */
  35. margin-left: 35vw !important;
  36. margin-right: -34px !important;
  37. max-height: 32px !important;
  38. }
  39.  
  40. #nav-bar {
  41. margin-bottom: 2px !important;
  42. margin-top: -28px !important;
  43. margin-right: 65vw !important;
  44. border-top: none !important;
  45. }
  46.  
  47. /* Remove padding above tabbar in compact mode */
  48. #main-window[sizemode="normal"] > #titlebar {
  49. -moz-appearance: initial !important;
  50. }
  51.  
  52.  
  53. /* Back & Forward buttons */
  54. #back-button > .toolbarbutton-icon,
  55. #forward-button > .toolbarbutton-icon {
  56. transform: scale(0.9, 0.9) !important;
  57. margin-left: -2px !important;
  58. margin-right: -2px !important;
  59. }
  60.  
  61. /* Move hamburger menu to the left */
  62. #PanelUI-button,
  63. customization-panel-container,
  64. #customization-panelWrapper .panel-arrow {
  65. -moz-box-ordinal-group: 0 !important;
  66. margin-right: -2px !important;
  67. }
  68.  
  69.  
  70. #appMenu-popup {
  71. margin-right: -258px !important;
  72. }
  73.  
  74. #appMenu-popup .panel-arrow {
  75. margin-right: 248px !important;
  76. }
  77.  
  78. /* More tools... button */
  79. #nav-bar-overflow-button {
  80. transform: scale(0.8, 0.8) !important;
  81. fill: #999 !important;
  82. }
  83.  
  84. /* Tabs */
  85. .tabbrowser-tab {
  86. height: 22px !important;
  87. background-color: rgb(98, 98, 175) !important;
  88. }
  89. tab[selected="true"]{
  90. background-color: rgb(1,162,82) !important;
  91. }
  92.  
  93. /* Remove empty space before first tab
  94. Delete this rule if you need a space to drag the window*/
  95. #TabsToolbar .titlebar-placeholder[type="pre-tabs"]{
  96. display: none !important;
  97. }
  98.  
  99. /* Remove border between tabs
  100. Delete this rule if you want separators between background tabs */
  101. .tabbrowser-tab::after, .tabbrowser-tab::before {
  102. border-left: none !important;
  103. }
  104.  
  105. /* Border between background tabs */
  106. .tabbrowser-tab::after, .tabbrowser-tab::before {
  107. color: grey !important;
  108. opacity: .2 !important;
  109. }
  110.  
  111. /* New tab button color */
  112. #new-tab-button, .tabs-newtab-button {
  113. fill: var(--chrome-color) !important;
  114. }
  115.  
  116. /* tab line - adjust color & size, default #0a84ff 2px */
  117. .tab-line {
  118. background-color: #0a84ff !important;
  119. height: 0px !important;
  120. }
  121.  
  122.  
  123. /* Hide various elements */
  124. /* Menu */
  125. #appMenu-fxa-container, /* Sign in to Sync */
  126. #appMenu-fxa-container+toolbarseparator,
  127. /* #appMenuRestoreLastSession, */
  128. #appMenu-zoom-controls,
  129. #appMenu-zoom-controls+toolbarseparator,
  130. #appMenu-edit-controls,
  131. #appMenu-edit-controls+toolbarseparator,
  132. #appMenu-library-button,
  133. #appMenu-customize-button,
  134. #appMenu-customize-button+toolbarseparator,
  135. #appMenu-open-file-button,
  136. #appMenu-save-file-button,
  137. #appMenu-find-button,
  138. #appMenu-more-button,
  139.  
  140. /* URL Bar */
  141. #pageActionButton,
  142. #pocket-button-box,
  143. ar-button,
  144. .autocomplete-history-dropmarker,
  145. #identity-icon-labels
  146. {
  147. display: none !important;
  148. }
  149.  
  150. .tab-close-button {
  151. opacity: 0;
  152. }
  153. .tab-content:hover .tab-close-button {
  154. opacity: 1;
  155. transition: opacity 200ms ease-in-out;
  156. }
  157.  
  158. /*Dark context menu*/
  159. menupopup, popup,
  160. popup > menu > menupopup,
  161. menupopup > menu > menupopup {
  162. -moz-appearance: none !important;
  163. background: #202020 !important;
  164. border: 1px solid #606060 !important;
  165. padding: 6px 0px 6px 0px !important;}
  166.  
  167. menupopup menuseparator {
  168. -moz-appearance: none !important;
  169. background: #808080 !important;
  170. margin: 2px 6px 2px 6px !important;
  171. padding: 0 !important;
  172. border-top: none !important;
  173. border-color: transparent !important;}
  174.  
  175. menupopup menu, menuitem{
  176. /*-moz-appearance: none !important;*/
  177. /*font-size: 9pt !important;*/
  178. /*margin: 3px 0px 3px 0px !important;*/
  179. color: #E0E0E0!important;}
  180.  
  181. menupopup menu:hover, menuitem:hover {
  182. /*-moz-appearance: none !important;*/
  183. color:#E4E4E4 !important;
  184. /*font-size: 9pt !important;*/
  185. /*margin: 3px 0px 3px 0px !important;*/
  186. background-color:#101010 !important;}
  187.  
  188. .menu-right{
  189. filter: invert(95%)!important;
  190. }
  191.  
  192. #context-stop image:hover,
  193. #context-bookmarkpage image:hover,
  194. #context-navigation,
  195. #context-sep-navigation,
  196. #context-back image:hover,
  197. #context-forward image:hover,
  198. #context-reload image:hover {
  199. color: #E0E0E0!important;
  200. background: #181818 !important;
  201. }
  202.  
  203. .tab-line[selected]{
  204. background-color: #f8f8f2 !important;
  205. height: 2px !important;
  206.  
  207. [class^="verified"] > #identity-icon { max-width: 0px !important; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement