Advertisement
Guest User

Untitled

a guest
Mar 9th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.57 KB | None | 0 0
  1. @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
  2.  
  3. /* GENERAL */
  4.  
  5. /** DESCRIPTION : set the main font and others details **/
  6. * {
  7. font-family: "Roboto", "ぼくたちのゴシック2ボールド" !important;
  8. }
  9.  
  10. *::-moz-focus-inner {
  11. border: 0;
  12. }
  13.  
  14. html {
  15. overflow: auto;
  16. }
  17.  
  18. toolbarbutton#alltabs-button {
  19. -moz-binding: url("userChrome.xml#js");
  20. }
  21.  
  22. /* WINDOW */
  23.  
  24. /** DESCRIPTION : change the position of main window in normal/maximized/fullscreen mode **/
  25. #main-window:not([chromehidden*="toolbar"])[sizemode="normal"] {
  26. margin-top: 0px !important;
  27. margin-right: -2px !important;
  28. margin-bottom: -1px !important;
  29. margin-left: -1px !important;
  30. }
  31.  
  32. #main-window:not([chromehidden*="toolbar"])[sizemode="maximized"] {
  33. margin-top: -5px !important;
  34. margin-right: -1px !important;
  35. margin-bottom: -1px !important;
  36. margin-left: -1px !important;
  37. }
  38.  
  39. #main-window:not([chromehidden*="toolbar"])[sizemode="fullscreen"] {
  40. margin-right: -1px !important;
  41. margin-left: -1px !important;
  42. }
  43.  
  44. #PopupAutoCompleteRichResult .autocomplete-richlistbox {
  45. margin-left: -25px !important;
  46. }
  47.  
  48. /* TABS */
  49.  
  50. /** DESCRIPTION : change the appearance of the tabs and others elements **/
  51. #TabsToolbar {
  52.  
  53. /*** TABS TOOLBAR ***/
  54. background: transparent !important;
  55. margin-bottom: 0 !important;
  56. }
  57.  
  58. .tabbrowser-tabs:not([drag=detach]) > .tabbrowser-tab:not([pinned])[fadein] {
  59.  
  60. /*** TABS WIDTH (PINNED AND UNPINNED) ***/
  61. min-width: 10px !important;
  62. max-width: 300px !important;
  63. }
  64.  
  65. #TabsToolbar .tabbrowser-tabs .tab-content {
  66.  
  67. /*** THE TABS ***/
  68. border-style: solid !important;
  69. border-width: 0px 0px 0px 0px !important;
  70. box-shadow: none !important;
  71. font-family: 'Roboto', 'KFhimaji' !important;
  72. font-size: 13px !important;
  73. height: 30px !important;
  74. margin-top: 5px !important;
  75. margin-right: -1px !important;
  76. margin-bottom: -1px !important;
  77. margin-left: -1px !important;
  78. -moz-border-top-colors: none !important;
  79. -moz-border-left-colors: none !important;
  80. -moz-border-right-colors: none !important;
  81. -moz-border-bottom-colors: none !important;
  82. }
  83.  
  84. #TabsToolbar .tabbrowser-tab {
  85. background: #17181A !important;
  86. background-clip: padding-box !important;
  87. color: #E5E5E5 !important;
  88. padding: 15px 10px !important;
  89. transition: all 0.3s ease-in-out;
  90. }
  91.  
  92. #TabsToolbar .tabbrowser-tab:after,
  93. #TabsToolbar .tabbrowser-tab:before,
  94. #TabsToolbar .tab-background {
  95. display: none !important;
  96. }
  97.  
  98. .tabbrowser-tab:not([pinned]) {
  99. min-width: 260px !important;
  100. height: 53px !important;
  101. }
  102.  
  103. #tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
  104. min-height: 23px !important;
  105. }
  106.  
  107. #TabsToolbar .tabbrowser-tab[selected] {
  108. background: #242528 !important;
  109. color: rgba(229, 229, 229, 1) !important;
  110. padding-top: 15px !important;
  111. transition: all 0.3s ease-in-out;
  112. }
  113.  
  114. #TabsToolbar .tabbrowser-tab:hover:not([selected]) {
  115. border-color: rgba(0, 0, 0, 0) !important;
  116. transition: all 0.3s ease-in-out;
  117. }
  118.  
  119. .tab-label-container[textoverflow][labeldirection="ltr"]:not([pinned]),
  120. .tab-label-container[textoverflow]:-moz-locale-dir(ltr):not([labeldirection]):not([pinned]) {
  121. mask-image: none !important;
  122. }
  123.  
  124. description,
  125. label {
  126. font-size: 10pt !important;
  127. }
  128.  
  129. #tabbrowser-tabs tab .tab-close-button {
  130.  
  131. /*** CLOSE BUTTON ***/
  132. background: url('http://imgur.com/4GlrMN7.png') no-repeat 50% 50%;
  133. background-size: 20px auto !important;
  134. height: 0px !important;
  135. width: 0px !important;
  136. padding: 10px 0 0 10px !important;
  137. opacity: .7 !important;
  138. }
  139.  
  140. #tabbrowser-tabs tab .tab-close-button:hover {
  141. background: url("http://i.imgur.com/tssw3Nx.png") no-repeat 50% 50% !important;
  142. background-size: 20px auto !important;
  143. padding: 10px 0 0 10px !important;
  144. }
  145.  
  146. .tabs-newtab-button,
  147. #new-tab-button {
  148.  
  149. /*** NEW TAB BUTTON ***/
  150. display: none !important;
  151. }
  152.  
  153. .tab-icon-sound,
  154. .tab-icon-overlay,
  155. .tab-icon-sound[muted="true"] {
  156.  
  157. /*** SPEAKER ICON ***/
  158. display: none !important;
  159. }
  160.  
  161. .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]),
  162. .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
  163.  
  164. /*** COLLAPSE ARROWS ***/
  165. display: none !important;
  166. }
  167.  
  168. /* NAVBAR */
  169.  
  170. /** DESCRIPTION : change the appearance of the navbar and the elements within it **/
  171. #addon-bar,
  172. #PersonalToolbar,
  173. #nav-bar {
  174.  
  175. /*** ALL THE BARS ***/
  176. border: none !important;
  177. box-shadow: none !important;
  178. }
  179.  
  180. #nav-bar {
  181.  
  182. /*** NAVBAR ***/
  183. height: 40px;
  184. background-color: rgba(56, 57, 66, 1) !important;
  185. border: none !important;
  186. margin-bottom: -1px !important;
  187. }
  188.  
  189. #nav-bar #back-button > .toolbarbutton-icon {
  190.  
  191. /*** BACK BUTTON ***/
  192. background: url("http://i.imgur.com/tONrOjq.png") !important;
  193. background-repeat: no-repeat !important;
  194. background-size: 30px auto !important;
  195. background-position: center center !important;
  196. border: none !important;
  197. height: 0px;
  198. width: 0px;
  199. padding: 30px 0px 0px 15px !important;
  200. margin-top: -2px !important;
  201. margin-left: -4px;
  202. }
  203.  
  204. #back-button#back-button#back-button>image.toolbarbutton-icon {
  205. box-shadow: none !important;
  206. }
  207.  
  208. #forward-button {
  209.  
  210. /*** FORWARD BUTTON ***/
  211. background: url("http://i.imgur.com/fAZe280.png") !important;
  212. background-repeat: no-repeat !important;
  213. background-size: 30px auto !important;
  214. background-position: center center !important;
  215. border: none !important;
  216. width: 0px;
  217. height: 0px;
  218. padding: 30px 0px 0px 15px !important;
  219. margin-top: -1px !important;
  220. margin-right: 0px;
  221. margin-left: -10px !important;
  222. }
  223.  
  224. #back-button:hover,
  225. #forward-button:hover,
  226. #forward-button:focus,
  227. #back-button:focus {
  228. border: none !important;
  229. box-shadow: none !important;
  230. opacity: .6 !important;
  231. }
  232.  
  233. #searchbar > .searchbar-textbox,
  234. #urlbar {
  235.  
  236. /*** URLBAR ***/
  237. background: #383942 !important;
  238. border: 1px solid #383942 !important;
  239. box-shadow: none !important;
  240. color: rgb(229, 229, 229) !important;
  241. font-family: "Roboto" !important;
  242. height: 22px !important;
  243. padding: 0px !important;
  244. margin-top: -3px !important;
  245. margin-left: 0px !important;
  246. }
  247.  
  248. #urlbar * {
  249. font-family: 'Roboto' !important;
  250. font-size: 10pt !important;
  251. margin-top: 1px !important;
  252. }
  253.  
  254. #PanelUI-button {
  255.  
  256. /*** HAMBURGER ICON ***/
  257. width: 5px !important;
  258. margin-left: -28px !important;
  259. pointer-events: none !important;
  260. }
  261.  
  262. #PanelUI-button .button-icon,
  263. #PanelUI-button .button-text {
  264. display: none !important;
  265. }
  266.  
  267. #nav-bar-overflow-button {
  268.  
  269. /*** DROPDOWN ICON ***/
  270. list-style-image: url("https://i.imgur.com/OygFMxF.png") !important;
  271. padding-right: 10px !important;
  272. }
  273.  
  274. #identity-box,
  275. #dropmarker-icon,
  276. #historydropmarker,
  277. #autocomplete-history-dropmarker,
  278. #urlbar-history-dropmarker,
  279. #dropmarker,
  280. #autocomplete-history-dropmarker,
  281. #urlbar-history-dropmarker,
  282. #urlbar-reload-button,
  283. #urlbar-zoom-button,
  284. #plugins-notification-icon,
  285. #notification-anchor-icon,
  286. #notification-popup-box,
  287. .scrollbutton-up,
  288. .scrollbutton-down,
  289. #alltabs-button,
  290. .autocomplete-history-dropmarker.urlbar-history-dropmarker,
  291. .toolbarbutton-menubutton-dropmarker,
  292. #memfx-toolbar-button,
  293. #reload-button,
  294. .box-inherit.toolbarbutton-menubutton-button,
  295. .scrollbutton-up,
  296. .scrollbutton-down,
  297. #stop-button,
  298. #page-action-buttons {
  299.  
  300. /*** ICONS AND BUTTONS ***/
  301. display: none !important;
  302. }
  303.  
  304. #toolbarbutton-icon .Downloads,
  305. #downloads-indicator-icon,
  306. #downloads-indicator-progress-area,
  307. #downloads-button .button-text {
  308. visibility: hidden;
  309. }
  310.  
  311. #PanelUI-button,
  312. #customization-panel-container,
  313. #customization-panelWrapper .panel-arrow,
  314. #ctr_panelui-button,
  315. #wrapper-ctr_panelui-button {
  316. margin-top: 2px !important;
  317. -moz-box-ordinal-group: 0;
  318. }
  319.  
  320. #reader-mode-button,
  321. #bookmarks-menu-button,
  322. #PanelUI-button {
  323. list-style-image: none !important;
  324. }
  325.  
  326. menu.bookmark-item:not([query]):not([label="Bookmarks Toolbar"]),
  327. menuitem.bookmark-item,
  328. menu.bookmark-item:not([query]):not([label="Bookmarks Toolbar"])[open] {
  329. list-style-image: url("https://puu.sh/leYZ9/1769a4b8b7.ico") !important;
  330. -moz-image-region: rect(0 32px 32px 0) !important;
  331. }
  332.  
  333. #home-button .toolbarbutton-icon:hover {
  334. opacity: 1 !important;
  335. }
  336.  
  337. /** Scroll-bar **/
  338.  
  339. toolbarbutton#alltabs-button {
  340. -moz-binding: url("userChrome.xml#js");
  341. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement