Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 9.33 KB | None | 0 0
  1. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  2.  
  3.  
  4. /* Hide tab borders */
  5. :root {
  6.   --text-color: #323232;
  7.   --background-color: #fff;
  8.   --border: #a1a1a1;
  9. }
  10.  
  11. @namespace html url(http://www.w3.org/1999/xhtml);
  12. .textbox-input-box > html|*.textbox-input::placeholder {
  13.   color: var(--text-color) !important;
  14. }
  15.  
  16.  
  17. /* Hide separators between tabs */
  18. .tabbrowser-tab::before,
  19. .tabbrowser-tab::after,
  20. .titlebar-placeholder {
  21.   color: var(--background-color) !important;
  22.   border: none !important;
  23. }
  24.  
  25.  
  26. /* Url bar dropdown list */
  27. #PopupAutoCompleteRichResult{
  28.   margin-top: -0x !important;
  29. }
  30.  
  31.  
  32. #PopupAutoCompleteRichResult > richlistbox {
  33.   -moz-box-orient: horizontal !important;
  34.   overflow: hidden !important;
  35.   background-color: var(--background-color) !important;
  36. }
  37.  
  38. .ac-url-text, .ac-action-text {
  39.   color: var(--text-color) !important;
  40. }
  41.  
  42. #PopupAutoCompleteRichResult > richlistbox > richlistitem > hbox > description > description:not(.ac-url-text) {
  43.   color: var(--text-color) !important;
  44. }
  45.  
  46. #PopupAutoCompleteRichResult > richlistbox > richlistitem[selected] {
  47.   background-color: var(--background-color) !important;
  48. }
  49.  
  50.  
  51. /* Page loading throbber on tabs */
  52. .tab-throbber::before {
  53.   fill: var(--text-color) !important;
  54.   opacity: 1 !important;
  55. }
  56.  
  57. #tabbar .after-tabs {
  58.   display: none !important;
  59. }
  60.  
  61.  
  62. /* Hide SSL identity label */
  63. #identity-icon-labels{
  64.   display: none !important;
  65. }
  66.  
  67.  
  68. .tab-line {
  69.   display: none !important;
  70. }
  71.  
  72.  
  73. /* Change color of selected tab text */
  74. #TabsToolbar .tabbrowser-tab[selected] {
  75.   color: var(--text-color) !important;
  76. }
  77.  
  78.  
  79. /* Change Color of all tabs */
  80. .tab-background {
  81.   background-attachment: none !important;
  82.   background-color: var(--background-color) !important;
  83.   background-image: none !important;
  84. }
  85.  
  86.  
  87. /* Reduce width of pinned tabs by reducing the left and right padding */
  88. #TabsToolbar .tab-content[pinned] {
  89.   padding: 0 3px !important;
  90. }
  91.  
  92.  
  93. /* Move tabs over to right to make room for address bar */
  94. #TabsToolbar {
  95.   margin: 0 0 0 45vw !important;
  96.   height: 50px !important;
  97.   max-height: 30px !important;
  98.   padding-left: -5px !important;
  99.   background: var(--background-color) !important;
  100. }
  101.  
  102.  
  103. /* Move address bar to titlebar with tabs */
  104. #nav-bar {
  105.   margin: -31px 55vw -1px 35px !important;
  106.   height: 31px !important;
  107.   border-bottom: 1px solid var(--boder) !important;
  108.   background: var(--background-color) !important;
  109. }
  110.  
  111.  
  112. /* URL bar width adjustments */
  113. #urlbar-container {
  114.   border: none !important;
  115.   width: 500px !important;
  116. }
  117.  
  118. #urlbar {
  119.   background: none !important;
  120.   border: none !important;
  121.   margin-left: -2px !important;
  122.   min-width: 40px !important;
  123.   max-width: 10000px !important;
  124.   font-size: 12px !important;
  125.   height: 44px !important;
  126.   box-shadow: none !important;
  127.   color: var(--text-color) !important;
  128. }
  129.  
  130. #nav-bar textbox  {
  131.     max-width: 1000px !important;}
  132.  
  133. #urlbar:hover {
  134.   border: none !important;
  135.   box-shadow: none !important;
  136. }
  137.  
  138. #urlbar[focused="true"] {
  139.   border: none !important;
  140. }
  141.  
  142.  
  143. /* Hide bookmark folder icons */
  144. .bookmark-item > .toolbarbutton-icon {
  145.   display: none !important;
  146. }
  147.  
  148.  
  149. /* Increase bookmarks toolbar height */
  150. #PersonalToolbar {
  151.   margin-top: 2px !important;
  152.   height: 28px !important;
  153.   border-top: 1px solid var(--boder) !important;
  154. }
  155.  
  156.  
  157. /* Minor bookmarks toolbar spacing adjustments */
  158. #personal-bookmarks toolbarbutton.bookmark-item, #personal-bookmarks toolbarbutton {
  159.   box-shadow: none !important;
  160.   margin: -1px 0px -1px 2px !important;
  161.   padding: 0px 5px !important;
  162.   -moz-appearance: none !important;
  163. }
  164.  
  165. #personal-bookmarks toolbarbutton:hover {
  166.   -moz-appearance: none !important;
  167.   text-shadow: none !important;
  168.   color: var(--text-color) !important;
  169. }
  170.  
  171.  
  172. /* Remove line under address bar */
  173. #navigator-toolbox::after{
  174.   content: none !important;
  175. }
  176.  
  177.  
  178. /* Remove empty space before first tab
  179. Delete this rule if you need a space to drag the window*/
  180. #TabsToolbar .titlebar-placeholder[type="pre-tabs"]{
  181.   display: none !important;
  182.  
  183. }
  184.  
  185.  
  186. /* Affix hamburger menu to top right */
  187. #PanelUI-button{
  188. position: fixed !important;
  189.   top: 1px !important;
  190.   left: 4px !important;
  191. }
  192.  
  193. #new-tab-button{
  194.   position: fixed !important;
  195.   margin: 3px 0px 0px 0px !important;
  196.   padding-right: -10px !important;
  197. }
  198.  
  199.  
  200. /* Hide titlebar placeholder for caption buttons so that padding between tabs and address bar isn't as large */
  201. .titlebar-placeholder[type="caption-buttons"] {
  202.   -moz-box-ordinal-group: 1 !important;
  203.   display: none !important;
  204.   padding-left: -50px !important;
  205. }
  206.  
  207.  
  208. /* Findbar customization */
  209. @keyframes scale-in {
  210.     0% {
  211.  transform: scaleY(0);
  212.     }
  213.     100% {
  214.  transform: scaleY(1);
  215.     }
  216. }
  217.  
  218. @keyframes scale-out {
  219.     0% {
  220.  transform: scaleY(1);
  221.     }
  222.     100% {
  223.  transform: scaleY(0);
  224.     }
  225. }
  226.  
  227. .browserContainer {
  228.   position: relative !important;
  229. }
  230.  
  231. .browserContainer > findbar {
  232.   background: var(--background-color) !important;
  233.   border: none !important;
  234. }
  235.  
  236. findbar {
  237.   animation: 0.2s scale-in !important;
  238.   transform-origin: top center !important;
  239.   background-color: var(--background-color) !important;
  240.   padding: 6px 6px 6px 6px !important;
  241.   border: none;
  242.   position: absolute !important;
  243.   top: -2px !important;
  244.   right: 38px !important;
  245. }
  246.  
  247. findbar[hidden="true"] {
  248.   animation: 0.2s scale-out !important;
  249. }
  250.  
  251. findbar .findbar-container {
  252.   padding: 0 !important;
  253.   padding-inline-start: 0 !important;
  254.   padding-inline-end: 0 !important;
  255. }
  256.  
  257. findbar .findbar-container .findbar-textbox {
  258.   padding: 6px 8px !important;
  259.   background: var(--background-color) !important;
  260.   border: none;
  261.   box-shadow: none !important;
  262.   color: var(--text-color) !important;
  263. }
  264.  
  265. findbar .findbar-container .findbar-find-previous,
  266. findbar .findbar-container .findbar-find-next {
  267.   background: var(--background-color) !important;
  268.   background-color: var(--background-color) !important;
  269.   border: none;
  270. }
  271.  
  272. findbar .findbar-container .findbar-find-previous:hover,
  273. findbar .findbar-container .findbar-find-previous:focus,
  274. findbar .findbar-container .findbar-find-next:hover,
  275. findbar .findbar-container .findbar-find-next:focus {
  276.   background-color: var(--background-color) !important;
  277. }
  278.  
  279. findbar .findbar-button {
  280.   color: var(--text-color);
  281.   border: none;
  282.   border-radius: var(--toolbarbutton-border-radius) !important;
  283. }
  284.  
  285. findbar .findbar-closebutton {
  286.   margin-right: 4px !important;
  287.   padding-inline-end: 0 !important;
  288.   position: relative !important;
  289.   top: 6px !important;
  290. }
  291.  
  292.  
  293. /*Darken panels*/
  294. .panel-arrow {
  295.   filter: invert(99%) !important;
  296.   opacity: .2 !important;
  297. }
  298.  
  299. .subviewbutton:hover,
  300. .toolbarbutton-1:hover,
  301. #appMenu-zoomReset-button:hover {
  302.   color:var(--text-color) !important;
  303.   background-color: transparent !important;
  304. }
  305.  
  306. .panel-subview-body,
  307. #appMenu-zoomReset-button {
  308.   color: var(--text-color) !important;
  309.   background: var(--background-color) !important;
  310.   box-shadow: none !important;
  311.   text-shadow: none !important;
  312. }
  313.  
  314. .panel-subview-footer,
  315. [class^="PanelUI-"] {
  316.   color: var(--text-color) !important;
  317.   background: var(--background-color) !important;
  318. }
  319.  
  320.  
  321. /*stops possible clashes with extension popups*/
  322. .webextension-popup-browser {
  323.   background: var(--background-color) !important;
  324. }
  325.  
  326.  
  327. /*  Right click menu */
  328. menupopup,
  329. popup,
  330. popup > menu > menupopup,
  331. menupopup > menu > menupopup {
  332.   -moz-appearance: none !important;
  333.   background: var(--background-color) !important;
  334.   padding: 2px 0px 2px 0px  !important;
  335.   box-shadow: none !important;
  336. }
  337.  
  338. menupopup menuseparator {
  339.   -moz-appearance: none !important;
  340.   border-bottom: 1px solid var(--boder) !important;
  341.   margin: 3px 0px 5px 0px !important;
  342.   padding: 0px !important;
  343. }
  344.  
  345. menupopup menu,
  346. menuitem{
  347.   -moz-appearance: none !important;
  348.   color: var(--text-color)!important;
  349. }
  350.  
  351. menupopup menu:hover,
  352. menuitem:hover {
  353.   -moz-appearance: none !important;
  354.   color:var(--text-color) !important;
  355.   background-color: transparent !important;
  356. }
  357.  
  358.  
  359. /* Minimize white flash when loading some sites */
  360. browser[type="content-primary"],
  361. #content,
  362. browser[type="content"] > html {
  363.   background: var(--background-color) !important;
  364. }
  365.  
  366. .titlebar-placeholder[type="pre-tabs"] {
  367.   display:none !important;
  368. }
  369.  
  370. .titlebar-placeholder[type="post-tabs"] {
  371.   display:none !important;
  372. }
  373.  
  374. #titlebar-placeholder-on-TabsToolbar-for-captions-buttons {
  375.   display: none !important;
  376. }
  377.  
  378. #TabsToolbar {
  379.   padding-inline-start: 0px !important;
  380. }
  381.  
  382. #tabbrowser-tabs {
  383.   border-inline-start-width: 0px !important;
  384. }
  385.  
  386.  
  387. /* Remove window buttons (Close, Minimize, Fullscreen) */
  388. #titlebar {
  389.   display: none !important;
  390. }
  391.  
  392. /* Things to test */
  393.  
  394. .tab-stack {
  395.   min-height: 29px; !important;
  396.   margin-bottom: 1px !important;
  397. }
  398.  
  399. #back-button, #forward-button { display: none !important; }
  400.  
  401. findbar .textbox-input-box {
  402.     margin-left: 12px !important;
  403. }
  404.  
  405. /* Set drop-down width */
  406. #PopupAutoCompleteRichResult {
  407.   --item-padding-start: 0 !important;
  408.   max-width: 585px !important;
  409.   margin-left: 0 !important;
  410. }
  411.  
  412. .tabbrowser-tab[fadein]:not([pinned]) { min-width: 40px !important; max-width: 150px !important; }
  413.  
  414. /* Minimize white flash when loading some sites */
  415. browser[type="content-primary"], #content, browser[type="content"] > html {
  416.      background: #F9F9FA !important;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement