Guest User

custom config

a guest
Sep 30th, 2020
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.42 KB | None | 0 0
  1. @namespace url('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul');
  2.  
  3. * {
  4. /*--tab-corner-rounding: 5px;*/
  5. --animation-speed: 0.4s;
  6. --button-corner-rounding: 30px;
  7. --urlbar-container-height: 34px !important;
  8. --urlbar-height: 32px !important;
  9. --urlbar-toolbar-height: 40px !important;
  10. --moz-hidden-unscrollable: scroll !important;
  11. --toolbarbutton-border-radius: 15px !important;
  12. --tabs-border-color: transparent;
  13. }
  14.  
  15. #TabsToolbar .tabbrowser-tab,
  16. #TabsToolbar .tabbrowser-tab .tab-stack,
  17. #TabsToolbar .tabbrowser-tab .tab-background,
  18. #TabsToolbar .tabbrowser-tab .tab-content {
  19. border-top-left-radius: 10px !important;
  20. border-top-right-radius: 10px !important;
  21. margin-top: 0px;
  22. height: 36px;
  23. text-align: center;
  24. }
  25.  
  26. #TabsToolbar:hover {
  27. background: transparent;
  28. }
  29.  
  30. .tab-line {
  31. display: none;
  32. }
  33.  
  34. #urlbar[breakout][breakout-extend],
  35. #urlbar[breakout][breakout-extend-disabled][open] {
  36. /* The z-index needs to be big enough to trump other positioned UI pieces
  37. that we want to overlay. 3 is used in the tab bar. */
  38. z-index: 3;
  39. height: var(--urlbar-height) !important;
  40. }
  41. #urlbar-search-button {
  42. margin-left: 5px;
  43. }
  44.  
  45. tab:not(:active) .tab-background {
  46. transition: background-color var(--animation-speed) !important;
  47. }
  48. :root:not([customizing]) :hover > .tabbrowser-tab:not(:hover) {
  49. /*filter: blur(3px) brightness(50%);*/
  50. transition: blur, ease 0.5s !important;
  51. }
  52.  
  53. :root:not([customizing]) :not(:hover) > .tabbrowser-tab {
  54. /*filter: blur(0px) brightness(100%) !important;*/
  55. transition: blur, ease 0.2s !important;
  56. }
  57.  
  58. #tabbrowser-tabs .tab-label-container[customizing] {
  59. color: transparent;
  60. transition: ease 0.5s;
  61. transition-delay: 3s;
  62. }
  63.  
  64. :root:not([customizing]) :hover > #tabbrowser-tabs,
  65. :root:not([customizing]) #tabbrowser-tabs:focus-within,
  66. #urlbar[focused='true'],
  67. #identity-box[open='true'],
  68. #navigator-toolbox:hover > #tabbrowser-tabs:not([customizing]),
  69. #toolbar-menubar:not([inactive='true']) ~ #tabbrowser-tabs:not([customizing]) {
  70. color: rgb(0, 0, 0) !important;
  71. transition: linear 0s;
  72. transition-delay: 3s;
  73. }
  74.  
  75. :root[uidensity='compact'] {
  76. --tab-min-height: 38px !important;
  77. }
  78.  
  79. tab:not([selected]):hover .tab-background {
  80. background-color: var(
  81. --toolbarbutton-hover-background,
  82. rgba(182, 182, 182, 0.11)
  83. ) !important;
  84. }
  85.  
  86. .tab-close-button {
  87. list-style-image: url('active_close.png');
  88. border-radius: 15px;
  89. transition: list-style-image var(--animation-speed) ease-out !important;
  90. }
  91. .tab-close-button:hover {
  92. list-style-image: url('mouseover_close.png');
  93. }
  94.  
  95. #navigator-toolbox::after {
  96. display: none !important;
  97. }
  98.  
  99. .titlebar-button > .toolbarbutton-icon {
  100. height: 17px !important;
  101. min-height: 17px !important;
  102. width: 17px !important;
  103. min-width: 17px !important;
  104. }
  105.  
  106. .titlebar-button {
  107. padding-left: 10px !important;
  108. padding-right: 15px !important;
  109. padding-top: 10px !important;
  110. }
  111.  
  112. #urlbar {
  113. /*border-radius: calc(1px + var(--button-corner-rounding)) !important;*/
  114. height: 30px;
  115. margin-left: 5px;
  116. }
  117.  
  118. #urlbar-container *:not(#identity-box) {
  119. border-color: transparent !important;
  120. box-shadow: none !important;
  121. }
  122.  
  123. #pageActionSeparator {
  124. display: none !important;
  125. }
  126.  
  127. #urlbar:hover .urlbar-icon,
  128. #urlbar:active .urlbar-icon,
  129. #urlbar[focused] .urlbar-icon,
  130. #urlbar:hover .urlbar-icon:not([open]) image,
  131. #urlbar:active .urlbar-icon image,
  132. #urlbar[focused] .urlbar-icon image {
  133. fill: var(--toolbar-color) !important;
  134. }
  135.  
  136. .urlbar-page-action[open] {
  137. background-color: var(--toolbarbutton-active-background) !important;
  138. fill: var(--toolbar-color) !important;
  139. }
  140.  
  141. .urlbar-page-action[open]:hover {
  142. background-color: var(--toolbarbutton-active-background) !important;
  143. fill: var(--toolbar-color) !important;
  144. }
  145. #urlbar[breakout] {
  146. width: 100% !important;
  147. padding: 0px !important;
  148. z-index: 99 !important;
  149. }
  150.  
  151. #urlbar[breakout][breakout-extend] {
  152. top: calc(
  153. (var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2
  154. ) !important;
  155. left: 0 !important;
  156. width: 100% !important;
  157. }
  158.  
  159. #urlbar[breakout][breakout-extend] > #urlbar-input-container {
  160. height: 100% !important;
  161. padding-block: 0 !important;
  162. padding-inline: 0 !important;
  163. }
  164.  
  165. .urlbar-page-action[open] .urlbar-icon {
  166. fill: var(--toolbar-color) !important;
  167. }
  168.  
  169. #library-button[animate] {
  170. margin-bottom: 0px !important;
  171. margin-top: 50px !important;
  172. }
  173.  
  174. #library-button[animate] image {
  175. margin-bottom: -120px !important;
  176. margin-top: 100px !important;
  177. }
  178.  
  179. .urlbar-scheme {
  180. padding-bottom: 11px !important;
  181. }
  182.  
  183. #urlbar-container {
  184. margin-left: -5px !important;
  185. margin-right: 2px !important;
  186. }
  187.  
  188. #urlbar-container #urlbar[pageproxystate='invalid'] {
  189. margin-left: 5px !important;
  190. }
  191.  
  192. .urlbar-input-box {
  193. padding: 5px 5px !important;
  194. }
  195.  
  196. #urlbar {
  197. background-color: transparent !important;
  198. color: var(--lwt-toolbar-field-color, black) !important;
  199. }
  200.  
  201. .urlbarView {
  202. background: var(--toolbar-bgcolor) !important;
  203. color: var(--toolbar-color) !important;
  204. border-bottom-left-radius: 15px !important;
  205. border-bottom-right-radius: 15px !important;
  206. }
  207.  
  208. #pocket-button {
  209. padding-bottom: 4px !important;
  210. }
  211.  
  212. .urlbar-icon-wrapper > .urlbar-icon:hover {
  213. background-color: transparent !important;
  214. }
  215.  
  216. .urlbar-icon-wrapper {
  217. background-color: transparent !important;
  218. transition: background-color var(--animation-speed) !important;
  219. }
  220.  
  221. #urlbar:not([focused]) {
  222. border-radius: 20px !important;
  223. }
  224. #identity-box:hover,
  225. .urlbar-icon:hover,
  226. .urlbar-icon-wrapper:hover,
  227. [anonid='urlbar-go-button']:hover {
  228. border-radius: 10px !important;
  229. }
  230.  
  231. #identity-box:active,
  232. .urlbar-icon:active,
  233. .urlbar-icon-wrapper:active,
  234. [anonid='urlbar-go-button']:active {
  235. background-color: var(--toolbarbutton-active-background) !important;
  236. }
  237.  
  238. .urlbar-input-box,
  239. #identity-box,
  240. [anonid='urlbar-go-button'],
  241. #urlbar {
  242. font-size: 1.3rem;
  243.  
  244. transition: background-color var(--animation-speed) !important;
  245. color: var(--toolbar-color) !important;
  246. }
  247.  
  248. [lwthemetextcolor='dark'] .urlbarView-body-outer {
  249. background-color: #ff5340 !important;
  250. color: var(--toolbar-color) !important;
  251. }
  252.  
  253. .urlbarView-body-inner {
  254. background-color: var(--toolbar-bgcolor) !important;
  255. }
  256.  
  257. .downloadsPanelFooterButton:hover {
  258. outline: none !important;
  259. }
  260.  
  261. #TabsToolbar > .titlebar-buttonbox-container {
  262. margin-right: 20px;
  263. }
  264.  
  265. #urlbar,
  266. #searchbar {
  267. border: none !important;
  268. }
  269.  
  270. #page-action-buttons > *:not(#star-button-box),
  271. .urlbar-history-dropmarker {
  272. opacity: 0 !important;
  273. }
  274.  
  275. #urlbar:hover #page-action-buttons > *,
  276. #urlbar:hover .urlbar-history-dropmarker {
  277. opacity: 1 !important;
  278. }
  279.  
  280.  
  281. .bookmark-item .scrollbutton-up {
  282. margin-top: -3px !important;
  283. }
  284.  
  285. .bookmark-item .scrollbutton-up > .toolbarbutton-icon {
  286. margin-top: -2px !important;
  287. border: 6px solid MenuText !important;
  288. border-top-color: transparent !important;
  289. border-right-color: transparent !important;
  290. border-left-color: transparent !important;
  291. }
  292.  
  293. .bookmark-item .scrollbutton-down {
  294. margin-bottom: -3px !important;
  295. }
  296.  
  297. .bookmark-item .scrollbutton-down > .toolbarbutton-icon {
  298. margin-bottom: -2px !important;
  299. border: 6px solid MenuText !important;
  300. border-bottom-color: transparent !important;
  301. border-right-color: transparent !important;
  302. border-left-color: transparent !important;
  303. }
  304.  
  305. menupopup {
  306. margin-left: 1px !important;
  307. }
  308.  
  309. .titlebar-spacer[type='pre-tabs'],
  310. .titlebar-spacer[type='post-tabs'] {
  311. display: none !important;
  312. }
  313.  
  314. :root:-moz-lwtheme-brighttext {
  315. --autocomplete-popup-background: #2a2a2e !important;
  316. --autocomplete-popup-highlight-background: #ff5340 !important;
  317. }
  318.  
  319. @-moz-document url(about:blank), url(about:newtab), url(about:home) {
  320. html:not(#ublock0-epicker),
  321. html:not(#ublock0-epicker) body,
  322. #newtab-customize-overlay {
  323. background: black !important;
  324. }
  325. }
  326.  
  327. #tabs-newtab-button {
  328. margin-left: 4px !important;
  329. border-radius: 100% !important;
  330. }
  331. .tabbrowser-tab::before,
  332. .tabbrowser-tab::after {
  333. display: none !important;
  334. }
  335.  
  336. .tab-background[selected='true'] {
  337. color: #111111 !important;
  338. }
  339.  
  340. .tabbrowser-tab {
  341. text-align: center !important;
  342. justify-content: center;
  343. align-items: center;
  344. }
  345. .tab-icon-image {
  346. }
  347. .tab-label {
  348.  
  349. }
  350. .tabbrowser-tab[selected='true'],
  351. .tab-label-container[selected='true'] {
  352. font-size: 1.1rem;
  353. }
  354. @keyframes fade {
  355. from {
  356. opacity: 0;
  357. }
  358. to {
  359. opacity: 1;
  360. }
  361. }
  362.  
  363. #nav-bar:not([customizing]) {
  364. visibility: visible;
  365. margin-top: -40px;
  366. transition-delay: 1s;
  367. filter: alpha(opacity=0);
  368. opacity: 0;
  369. transition: visibility, ease 0.5s, margin-top, ease 0.5s, opacity, ease 0.5s,
  370. rotate, ease 0.4s !important;
  371. }
  372.  
  373. :root:not([customizing]) :hover > #nav-bar,
  374. #nav-bar:focus-within,
  375. #urlbar[focused='true'],
  376. #identity-box[open='true'],
  377. #navigator-toolbox:hover > #nav-bar:not([customizing]),
  378. #toolbar-menubar:not([inactive='true']) ~ #nav-bar:not([customizing]) {
  379. visibility: visible;
  380.  
  381. margin-top: 0px;
  382. filter: alpha(opacity=100);
  383. opacity: 100;
  384. margin-bottom: -0.2px;
  385. }
  386. #PersonalToolbar {
  387. margin-top: 0px;
  388. }
  389. #nav-bar .toolbarbutton-1[open='true'] {
  390. visibility: visible;
  391. opacity: 100;
  392. }
  393.  
  394. :-moz-any(#content, #appcontent) browser {
  395. margin-right: -17px !important;
  396. overflow-y: scroll;
  397. margin-bottom: 0px !important;
  398. overflow-x: scroll;
  399. }
  400.  
  401.  
Add Comment
Please, Sign In to add comment