Advertisement
Guest User

Untitled

a guest
Aug 30th, 2018
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.37 KB | None | 0 0
  1. /* AGENT_SHEET - TEMPLATE */
  2. @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
  3. @namespace html url("http://www.w3.org/1999/xhtml");
  4.  
  5. /* Place menu button and panel ui button at the left. Can't do this in customize mode. */
  6. #TabsToolbar > * { -moz-box-ordinal-group: 4 !important; }
  7. #tabbrowser-tabs { -moz-box-ordinal-group: 2 !important; }
  8. #new-tab-button { -moz-box-ordinal-group: 3 !important; }
  9. #tabGroups-tabview-button { -moz-box-ordinal-group: 5 !important; }
  10. #ctraddon_appbutton,
  11. #ctraddon_panelui-button { -moz-box-ordinal-group: 1 !important; }
  12.  
  13. /* Anonymous elements that do nothing. */
  14. #navigator-toolbox::after, #tabbrowser-tabs::before, .tabbrowser-tab::after, .tabbrowser-tab::before, .toolbar-primary::after {
  15. display: none !important;
  16. }
  17.  
  18. #page-proxy-favicon {
  19. -moz-image-region: rect(0px, 14px, 14px, 0px) !important;
  20. width: 14px !important;
  21. height: 14px !important;
  22. }
  23.  
  24. /*
  25. * Urlbar
  26. */
  27.  
  28.  
  29. #urlbar-container {
  30. min-width: 250px !important;
  31. background: inherit !important;
  32. }
  33.  
  34. #urlbar-wrapper {
  35. margin: 0 !important;
  36. padding: 0 !important;
  37. background: transparent !important;
  38. }
  39.  
  40. #urlbar {
  41. margin: 0 !important;
  42. padding: 0 0 0 0 !important;
  43. border: none !important;
  44. text-align: center;
  45. background: transparent !important;
  46. font-family: sans-serif !important;
  47. font-size: 12px !important;
  48. }
  49.  
  50. #back-button, #forward-button {
  51. display: none !important;
  52. }
  53.  
  54. #reader-mode-button[readeractive="true"] {
  55. filter: grayscale(100%) brightness(30) !important;
  56. }
  57.  
  58. #identity-icon {
  59. filter: grayscale(100%) !important;
  60. }
  61.  
  62. /* Hiding this in customize mode breaks that mode. */
  63. #main-window:not([customizing]) #nav-bar {
  64. /*display: none !important;*/
  65. }
  66.  
  67. #ctraddon_extra-bar, #customToolbars, #PersonalToolbar,
  68. #addon-bar, #nav-bar, #toolbar-menubar {
  69. padding: 0 !important;
  70.  
  71. }
  72.  
  73. .urlbar-history-dropmarker, #urlbar-go-button,
  74. #urlbar-reload-button, #urlbar-stop-button {
  75. display: none !important;
  76. }
  77.  
  78. #identity-icon-labels {
  79. display: none !important;
  80. }
  81.  
  82. #identity-box {
  83. width: 23px !important;
  84. height: inherit !important;
  85. min-width: 0 !important;
  86. min-height: 0 !important;
  87. border: 0 !important;
  88. border-radius: 0px !important;
  89. margin: 0 !important;
  90. padding: 0 !important;
  91. background: transparent !important;
  92. }
  93.  
  94. #tracking-protection-icon, #connection-icon {
  95. display: none !important;
  96. }
  97.  
  98. #notification-popup-box {
  99. position: static !important;
  100. background: #ffffff !important;
  101. padding: 0 !important;
  102. border-radius: 0 !important;
  103. border: none !important;
  104. margin: 0 !important;
  105. }
  106.  
  107. #identity-icon {
  108. display: none;
  109. }
  110.  
  111. #page-proxy-favicon[pageproxystate="invalid"] {
  112. opacity: 0.3 !important;
  113. }
  114.  
  115. /* hide url bar */
  116.  
  117. #nav-bar:not(:focus-within) {
  118. transition: margin-top 0.05s;
  119. margin-top: -21px !important;
  120. opacity: 0 !important;
  121. }
  122.  
  123. /*
  124. * Toolbars
  125. */
  126.  
  127. .toolbar-primary,
  128. #TabsToolbar,
  129. .browserContainer > findbar {
  130. height: 18px !important;
  131. padding: 0 !important;
  132. margin: 0 !important;
  133. background: #000000 !important;
  134. -moz-appearance: none !important;
  135. transition: none !important;
  136. }
  137.  
  138. #tabs-closebutton, #ctraddon_tabs-closebutton, #alltabs-button,
  139. #private-browsing-indicator {
  140. display: none !important;
  141. }
  142.  
  143. /*
  144. * Tabs
  145. */
  146.  
  147. .tab-label {-moz-box-flex: 1 !important; text-align: center !important;}
  148.  
  149. #tabbrowser-tabs {
  150. min-height: 0 !important;
  151. background: transparent !important;
  152.  
  153. }
  154.  
  155. .tabbrowser-tab {
  156. background: transparent !important;
  157. font-family: kakwafont, Zpix !important;
  158. font-size: 12px !important;
  159. color: #777777!important;
  160. border: none !important;
  161. padding: 0 0 0 0 !important;
  162. }
  163.  
  164. .tabbrowser-tab > .tab-stack {
  165. padding: 0 0 0 18px !important;
  166. text-align: center;
  167.  
  168. }
  169.  
  170. .tabbrowser-tab[selected=false] {
  171. font-weight: bold !important;
  172. }
  173.  
  174. .tab-background-start, .tab-background-end, .tab-icon {
  175. display: none !important;
  176. }
  177.  
  178. .tab-background-middle, .tab-background, .tab-content,
  179. .tab-text-stack, .arrowscrollbox-scrollbox {
  180. margin: 0 !important;
  181. padding: 0 !important;
  182. background: inherit !important;
  183. }
  184. /* Progressbar from tab mix plus. */
  185. .tab-progress {
  186. margin: 0 !important;
  187. }
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194. .tabbrowser-tab .tab-icon-image {
  195. display: none !important;
  196. }
  197.  
  198.  
  199.  
  200. .tabbrowser-tab[fadein]:not([pinned]) { min-width: 100px !important; max-width: /*180px*/ 100% !important; }
  201. tab {
  202. font-family: var(--tab-fonts) !important;
  203. height: var(--tab-height) !important; min-height: var(--tab-height) !important;
  204. background: var(--bg-dark) !important; color: var(--fg-dark) !important;
  205. font-size: var(--tab-font-size); text-shadow: none !important; text-align: var(--tab-text-align) !important;
  206. }
  207.  
  208. .tabbrowser-tab * {
  209. background: none !important; list-style-image: none !important;
  210. margin: 0 0 0 0 !important; padding: 0 0 0 0 !important;
  211. -moz-appearance: none !important;
  212. }
  213. .tabbrowser-tab[selected="true"] .tab-stack {
  214. background: #000000 !important; color: #ffffff !important;
  215. border-radius: 0px !important; position: relative !important;
  216. /*border-top: 1px solid #dc52a5 !important;/**/
  217. }
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224. /*
  225. * Toolbar buttons
  226. */
  227.  
  228. #TabsToolbar toolbarbutton,
  229. .browserContainer > findbar toolbarbutton {
  230. -moz-appearance: none !important;
  231. border-radius: 0 !important;
  232. box-shadow: none !important;
  233. padding: 0 1px 0 1px !important;
  234. margin: 0 !important;
  235. min-height: 0 !important;
  236. border: none !important;
  237. height: inherit !important;
  238. }
  239.  
  240. #TabsToolbar toolbarbutton > label {
  241. display: none !important;
  242. }
  243.  
  244. #TabsToolbar toolbarbutton > image,
  245. /* #addon-bar toolbarbutton > image */
  246. #PanelUI-menu-button > .toolbarbutton-badge-container > image {
  247. margin: 0 !important;
  248. padding: 0 !important;
  249. border: none !important;
  250. width: 14px !important;
  251. height: 14px !important;
  252. min-width: 0 !important;
  253. min-height: 0 !important;
  254. background: transparent !important;
  255. border-radius: 0 !important;
  256. box-shadow: none !important;
  257. }
  258.  
  259. #PanelUI-menu-button > .toolbarbutton-badge-stack {
  260. margin: 0 !important;
  261. padding: 0 !important;
  262. border: none !important;
  263. background: transparent !important;
  264. border-radius: 0 !important;
  265. box-shadow: none !important;
  266. }
  267.  
  268. #PanelUI-menu-button > .toolbarbutton-badge-stack > image {
  269. /* high-contrast white firefox icon */
  270. list-style-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" height="14" width="14"><path fill="%231a1a1a" d="m5.26 13.8c-1.9-0.4-3.51-1.6-4.28-3.2-0.631-1.25-0.952-2.08-0.867-4.06 0.107-2.45 0.819-4.04 1.9-5.25l0.51-0.569 0.07 1.02c0.0669 0.999 0.0773 1.02 0.453 1.07 0.295 0.0341 0.528-0.089 1-0.528 0.656-0.609 1.57-1.1 2.07-1.1 0.298-0.00299 0.296 0.00673-0.0983 0.652-0.22 0.36-0.5 0.89-0.61 1.18-0.21 0.51-0.21 0.52 0.14 0.66 0.195 0.0746 0.619 0.136 0.944 0.136s0.657 0.0809 0.738 0.18c0.23 0.28-0.26 0.94-0.98 1.33-0.63 0.34-0.64 0.36-0.64 1v0.659l-0.41-0.21c-0.76-0.4-0.94 0.11-0.29 0.77 0.52 0.52 1.02 0.52 2.07-0.01 0.94-0.48 1.24-0.51 1.55-0.16 0.33 0.37 0.28 0.69-0.15 0.88-0.21 0.09-0.6 0.36-0.88 0.61-0.45 0.39-0.86 0.57-1.82 0.77-0.53 0.12 0.88 0.67 1.71 0.67 1.26 0 2.62-0.86 3.22-1.96 0.5-0.95 0.4-2.31-0.3-3.33-0.2-0.29-0.3-0.52-0.3-0.52 0.153 0 0.995 0.742 1.27 1.12l0.331 0.452v-0.623c0-1.11-0.662-2.87-1.49-3.98l-0.33-0.472 0.73 0.402c2.3 1.27 3.8 4.26 3.3 6.87-0.4 2.44-2.2 4.64-4.44 5.44-0.97 0.3-2.92 0.4-4.1 0.1z"/></svg>') !important;
  271. -moz-image-region: rect(0px, 14px, 14px, 0px) !important;
  272. }
  273.  
  274.  
  275. toolbarbutton.tabs-newtab-button,
  276. toolbarbutton#new-tab-button {
  277.  
  278. display: none !important;
  279.  
  280. /* white plus icon */
  281. list-style-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" height="14" width="14"><path fill="%23000000" d="m7 11h-1v-1.5-1.5h-1.5-1.5v-1-1h1.5 1.5v-1.5-1.5h1 1v1.5 1.5h1.5 1.5v1 1h-1.5-1.5v1.5 1.5h-1z"/></svg>') !important;
  282. width: 12px !important;
  283. }
  284.  
  285. .scrollbutton-up, .scrollbutton-down,
  286. .browserContainer .findbar-find-previous.tabbable,
  287. .browserContainer .findbar-find-next.tabbable {
  288. /* right arrow triangle icon */
  289. list-style-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" height="14" width="14"><path fill="%23fff" d="m11.4 1.95 0.000001 5.05v5.05l-4.4-2.48-4.37-2.52 4.37-2.52z"/></svg>') !important;
  290. }
  291.  
  292. .browserContainer .findbar-find-previous {
  293. transform: rotate(90deg) !important;
  294. }
  295. .browserContainer .findbar-find-next {
  296. transform: rotate(-90deg) !important;
  297. }
  298.  
  299. .scrollbutton-up > .toolbarbutton-icon,
  300. .scrollbutton-down > .toolbarbutton-icon {
  301. -moz-appearance: none !important;
  302. }
  303.  
  304. /* Elements adjecent to scroll arrows (overflowing to tab). */
  305. .arrowscrollbox-overflow-end-indicator,
  306. .arrowscrollbox-overflow-start-indicator {
  307. display: none !important;
  308. }
  309.  
  310. /* Hover effect. */
  311. #identity-box:hover,
  312. .tabbrowser-tab:hover,
  313. #TabsToolbar toolbarbutton:hover,
  314. .browserContainer findbar toolbarbutton:hover {
  315. background: #979797 !important;
  316. opacity: 1 !important;
  317. box-shadow: none !important;
  318. transition-duration: 1ms !important;
  319. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement