Advertisement
tortious

04-16-2018 Current css

Apr 16th, 2018
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.75 KB | None | 0 0
  1. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  2.  
  3. /* Hides ... at the end of the address bar */
  4. #pageActionButton { display: none !important; }
  5. #back-button { display: none !important; }
  6. #forward-button { display: none !important; }
  7.  
  8. /*DISABLE WHITE FLASH OF DEATH*/
  9. browser[type="content-primary"], tabbrowser tabpanels, #appcontent > #content {
  10. background-color: var(--ui-basecolor) !important;
  11. }
  12.  
  13. /* REMOVE PAGE ACTIONS MENU */
  14. #pageActionButton {
  15. display: none !important;
  16. }
  17.  
  18. /* REMOVE THE FORWARD AND BACK BUTTONS */
  19. #back-button, #forward-button { display: none !important; }
  20.  
  21. /* this is the windows 10 popup right click theme */
  22.  
  23. menupopup {
  24. -moz-appearance: none !important;
  25. padding: 8px 2px 8px 2px !important;
  26. background-color: #2B2B2B !important;
  27. border: 1px #A0A0A0 solid !important;
  28. min-width: 280px !important;
  29. }
  30. menuseparator {
  31. -moz-appearance: none !important;
  32. border: none !important;
  33. padding: .5px 0px .5px 0px !important;
  34. margin: 4px 8px 4px 8px !important;
  35. background-color: #808080 !important;
  36. }
  37. menuitem, menu {
  38. -moz-appearance: none !important;
  39. color: white !important;
  40. padding: 7.5px 0px 7.5px 0px !important;
  41. }
  42. menuitem[disabled="true"], menuitem[disabled="true"] > .menu-text {
  43. color: gray !important;
  44. }
  45. menuitem:hover, menu:hover, menu[open="true"], menuitem[_moz-menuactive="true"] {
  46. -moz-appearance: none !important;
  47. padding: 7.5px 0px 7.5px 0px !important;
  48. background-color: #414141 !important;
  49. }
  50. menugroup {
  51. padding: 0px !important;
  52. background-color: transparent !important;
  53. }
  54. menuitem > .menu-text, menuitem > .menu-iconic-text {
  55. color: white !important;
  56. }
  57. menuitem[type="checkbox"] {
  58. padding-left: 8px !important;
  59. padding-top: 6.5px !important;
  60. padding-bottom: 6.5px !important;
  61. }
  62. menuitem[type="radio"] {
  63. padding-left: 8px !important;
  64. padding-top: 6.5px !important;
  65. padding-bottom: 6.5px !important;
  66. }
  67. menuitem[type="checkbox"] > .menu-iconic-text, menuitem[type="radio"] > .menu-iconic-text {
  68. padding-left: 5px !important;
  69. }
  70. menuitem[checked="true"][type="checkbox"] > .menu-iconic-left {
  71. padding: 7px 0px 0px 0px !important;
  72. border: solid white;
  73. border-width: 0 0 2px 2px;
  74. transform: rotate(-45deg) scale(.75);
  75. margin-bottom: 4px !important;
  76. }
  77. menuitem[checked="true"][type="radio"] > .menu-iconic-left {
  78. padding: 1px !important;
  79. border: solid white;
  80. height: 17px !important;
  81. border-radius: 100%;
  82. background: white;
  83. transform: scale(.5);
  84. }
  85. menucaption {
  86. background-color: transparent !important;
  87. color: white !important;
  88. }
  89. #ContentSelectDropdown > menupopup {
  90. background-image: none !important;
  91. }
  92. #ContentSelectDropdown {
  93. padding: 0px !important;
  94. }
  95. menulist {
  96. -moz-appearance: none !important;
  97. padding: 4px 4px 4px 4px !important;
  98. border: 2px solid #666666 !important;
  99. background-color: transparent !important;
  100. }
  101. menulist:hover {
  102. padding: 4px 4px 4px 4px !important;
  103. border: 2px solid #999999 !important;
  104. background-color: transparent !important;
  105. }
  106. menulist[open="true"] {
  107. border: 2px solid #666666 !important;
  108. background-color: #333333 !important;
  109. }
  110. #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 {
  111. padding: 0px !important;
  112. }
  113. .menu-iconic-left {
  114. -moz-appearance: none !important;
  115. padding: 0px 5px 0px 9px !important;
  116. }
  117. .menu-right {
  118. -moz-appearance: none !important;
  119. padding: 7.5px !important;
  120. margin-right: 6px !important;
  121. color: white !important;
  122. border: solid white;
  123. border-width: 0 2px 2px 0px;
  124. transform: rotate(-45deg) scale(.55);
  125. }
  126. tooltip {
  127. -moz-appearance: none !important;
  128. color: white !important;
  129. background-color: #2B2B2B !important;
  130. border: 1px solid #767676 !important;
  131. padding: 6.5px !important;
  132. }
  133.  
  134. /* Hide Scrollbar */
  135. #content browser
  136. {
  137. margin-right:-17px!important;
  138. overflow-y:scroll;
  139. overflow-x:hidden;
  140. }
  141.  
  142. /***MENU***/
  143. /*Menu to the left side*/
  144. #PanelUI-button,
  145. #customization-panel-container,
  146. #customization-panelWrapper .panel-arrow {
  147. -moz-box-ordinal-group: 0 !important;
  148. margin-right: -6px !important;
  149. margin-left: -4.5px !important;
  150. }
  151.  
  152. /* Remove containers name and symbol */
  153. #userContext-label, #userContext-indicator { display: none !important;}
  154.  
  155. #PanelUI-menu-button {list-style-image: url("Carbonfox.png") !important;}
  156.  
  157. #identity-icon {display: none !important;}
  158.  
  159. #identity-box {max-width: 0 !important;}
  160. .urlbar-history-dropmarker {display: none !important;}
  161. .urlbar-go-button {display: none !important;}
  162.  
  163. *|*.textbox-input::-moz-placeholder {opacity: 0 !important;}
  164.  
  165. #PanelUI-button,
  166. #customization-panel-container,
  167. #customization-panelWrapper .panel-arrow { -moz-box-ordinal-group: 0 !important;}
  168.  
  169. /* Panel UI */
  170. #PanelUI-button {background-position: 100% 0, calc(100% - 1px) 0, calc(100% - 2px) 0 !important;}
  171. #PanelUI-popup {margin-right:-350px!important;}
  172. #PanelUI-popup .panel-arrow {margin-right:340px!important;}
  173.  
  174.  
  175. -----#PanelUI-menu-button { display: none !important; }
  176.  
  177. /* Hides bookmark text for all bookmarks displayed in a toolbar */
  178. .bookmark-item > .toolbarbutton-text { display: none !important; }
  179.  
  180. /* Hidden menu items */
  181.  
  182. #widget-overflow-mainView > .panel-subview-body > toolbarseparator, .PanelUI-subView menuseparator, .PanelUI-subView toolbarseparator, .cui-widget-panelview menuseparator, .cui-widget-panel toolbarseparator {
  183. -moz-appearance: none;
  184. min-height: 0;
  185. border-top: 0px solid var(--panel-separator-color)!important;
  186. border-bottom: none;
  187. margin: 0px 0!important;
  188. padding: 0;
  189. }
  190.  
  191. #appMenu-fxa-container{
  192. display: none;
  193. }
  194.  
  195. #appMenu-zoom-controls{
  196. display: none;
  197. }
  198.  
  199.  
  200. #appMenu-fxa-label{
  201. display: none;
  202. }
  203.  
  204. #appMenu-edit-controls{
  205. display: none;
  206. }
  207.  
  208. #appMenu-print-button{
  209. display: none;
  210. }
  211.  
  212. #appMenu-more-button{
  213. display: none;
  214. }
  215. #appMenu-new-window-button,
  216. #appMenu-private-window-button,
  217. #appMenuRestoreLastSession,
  218. #appMenu-open-file-button,
  219. #appMenu-save-file-button,
  220. #appMenu-find-button {
  221. display: none;
  222. }
  223. #content browser
  224. {
  225. margin-right:-17px!important;
  226. overflow-y:scroll;
  227. overflow-x:hidden;
  228. }
  229.  
  230. /* Auto-hide bookmarks bar (show only on nav-bar hover) */
  231. #PersonalToolbar{
  232. opacity:0 !important;
  233. margin-top: -23px !important;
  234. transition: all 0.4s ease 0s !important;
  235. }
  236.  
  237. #navigator-toolbox:hover > #PersonalToolbar{
  238. visibility: visible !important;
  239. margin-top: 0px !important;
  240. transition: all 0.4s ease 0s !important;
  241. opacity: 1 !important;
  242. }
  243.  
  244. /* Sidebar min and max width removal */
  245. #sidebar {
  246. max-width: none !important;
  247. min-width: 0px !important;
  248. }
  249.  
  250. /* Remove close/max/min buttons on top of browser */
  251. #titlebar-buttonbox{display: none;}
  252.  
  253. #navigator-toolbox{padding-top:3px !important}
  254. #main-window[sizemode="maximized"] #navigator-toolbox{padding-top:10px !important;}
  255.  
  256. .tabbrowser-tab {
  257. --tab-min-width: 150px; /* Change this value for a different size. */
  258. -moz-box-flex: 0 !important;
  259. }
  260.  
  261. /* remove text in tabs and shrink size of tabs */
  262. .tab-label {
  263. display: none !important;
  264. }
  265.  
  266. .tabbrowser-tab {
  267. max-width: -45px !important;
  268. min-width: -45px !important;
  269. }
  270.  
  271. /* remove leftover space after closing tabs */
  272. .tab-label-container { display: none; }
  273. .tabbrowser-tab[fadein] { max-width: 0px !important; min-width: 0px !important;}
  274. .tab-icon-image { margin-inline-end: 0px !important; }
  275. .tab-content { padding: 6px !important; }
  276.  
  277. /* remove line between tabs */
  278. .tabbrowser-tab::after,
  279. .tabbrowser-tab::before {
  280. display: none !important;
  281. }
  282.  
  283. /* Hide tab close button */
  284. #TabsToolbar .close-icon {
  285. display: none !important;
  286. }
  287.  
  288. /* remove gap/line between bottom of tabs and url bar */
  289. #nav-bar { box-shadow: none !important; }
  290.  
  291. /* Remove border under navbar */
  292. #navigator-toolbox::after {
  293. border-bottom: 0px !important;
  294. }
  295. /* Remove border above navbar */
  296. #navigator-toolbox::after {
  297. border-top: 0px !important;
  298. }
  299.  
  300. #nav-bar {
  301. background: transparent !important;
  302. border: none !important;
  303. box-shadow: none !important;
  304. margin-top: -4px !important; border-top-width: -4px !important;
  305. margin-bottom: -2px !important; border-bottom-width: -2px !important;
  306. }
  307.  
  308. /* remove thin white line to left of menu button */
  309. #PanelUI-button{border-left:none !important;}
  310.  
  311. /* Move Tab-bar beside Nav-bar */
  312. #TabsToolbar {
  313. margin-left: 35vw !important;
  314. margin-right: -34px !important;
  315. max-height: 32px !important;
  316. }
  317.  
  318. #nav-bar {
  319. margin-bottom: 0px !important; /* remove navbar bottom 1px border */
  320. margin-top: -32px !important;
  321. margin-right: 65vw !important;
  322. border-top: none !important;
  323. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement