Advertisement
Dobbie03

Untitled

May 19th, 2018
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.33 KB | None | 0 0
  1. #titlebar {
  2. direction: rtl !important;
  3. }
  4.  
  5. #TabsToolbar {
  6. margin-left: 50px !important;
  7. }
  8.  
  9. .titlebar-placeholder {
  10. display: none !important;
  11. }
  12.  
  13. /*HIDE STUFF - URL Bar*/
  14. pageActionButton,
  15. pocket-button-box,
  16. .autocomplete-history-dropmarker,
  17. #identity-icon-labels
  18. {
  19. display: none !important;
  20. }
  21.  
  22. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  23.  
  24.  
  25. /* Contextual toolbar buttons, only show on hover, this is what matters, the rest of the file are just style tweaks I like
  26. */
  27.  
  28.  
  29. :root:not([customizing]) #nav-bar toolbarbutton
  30. {
  31. margin-left: -28px !important;
  32. opacity: 0 !important;
  33. transform: scale(.85, .85) !important;
  34. pointer-events: none !important;
  35. transition: all 100ms var(--animation-easing-function) !important;
  36. }
  37.  
  38. :root:not([customizing]) :hover > #nav-bar toolbarbutton,
  39. :root:not([customizing]) #navigator-toolbox:focus-within #nav-bar toolbarbutton,
  40. :root:not([customizing]) :hover > #titlebar toolbarbutton {
  41. transform: scale(1, 1) !important;
  42. opacity:1 !important;
  43. margin-left:0 !important;
  44. pointer-events: auto !important;
  45. }
  46.  
  47.  
  48. /* auto collapse nav bar height when in stealth mode (not active), kinda jumpy and annoying after a while so let's just comment it for now */
  49.  
  50. /*
  51. #nav-bar {
  52. height: 30px !important;
  53. transition: all 300ms var(--animation-easing-function) !important;
  54. }
  55.  
  56. :root:not([customizing]) :hover > #nav-bar,
  57. :root:not([customizing]) #navigator-toolbox:focus-within #nav-bar {
  58. height: 35px !important;
  59. }
  60. */
  61.  
  62. /* url bar text shrinks when in "stealth mode" */
  63. #nav-bar #urlbar {
  64. font-size: 0.85em !important;
  65. transition: all 100ms var(--animation-easing-function) !important;
  66. }
  67.  
  68. :root:not([customizing]) :hover > #nav-bar #urlbar,
  69. :root:not([customizing]) #navigator-toolbox:focus-within #nav-bar #urlbar {
  70. font-size: 1.2em !important;
  71. }
  72.  
  73.  
  74. /* some experimentation with expanding tab on hover to see the title better, it's kinda stupid but I was just messing around, could be something useful in the future */
  75. .tabbrowser-tab:not([selected]):hover {
  76. min-width: 300px !important;
  77. transition: min-width 150ms var(--animation-easing-function) 2s !important;
  78. }
  79.  
  80.  
  81. /* random style tweaks I like */
  82. /*
  83. Remove borders everywhere, some code copied from edge style for firefox
  84. */
  85.  
  86. :root {
  87. --tabs-border: transparent !important;
  88. }
  89.  
  90. .tabbrowser-tab::after, .tabbrowser-tab::before {
  91. border-left: none !important;
  92. }
  93.  
  94. #urlbar, .searchbar-textbox {
  95. border: none !important;
  96. box-shadow: none !important;
  97. }
  98.  
  99. #nav-bar {
  100. margin-top: 0px !important;
  101. border-top: 0px !important;
  102. box-shadow: none !important;
  103. }
  104.  
  105. /* nav bar is semi opaque when unhovered */
  106. #nav-bar > * {
  107. opacity:0.5;
  108. transition: opacity 0.3s;
  109. }
  110.  
  111. #nav-bar:hover > * {
  112. opacity:1 !important;
  113. }
  114.  
  115. #urlbar {
  116. opacity:1 !important;
  117. }
  118.  
  119. #urlbar .urlbar-input-box {
  120. opacity:1 !important;
  121. }
  122.  
  123.  
  124. #urlbar, .searchbar-textbox {
  125. border: 0px !important;
  126. height: 20px !important;
  127. }
  128.  
  129. #urlbar {
  130. margin-left: 1px !important;
  131. margin-right: 1px !important;
  132. }
  133.  
  134. .tab-background {
  135. border-top: none !important;
  136. }
  137.  
  138. .tabs-newtab-button, #new-tab-button, #alltabs-button {
  139. color: rgba(240, 240, 240, 1);
  140. border-top: 0px !important;
  141. margin-bottom: 0px !important;
  142. }
  143.  
  144.  
  145. window:not([chromehidden~="toolbar"]) #urlbar-container > .toolbarbutton-1:-moz-any([disabled], :not([open]):not([disabled]):not(:active)) > .toolbarbutton-icon[class], #main-window:not([customizing]) #back-button[disabled] > .toolbarbutton-icon[class] {
  146.  
  147. box-shadow: none !important;
  148. border: 0px !important;
  149. }
  150.  
  151. /* bookmarks toolbar edge style */
  152.  
  153. toolbarbutton.bookmark-item {
  154. border: 1px rgba(0, 0, 0, 0) solid !important;
  155. }
  156.  
  157. toolbarbutton.bookmark-item:hover {
  158. background-color: rgba(75, 75, 75, 1);
  159. border: 1px rgba(75, 75, 75, 1) solid !important;
  160. }
  161.  
  162. .titlebar-placeholder[type="post-tabs"] {
  163. width: 50px !important;
  164. }
  165.  
  166. #TabsToolbar {
  167. margin-bottom: 0px !important;
  168. }
  169. #navigator-toolbox::after {
  170. border-bottom: 0px !important;
  171. }
  172.  
  173.  
  174. #TabsToolbar .tab-background {
  175. border-right: 0px !important;
  176. border-left: 0px !important;
  177. }
  178. .scrollbutton-up, .scrollbutton-down {
  179. margin-bottom: 0px !important;
  180. }
  181. .scrollbutton-up:hover, .scrollbutton-down:hover {
  182. background: rgba(42, 42, 42, 1) ;
  183. }
  184. .scrollbutton-up:hover:active, .scrollbutton-down:hover:active {
  185. background: #444;
  186. }
  187. .tabs-newtab-button .toolbarbutton-icon {
  188. background: transparent ;
  189. }
  190. #urlbar, .searchbar-textbox {
  191. box-shadow: none !important;
  192. }
  193. .close-icon > .toolbarbutton-icon {
  194. border-radius: 0px !important;
  195. }
  196. #TabsToolbar[movingtab] {
  197. padding-bottom: 0px !important;
  198. }
  199. #TabsToolbar[movingtab] > .tabbrowser-tabs {
  200. padding-bottom: 0px !important;
  201. margin-bottom: 0px !important;
  202. }
  203. #new-tab-button > .toolbarbutton-icon, #alltabs-button > .toolbarbutton-icon {
  204. background-color: transparent;
  205. }
  206. :root {
  207. --toolbarbutton-border-radius: 0px !important;
  208. }
  209.  
  210.  
  211.  
  212. #context-back > .menu-iconic-left, #context-forward > .menu-iconic-left, #context-reload > .menu-iconic-left, #context-stop > .menu-iconic-left, #context-bookmarkpage > .menu-iconic-left {
  213. padding: 0px !important;
  214. }
  215.  
  216. #tabbrowser-tabs {
  217. --tab-line-color: -moz-win-accentcolor !important;
  218. --tab-loading-fill: -moz-win-accentcolor !important;
  219. box-shadow: none !important;
  220. }
  221. #tabbrowser-tabs:-moz-window-inactive {
  222. --tab-line-color: rgb(128, 128, 128) !important;
  223. }
  224.  
  225. .webextension-browser-action {
  226. filter: saturate(0%);
  227. }
  228.  
  229.  
  230. :root[lwtheme-image]:-moz-lwtheme-brighttext {
  231. text-shadow: none !important;
  232. }
  233.  
  234.  
  235. /*
  236. * Only show close buttons on background tabs when hovering with the mouse
  237. *
  238. * Contributor(s): Timvde
  239. */
  240.  
  241. .tabbrowser-tab:not([selected]):not([pinned]) .tab-close-button {
  242. display: none !important;
  243. }
  244.  
  245. .tabbrowser-tab:not([selected]):not([pinned]):hover .tab-close-button {
  246. display: -moz-box !important;
  247. }
  248.  
  249. /*
  250. * Underlines and dims unloaded tabs
  251. *
  252. * Contributor(s): josemam
  253. */
  254.  
  255. .tabbrowser-tab[pending] {
  256. font-style: italic;
  257. }
  258.  
  259.  
  260. toolbarspring {
  261. min-width: 8px;
  262. max-width: 8px;
  263. }
  264.  
  265. /* Change tab max width */
  266. .tabbrowser-tab[fadein]:not([pinned]) {
  267. max-width: 300px !important;
  268. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement