Advertisement
Guest User

Untitled

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