Advertisement
Guest User

Untitled

a guest
Aug 25th, 2021
449
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 7.33 KB | None | 0 0
  1. /* Remove  Left Scroller */
  2. @-moz-document url(chrome://browser/content/browser.xhtml) {#scrollbutton-up {display: none !important;}}
  3.  
  4. /* Fix shape */
  5. :root {
  6. --tab-border-radius: 0 !important;
  7. --tab-block-margin: 0 !important;}
  8. .tabbrowser-tab {
  9. padding-inline: 0 !important;}
  10. .tab-background {
  11. box-shadow: none !important;}
  12. .tabbrowser-tab{ /* separator */
  13. border-inline-end: 1px solid !important;}
  14. :root {--tab-min-height: 15px !important;} /* Min height */
  15.  
  16. /* Loading Animation */
  17. .tab-throbber[busy] {
  18. background-image: url("chrome://global/skin/icons/loading.png") !important;
  19. animation: unset !important;}
  20. .tab-throbber[busy]:not([progress]) { /* Grays circle during "Connecting" state */
  21. filter: grayscale(100%);}
  22.  
  23. /* Fix Audio Icon */
  24. .tabbrowser-tab:not([pinned]) .tab-icon-stack:is([muted],[soundplaying],[activemedia-blocked]){
  25. grid-template-areas: "a s";}
  26. .tabbrowser-tab:not([pinned]) .tab-icon-overlay:is([muted],[soundplaying],[activemedia-blocked]){ grid-area: s; }
  27. .tab-icon-overlay,.tab-icon-image{ opacity: 1 !important; }
  28. .tab-icon-overlay:not([pinned]){
  29. padding: 0px !important;
  30. margin-inline: -2px 1px !important;}
  31.  
  32. /* Close Button */
  33. #main-window[uidensity="compact"] .tab-close-button { /* Shape */
  34. width: 24px !important;
  35. padding: 3px 5px !important;}
  36. .tabs-closebutton:hover, /* Red Color */
  37. .tab-close-button:hover {
  38. fill: red !important;}
  39. .tabbrowser-tab:not([pinned="true"]) > .tab-stack > .tab-content > .tab-close-button:not([selected="true"]) { /* Always show close icon' */
  40. display: initial !important;}
  41.  
  42.  /* Move close button (and favicon) closer to tab edge */
  43. .tab-icon-image[selected="true"] {
  44. margin-left: -6px !important;
  45. margin-right: 4px !important;}
  46.  .tab-icon-image:not([selected="true"]) {
  47. margin-left: -6px !important;
  48. margin-right: 4px !important;}
  49. .tab-close-button {margin-right: -8px !important;}
  50.  
  51. /* Dim Inactive tabs favicon */
  52. #TabsToolbar #tabbrowser-tabs .tabbrowser-tab[pending] .tab-content:not(:hover) .tab-icon-image{
  53. transition: filter 0.2s ease-in;
  54. opacity: 0.4 !important;}
  55.  
  56. /* Hide overflow shadows on tab bar */
  57. spacer[part="overflow-start-indicator"],
  58. spacer[part="overflow-end-indicator"] {display: none !important;}
  59.  
  60. /* Hide 'show all tabs' button */
  61. #tabbrowser-tabs ~ #alltabs-button {display: none !important;}
  62.  
  63. /* Remove space between Tab bar and windows control buttons */
  64. #TabsToolbar .titlebar-spacer[type="pre-tabs"],
  65. #TabsToolbar .titlebar-spacer[type="post-tabs"] {
  66.   display: none !important;}
  67.  
  68. /* Compact Windows Controls */
  69. .titlebar-button {
  70. padding-left: 6px !important;
  71. padding-right: 2px !important;}
  72.  
  73. /* Remove Tab Blur */
  74. .tab-label-container[textoverflow]:not([pinned]) {
  75.   mask-image: unset !important;}
  76.  
  77. /* Compact toolbar and main toolbar buttons */
  78.  
  79. #main-window[uidensity="compact"] #nav-bar-customization-target > toolbarpaletteitem > :is(toolbarbutton, toolbaritem),
  80. #main-window[uidensity="compact"] #nav-bar-customization-target > * {
  81. padding: 0 !important;
  82. padding-top: 0px !important;
  83. margin: 0 !important;
  84. }
  85.  
  86. #main-window[uidensity="compact"] #PanelUI-menu-button {
  87. padding-inline-end: 0 !important;
  88. }
  89.  
  90. #main-window[uidensity="compact"] {
  91. --toolbarbutton-outer-padding: 0px !important;
  92. --toolbarbutton-inner-padding: 0px !important;
  93. --bookmark-block-padding: 0px !important;
  94. }
  95.  
  96. .subview-subheader, panelview .toolbarbutton-1, .subviewbutton, .widget-overflow-list .toolbarbutton-1 {
  97. margin: 0 !important;
  98. padding: 2px !important;
  99. }
  100. .panel-subview-body {
  101. padding: 0px !important;
  102. }
  103.  
  104.  
  105. /* Outline */
  106. #back-button, #forward-button, #PanelUI-menu-button  {
  107.   border: 1px solid var(--chrome-content-separator-color) !important;
  108. }
  109.  
  110. /* No hover background */
  111. .toolbarbutton-1 {
  112.     --toolbarbutton-hover-background: none !important;
  113. }
  114.  
  115. /*Add background color */
  116. #back-button, #forward-button, #PanelUI-menu-button {
  117.   background-color: #e5e9f0 !important;
  118. }
  119.  
  120.  
  121.  
  122. /* Remove Border Above Tab bar When Windowed */
  123. #main-window:not([sizemode="maximized"]) #navigator-toolbox {
  124.   margin-top: -8px !important;
  125. }
  126.  
  127.  
  128. /* URL Bar Outline */
  129. #urlbar-background {
  130.   border: 1px solid var(--chrome-content-separator-color) !important;}
  131.  
  132. /* URL bar background color */
  133. #urlbar-background {
  134.   background-color: rgb(240, 240, 244) !important;}
  135.  
  136. /* URL bar suggestions hover color */
  137. :root {
  138.   --autocomplete-popup-hover-background: white !important;}
  139.  
  140. /* Remove thin white border around identity box */
  141. :root {
  142.   --urlbar-container-padding: 0px !important; /* do not remove 'px' */}
  143.  
  144. /* Border between identity box and url */
  145. #identity-icon-box {
  146.   border-inline-end: 1px solid #000;}
  147.  
  148. /* Remove shadow around expanded address bar */
  149. #urlbar[open] > #urlbar-background {
  150.   box-shadow: none !important;}
  151.  
  152. /* Megabar: disable breakout / expanding onto toolbar */
  153. #urlbar[breakout][breakout-extend] {
  154.   top: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important;
  155.   left: 0px !important;
  156.   width: calc(100% - 0px) !important;}
  157. #urlbar[breakout][breakout-extend] > #urlbar-background {
  158.   animation-name: unset !important;}
  159. #urlbar[breakout][breakout-extend] > #urlbar-input-container {
  160.   height: var(--urlbar-height) !important;
  161.   padding-block: unset !important;
  162.   padding-inline: 0px !important;}
  163.  
  164. /* disable space wasting inside popup around result items */
  165. #urlbar[breakout] #urlbar-results {
  166.   padding: 0px !important;
  167.   margin: 0px !important;}
  168.  
  169. /* Compact URL bar suggestions */
  170. .urlbarView{ margin-inline: 0 !important; width: auto !important; }
  171. .urlbarView-row{ padding: 0 2px !important; }
  172. .urlbarView-row-inner{ padding-inline-start: 0px !important; }
  173.  
  174. /* Results separator */
  175. .urlbarView-row + .urlbarView-row {
  176.   border-top: 1px solid lightgrey !important;
  177.   border-bottom: 1px solid transparent !important;}
  178. .urlbarView-body-inner {
  179.   border-top: 1px solid lightgrey !important;}
  180. #urlbar[breakout] #urlbar-results .urlbarView-row-inner {  
  181.   padding-top: 2px !important; 
  182.   padding-bottom: 2px !important; }
  183.  
  184. /* No overflow effect */
  185. #urlbar{
  186. overflow: hidden;}
  187.  
  188. /* Clean search engines area in urlbar Popup*/
  189. #urlbar .search-one-offs {
  190.   display: none !important;}
  191.  
  192. /* Fonts of the Megabr*/
  193. #urlbar-input { /* Address font */
  194. font-family: Arimo !important;
  195. font-size: 16px !important;}
  196. .urlbarView-title {  /* Title font */
  197. font-family: Arimo !important;
  198. font-size: 12px !important;}
  199.  
  200.  
  201. /* Remove paiddng before 1st item */
  202. #PersonalToolbar {
  203.   padding-inline: 0 !important;}
  204.  
  205. /* Bookmark item background color */
  206. #PlacesToolbarItems .bookmark-item image {
  207.   background-color: #d5d9e0 !important;}
  208.    
  209. /* Bookmarks bar separator */
  210. #PlacesToolbarItems > toolbarseparator::before {
  211.  margin-left: -2px !important;
  212.  margin-right: -2px !important;
  213. /* Make this separator line stretches all the way from the very top to the very bottom of the bookmarks bar? */
  214.  border-inline-start: 2px solid Black !important;
  215.  border-image-source: none !important;}
  216.  
  217. /* Decrease padding between bookmarks items and the bottom of the bar */
  218. #personal-toolbar-empty-description,
  219. #PersonalToolbar .toolbarbutton-1,
  220. toolbarbutton.bookmark-item:not(.subviewbutton) {
  221.   margin: 0 1px 0 !important;
  222.   padding: 0 !important;}
  223.  
  224. /* Padding between the title and folder icon */
  225. #PlacesToolbarItems > .bookmark-item > .toolbarbutton-icon[label]:not([label=""]) {
  226.   margin-inline-end: 1px !important; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement