Advertisement
an_owl

userChrome.css

Nov 20th, 2017
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.15 KB | None | 0 0
  1. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  2. /*https://pastebin.com/bRNs2S9B*/
  3.  
  4. /* ---------------------------- TABS ---------------------------- */
  5.  
  6. /* hide decorative line above tabs */
  7. .tab-line {
  8.     display: none;
  9. }
  10.  
  11. /* hide left tab bar gap */
  12. .titlebar-placeholder[type="pre-tabs"] {
  13.     width: 0 !important;
  14.     opacity: 0 !important;
  15. }
  16.  
  17. /* hide right tab bar gap. 3px prevents visual bug */
  18. .titlebar-placeholder[type="post-tabs"] {
  19.     width: 3px !important;
  20. }
  21.  
  22. /* experimenting with ways to hide window controls, doesn't work */
  23. .titlebar-placeholder[type="caption-buttons"], #window-controls {
  24. /*  background: #3C3C3C !important; */
  25. /*  display: none !important; */
  26. }
  27.  
  28. /* inactive tab text, background */
  29. .tabbrowser-tab:not([selected="true"]) {
  30.     color: #CCCACA !important;
  31. }
  32.  
  33. /* inactive tab hover */
  34. .tabbrowser-tab:not([selected="true"]):hover {
  35. }
  36.  
  37. /* active tab text, background */
  38. .tabbrowser-tab[selected="true"] {
  39.     color: #CCCACA !important;
  40.     border-bottom: none !important;
  41. }
  42.  
  43.  
  44. /* hide favicons */
  45. .tabbrowser-tab .tab-icon-image {
  46.     display: none !important;
  47. }
  48.  
  49. /* show favicons on pinned tabs though */
  50. .tabbrowser-tab[pinned]:not([busy="true"]) .tab-icon-image {
  51.     display: block !important;
  52. }
  53.  
  54. .tabbrowser-tab[pinned] {
  55.     display: -moz-box !important;
  56. }
  57.  
  58. /* hide vertical tab separators */
  59. .tabbrowser-tab::after, .tabbrowser-tab::before {
  60.     border: none !important;
  61. }
  62.  
  63. /* disable tab text overflow fading */
  64. .tab-label-container[textoverflow]:not([pinned]) {
  65.     mask-image: unset !important;
  66. }
  67.  
  68. /* up to full width tabs */
  69. .tabbrowser-tab:not([pinned]) {
  70.     min-width: 0px !important;
  71. /*  max-width: 100% !important;  */
  72. }
  73.  
  74. /* ------------------------- ADDRESS BAR ------------------------- */
  75.  
  76. /* hide various buttons */
  77. #back-button,
  78. #forward-button,
  79. .tab-close-button,
  80. #pageAction-urlbar-jid1-xufzosoflzsoxg_jetpack,
  81. #pageActionSeparator,
  82. #pageActionButton,
  83. #alltabs-button,
  84. .urlbar-history-dropmarker {
  85.     display: none;
  86. }
  87.  
  88. /* hide border highlight on active urlbar, colour urlbar like container */
  89. #urlbar {
  90.     border-color: transparent !important;
  91.     background-color: inherit !important;
  92. }
  93.  
  94. /* hide line between navbar and tabs */
  95. #nav-bar {
  96.     box-shadow: none !important;
  97. }
  98.  
  99. /* hide line below navbar */
  100. :root {
  101.     --toolbox-border-bottom-color: none !important;
  102. }
  103.  
  104. #reader-mode-button[readeractive="true"] {
  105.     filter: grayscale(100%) brightness(30) !important;
  106. }
  107.  
  108. #identity-icon,
  109. #identity-icon-labels {
  110.     display: none !important;
  111. }
  112.  
  113. #identity-box {
  114.     padding: 0px !important;
  115.     border-right: 0px solid !important;
  116. }
  117.  
  118. /* ---------------------------- MISC ---------------------------- */
  119.  
  120. /* hide context menu items */
  121. #context-viewpartialsource-selection {
  122.     display: none;
  123. }
  124.  
  125. /* consistency for my VS borders */
  126. #main-window[sizemode="normal"] {
  127. /*  margin-top: 7px !important; */
  128.     margin-top: 2px !important;
  129. }
  130.  
  131. #overflowMenu-customize-button {
  132.     display: none !important;
  133. }
  134.  
  135.  
  136. #TabsToolbar {
  137. /*  visibility: collapse !important; */
  138. }
  139.  
  140. #titlebar {
  141. /*  display: none !important; */
  142. }
  143.  
  144. #navigator-toolbox {
  145. /*  display: none !important; */
  146. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement