Advertisement
Guest User

modified userChrome.css

a guest
Apr 8th, 2023
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 12.84 KB | Software | 0 0
  1. #navigator-toolbox-background:-moz-window-inactive{filter: contrast(90%);}
  2.  
  3. /*  Removes flash before loading pages  */
  4. :root{--tabpanel-background-color: var(--toolbar-field-background-color) !important}
  5.  
  6. /*  Tab border radius  */
  7. :root{--tab-border-radius: 3px!important}
  8.  
  9. :root {--navbarWidth: calc(300pt + 180px); --animationSpeed: .15s}
  10. @media screen and (min-width:1325px){:root #nav-bar{margin-top: -44px!important; height: 44px!important; transition: var(--animationSpeed)!important} #TabsToolbar,#nav-bar{transition: var(--animationSpeed)!important} #TabsToolbar{margin-left: var(--navbarWidth)!important} #nav-bar{ margin-right: calc(100vw - var(--navbarWidth))!important; vertical-align: center!important}}
  11.  
  12. @media screen and (min-width:850px) and (max-width:1325px){:root #nav-bar{margin-top: -44px!important; height: 44px!important; transition: var(--animationSpeed)!important} #TabsToolbar,#nav-bar{transition: var(--animationSpeed)!important} #TabsToolbar{margin-left: 43vw !important} #nav-bar{ vertical-align: center!important; margin-right: calc(100vw - 43vw) !important;}  #urlbar-container{min-width: 0px !important} toolbarspring{display: none !important;}}
  13.  
  14.  
  15. @media screen and (max-width:850px) {:root #nav-bar{transition: var(--animationSpeed)!important; padding: 0 80px 0 5px!important} #TabsToolbar,#nav-bar{transition: var(--animationSpeed)!important}toolbarspring{display: none !important;}}
  16. #nav-bar, #PersonalToolbar{background-color: #0000 !important;background-image: none !important; box-shadow: none !important}
  17. #nav-bar{margin-left: 3px;}
  18.  
  19. /*  Removes rounding from the top corners,   */
  20. #navigator-toolbox{appearance: none !important; border-radius: 0 !important}
  21. #navigator-toolbox-background{background-color: Field !important; background-image: none !important;  appearance: none !important; border-radius: 0 !important}
  22.  
  23. /*  Fixes the customization page  */
  24. #customization-panelWrapper {max-width: 30em!important}
  25.  
  26. /*  Removes annoying buttons and spaces */
  27. #firefox-view-button, #save-to-pocket-button, #tracking-protection-icon-container, .titlebar-spacer[type="pre-tabs"], .titlebar-spacer[type="post-tabs"]{display: none !important}
  28. #tabbrowser-tabs{border-inline-start-width: 0!important}
  29.  
  30. /*  Makes some buttons nicer  */
  31. #PanelUI-menu-button, #unified-extensions-button{padding: 2px !important}
  32. #reload-button, #stop-button{margin: 1px !important;}
  33.  
  34. /* Newtab hack */
  35. #tabs-newtab-button, #new-tab-button{transition: .3s !important;color: transparent !important; fill: FieldText !important; background: none !important; opacity: 20%; width: 60px !important;}
  36. #tabs-newtab-button:hover, #new-tab-button:hover{transition: .3s !important; color: transparent !important; fill: FieldText !important; opacity: 90%; width: 60px !important;}
  37.  
  38. /*  Removes urlbar border/background  */
  39. #urlbar-background{border: none !important; outline: none !important; transition: .15s !important;}
  40.  
  41. /*  Cool animation on tab/bookmark icons  */
  42. .tabbrowser-tab:not([pinned]):not([selected]) .tab-icon-image ,.bookmark-item .toolbarbutton-icon{opacity: 0!important; transition: var(--animationSpeed)!important; width: 0!important; padding-left: 16px!important}
  43. .tabbrowser-tab:not([pinned]):hover .tab-icon-image,.bookmark-item:hover .toolbarbutton-icon{opacity: 100!important; transition: var(--animationSpeed)!important; display: inline-block!important; width: 16px!important; padding-left: 0!important}
  44. .tabbrowser-tab:not([hover]) .tab-icon-image,.bookmark-item:not([hover]) .toolbarbutton-icon{padding-left: 0!important}
  45.  
  46. /*  Removes space after pinned tabs  */
  47. #tabbrowser-tabs[haspinnedtabs]:not([positionpinnedtabs])>#tabbrowser-arrowscrollbox>.tabbrowser-tab[first-visible-unpinned-tab] {margin-inline-start: 0!important}
  48.  
  49. /*  X-button on the tabs  */
  50. .tabbrowser-tab:not(:hover) .tab-close-button{opacity: 0% !important; transition: .3s !important; display: -moz-box !important;}
  51. .tab-close-button[selected]:not(:hover){opacity: 45% !important; transition: .3s !important; display: -moz-box !important;}
  52. .tabbrowser-tab:hover .tab-close-button{opacity: 50%; transition: .3s !important; background: none !important; cursor: pointer; display: -moz-box !important;}
  53. .tab-close-button:hover{opacity: 100% !important; transition: .3s !important; background: none !important; cursor: pointer; display: -moz-box !important;}
  54. .tab-close-button[selected]:hover{opacity: 100% !important; transition: .3s !important; background: none !important; cursor: pointer; display: -moz-box !important;}
  55.  
  56. /*  Removes annoying border  */
  57. #navigator-toolbox{border:none !important;}
  58.  
  59. /*  Titlebar button fix#6322  */
  60. .titlebar-buttonbox-container{-moz-box-ordinal-group: auto;}
  61.  
  62. /*  Titlebar buttons  -  Minimize button  */
  63. /* Uncomment the following to show minimize button
  64. .titlebar-min {list-style-image: url("data:image/svg+xml,%3Csvg width='40' height='30' version='1.1' viewBox='0 0 40 30' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EVetro%3C/title%3E%3Crect transform='matrix(3.7795 0 0 3.7795 -39.998 -533.51)' x='14.552' y='145.13' width='2.6458' height='.26458' ry='3.1658e-6' fill='currentColor' style='paint-order:stroke fill markers'/%3E%3C/svg%3E%0A")!important;  border-radius: 0!important; margin: 0!important; padding: 0!important; border: 0!important; height: 100%!important; align-content: center!important; width: 56px!important; appearance: none!important}.titlebar-min:hover {background-color: color-mix(in srgb,currentColor 17%,transparent)!important}.titlebar-min:active {background-color: color-mix(in srgb,currentColor 30%,transparent)!important}
  65. */
  66. .titlebar-min {display: none!important}
  67.  
  68. /*  Titlebar buttons  -  Maximize button  */
  69. /* Uncomment the following to show maximize button
  70. .titlebar-max {list-style-image: url("data:image/svg+xml,%3Csvg width='40' height='30' version='1.1' viewBox='0 0 40 30' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EVetro%3C/title%3E%3Cpath transform='matrix(3.7795 0 0 3.7795 -101 -533.51)' d='m30.692 143.81v2.6458h2.6458v-2.6458zm0.26458 0.26459h2.1167v2.1167h-2.1167z' fill='currentColor' style='paint-order:stroke fill markers'/%3E%3C/svg%3E")!important;  border-radius: 0!important; margin: 0!important; padding: 0!important; border: 0!important; height: 100%!important; align-content: center!important; width: 56px!important; appearance: none!important}.titlebar-max:hover {background-color: color-mix(in srgb,currentColor 17%,transparent)!important}.titlebar-max:active {background-color: color-mix(in srgb,currentColor 30%,transparent)!important}
  71. */
  72. .titlebar-max {display: none!important;}
  73.  
  74. /*  Titlebar buttons  -  Restore button  */
  75. /* Uncomment the following to show restore button
  76. .titlebar-restore {list-style-image: url("data:image/svg+xml,%3Csvg width='40' height='30' version='1.1' viewBox='0 0 40 30' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EVetro%3C/title%3E%3Cpath d='m17.001 10.016v2h-2v8.0001h8.0001v-2h2v-8.0001zm0.99998 1h6v6h-0.99998v-4.9999h-4.9999zm-2 2h6v6h-6z' fill='currentColor' stroke-width='3.7795' style='paint-order:stroke fill markers'/%3E%3C/svg%3E%0A")!important;  border-radius: 0!important; margin: 0!important; padding: 0!important; border: 0!important; height: 100%!important; width: 56px!important; appearance: none!important}.titlebar-restore:hover {background-color: color-mix(in srgb,currentColor 17%,transparent)!important}.titlebar-restore:active {background-color: color-mix(in srgb,currentColor 30%,transparent)!important}
  77. */
  78. .titlebar-restore {display: none!important}
  79.  
  80. /*  Titlebar buttons  -  Close button  */
  81. .titlebar-close {list-style-image: url("data:image/svg+xml,%3Csvg width='40' height='30' version='1.1' viewBox='0 0 40 30' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EVetro%3C/title%3E%3Cpath transform='matrix(3.7796 0 0 3.7795 -165 -533.51)' d='m47.718 143.71-0.18707 0.18706 1.2294 1.2294-1.2294 1.2289 0.18707 0.18707 1.2294-1.2289 1.2289 1.2289 0.18707-0.18707-1.2289-1.2289 1.2289-1.2294-0.18707-0.18706-1.2289 1.2294z' fill='currentColor' style='paint-order:stroke fill markers'/%3E%3C/svg%3E%0A")!important; margin: 0 -6px 0 0!important; padding: 0!important; border: 0!important; border-radius: 0!important; height: 100%!important; width: 56px!important; appearance: none!important}.titlebar-close:hover {background-color: #f44!important;}.titlebar-close:active {background-color: #f33!important;}
  82.  
  83. /*  Alltabs button  */
  84. /*  uncomment the following if you want to see the tab-list button
  85. #TabsToolbar-customization-target {counter-reset: tabCount}.tabbrowser-tab {counter-increment: tabCount}
  86. #alltabs-button>.toolbarbutton-badge-stack>.toolbarbutton-icon {list-style-image: url("data:image/svg+xml,%3Csvg width='40' height='30' version='1.1' viewBox='0 0 40 30' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EVetro%3C/title%3E%3Cpath transform='translate(49,-60)' d='m-29 78.888-7.0703-7.0703 0.70703-0.70703 6.3633 6.3633 6.3633-6.3633 0.70703 0.70703-6.3633 6.3633z' fill='currentColor' style='paint-order:stroke fill markers'/%3E%3C/svg%3E"); overflow: hidden!important; padding: 0!important; border: 0!important; width: 40px!important; height: calc(100% + 1px)!important; margin: 0 -2px 0 0!important; transform: translate(20%,15%); padding: 0 3px}
  87. #alltabs-button>.toolbarbutton-badge-stack {position: relative!important; border-radius: 0!important; padding: 0!important; border: 0!important; height: calc(100% + 1px)!important; width: 56px!important; margin: 0-2px 0 0!important}
  88. #alltabs-button>.toolbarbutton-badge-stack::before {content: counter(tabCount); filter:contrast(500%)grayscale(100%); color: currentColor !important; position: absolute; bottom: 25%; left: 50%; transform: translate(-50%,-30%); padding: 0 3px}
  89. */
  90. #alltabs-button{display: none!important}
  91.  
  92. /*  Removes the background from the urlbar while not in use  */
  93. #urlbar:not(:hover):not([breakout][breakout-extend])>#urlbar-background {box-shadow: none!important; background: #0000 !important}
  94.  
  95. /*  Urlbar popup thing  */
  96. .urlbarView-body-outer{max-height: 85pt !important; margin-bottom: 5px !important; overflow: hidden !important}
  97. @media screen and (min-width:750px) and (max-width:1150px){.search-panel-one-offs{display: ruby-base-container !important;height: 56px !important; padding-right: 23px;}
  98. #urlbar .search-setting-button{position: absolute !important; bottom: 10px; right: 5px}}
  99. .search-panel-one-offs-header.search-panel-header{display: none !important}
  100. @media screen and (min-width:1150px){.search-panel-one-offs{max-height: 23px !important;}}
  101. #urlbar-anon-search-settings{margin: 0 !important}
  102.  
  103. /*  Makes the space between the reload button and the urlbar less akwardly large  */
  104. #urlbar-container{margin-left: 1px !important}
  105.  
  106. /*  Makes the sidebar a little nicer  */
  107. #sidebar-splitter{display: none}
  108. #sidebar-header{padding-bottom: 0!important; border-bottom: 0!important}
  109.  
  110. /*  The thing in the bottom with links  */
  111. #statuspanel-label{background-color: var(--toolbar-field-background-color)!important; border-color: transparent!important; border-radius: 5px !important; color: currentColor!important; margin: 0 0 2.5px 2px!important; padding: 5px!important; opacity: 100%;}
  112.  
  113. /*  Removes the annoying rainbow thing from the hamburger  */
  114. #appMenu-fxa-separator{border-image:none !important;}
  115.  
  116. /*  Navbar buttons order  */
  117. /* uncomment the following for navbar buttons
  118. #nav-bar{direction: rtl;} #urlbar-container, #customizationui-widget-panel{direction: ltr !important;}
  119. */
  120. #back-button, #forward-button{display: none}
  121.  
  122. /*  Rounded corner in pages  */
  123. #navigator-toolbox{padding-bottom: 10px;}
  124. .browserStack>browser{margin: -10px 0 0 0!important; border-radius: 10px 10px 0 0}
  125. .browserStack:nth-last-child(3n)>browser, .browserStack:nth-last-child(4n)>browser{margin: -10px 0 !important; border-radius: 10px !important;}
  126. findbar{border-radius: 10px 10px 0 0 !important; margin-top: -10px; z-index: 2; padding-bottom: -10px;}
  127.  
  128. /*  Devtools  */
  129. .devtools-horizontal-splitter{margin-top: 7px !important;margin-bottom:-12px !important;opacity: 0;}
  130. .devtools-side-splitter{opacity: 0;}
  131. .devtools-toolbox-side-iframe{margin-top: -10px; border-radius: 10px;}
  132.  
  133. /*  Customizes the customization page  */
  134. #customization-container > *{margin-top: -10px; background-color: var(--toolbar-field-background-color) !important}
  135.  
  136. /*  Fixes the urlbar color on some themes  */
  137. #urlbar:not([open]){color: currentColor!important} #urlbar[open]{color: var(--toolbar-field-focus-color)}
  138.  
  139. /*  Makes sidebars nicer  */
  140. #sidebar-box{margin-top: -10px !important;border-radius: 10px 10px 0 0!important}
  141. #sidebar-box > *{background-image:none;}
  142.  
  143. /*  Drop menus  */
  144. [position="bottomright topright"]{--panel-border-radius: 0 5px 5px 5px!important}
  145. [position="bottomleft topleft"]{--panel-border-radius: 5px 0 5px 5px!important}
  146. [part="content"]{border: none !important;}
  147. .toolbarbutton-1[open]{--toolbarbutton-border-radius: 4px 4px 0 0!important;}
  148.  
  149. /*  Identity-color  */
  150. [class*="identity-color"] > * > * .tab-context-line{border-radius: 0 0 5px 5px !important}
  151.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement