Advertisement
Guest User

userChrome.css

a guest
Mar 23rd, 2023
1,591
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 11.44 KB | Source Code | 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. /*  Oneline hack  */
  10. :root {--navbarWidth: 350pt; --animationSpeed: .15s}
  11. @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}}
  12. @media screen and (min-width:750px) 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: 35vw !important} #nav-bar{ margin-right: 65vw !important; vertical-align: center!important}  #urlbar-container{min-width: 0px !important} toolbarspring{display: none !important;}}
  13. @media screen and (max-width:750px) {:root #nav-bar{transition: var(--animationSpeed)!important; padding: 0 80px 0 5px!important} #TabsToolbar,#nav-bar{transition: var(--animationSpeed)!important}toolbarspring{display: none !important;}}
  14. #nav-bar, #PersonalToolbar{background-color: #0000 !important;background-image: none !important; box-shadow: none !important}
  15. #nav-bar{margin-left: 3px;}
  16.  
  17. /*  Removes rounding from the top corners,   */
  18. #navigator-toolbox{appearance: none !important; border-radius: 0 !important}
  19. #navigator-toolbox-background{background-color: Field !important; background-image: none !important;  appearance: none !important; border-radius: 0 !important}
  20.  
  21. /*  Fixes the customization page  */
  22. #customization-panelWrapper {max-width: 30em!important}
  23.  
  24. /*  Removes annoying buttons and spaces */
  25. #back-button, #forward-button, #firefox-view-button, #save-to-pocket-button, #tracking-protection-icon-container, .titlebar-spacer[type="pre-tabs"], .titlebar-spacer[type="post-tabs"]{display: none}
  26. #tabbrowser-tabs{border-inline-start-width: 0!important}
  27.  
  28. /*  Makes some buttons nicer  */
  29. #PanelUI-menu-button, #unified-extensions-button, #reload-button, #stop-button {padding: 2px !important}
  30. #reload-button, #stop-button{margin: 1px !important;}
  31.  
  32. /* Newtab hack */
  33. #tabs-newtab-button, #new-tab-button{-moz-window-dragging: drag; opacity: 0; width: 60px !important;}
  34.  
  35. /*  Removes urlbar border/background  */
  36. #urlbar-background{border: none !important; outline: none !important; transition: .15s !important;}
  37.  
  38. /*  Cool animation on tab/bookmark icons  */
  39. .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}
  40. .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}
  41. .tabbrowser-tab:not([hover]) .tab-icon-image,.bookmark-item:not([hover]) .toolbarbutton-icon{padding-left: 0!important}
  42.  
  43. /*  Removes space after pinned tabs  */
  44. #tabbrowser-tabs[haspinnedtabs]:not([positionpinnedtabs])>#tabbrowser-arrowscrollbox>.tabbrowser-tab[first-visible-unpinned-tab] {margin-inline-start: 0!important}
  45.  
  46. /*  Removes the x-button from the tabs  */
  47. .tab-close-button{display: none !important}
  48.  
  49. /*  Removes annoying border  */
  50. #navigator-toolbox{border:none !important;}
  51.  
  52. /*  Titlebar button fix#6322  */
  53. .titlebar-buttonbox-container{-moz-box-ordinal-group: auto;}
  54.  
  55. /*  Titlebar buttons  -  Minimize button  */
  56. .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}
  57.  
  58. /*  Titlebar buttons  -  Maximize button  */
  59. .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}
  60.  
  61. /*  Titlebar buttons  -  Restore button  */
  62. .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}
  63.  
  64. /*  Titlebar buttons  -  Close button  */
  65. .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;}
  66.  
  67. /*  Alltabs button  */
  68. #TabsToolbar-customization-target {counter-reset: tabCount}.tabbrowser-tab {counter-increment: tabCount}
  69. #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}
  70. #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}
  71. #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}
  72.  
  73. /*  Removes the background from the urlbar while not in use  */
  74. #urlbar:not(:hover):not([breakout][breakout-extend])>#urlbar-background {box-shadow: none!important; background: #0000 !important}
  75.  
  76. /*  Urlbar popup thing  */
  77. .urlbarView-body-outer{max-height: 85pt !important; margin-bottom: 5px !important; overflow: hidden !important}
  78. @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;}
  79. #urlbar .search-setting-button{position: absolute !important; bottom: 10px; right: 5px}}
  80. .search-panel-one-offs-header.search-panel-header{display: none !important}
  81. @media screen and (min-width:1150px){.search-panel-one-offs{max-height: 23px !important;}}
  82. #urlbar-anon-search-settings{margin: 0 !important}
  83.  
  84. /*  Makes the space between the reload button and the urlbar less akwardly large  */
  85. #urlbar-container{margin-left: 1px !important}
  86.  
  87. /*  Makes the sidebar a little nicer  */
  88. #sidebar-splitter{display: none}
  89. #sidebar-header{padding-bottom: 0!important; border-bottom: 0!important}
  90.  
  91. /*  The thing in the bottom with links  */
  92. #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%;}
  93.  
  94. /*  Removes the annoying rainbow thing from the hamburger  */
  95. #appMenu-fxa-separator{border-image:none !important;}
  96.  
  97. /*  Navbar buttons order  */
  98. #nav-bar{direction: rtl;} #urlbar-container, #customizationui-widget-panel{direction: ltr !important;}
  99.  
  100. /*  Rounded corner in pages  */
  101. #navigator-toolbox{padding-bottom: 10px;}
  102. .browserStack>browser{margin: -10px 0 0 0!important; border-radius: 10px 10px 0 0}
  103. .browserStack:nth-last-child(3n)>browser, .browserStack:nth-last-child(4n)>browser{margin: -10px 0 !important; border-radius: 10px !important;}
  104. findbar{border-radius: 10px 10px 0 0 !important; margin-top: -10px; z-index: 2; padding-bottom: -10px;}
  105.  
  106. /*  Devtools  */
  107. .devtools-horizontal-splitter{margin-top: 7px !important;margin-bottom:-12px !important;opacity: 0;}
  108. .devtools-side-splitter{opacity: 0;}
  109. .devtools-toolbox-side-iframe{margin-top: -10px; border-radius: 10px;}
  110.  
  111. /*  Removes the reload/stop button  */
  112. #reload-button, #stop-button{display:none !important}
  113.  
  114. /*  Customizes the customization page  */
  115. #customization-container > *{margin-top: -10px; background-color: var(--toolbar-field-background-color) !important}
  116.  
  117. /*  Fixes the urlbar color on some themes  */
  118. #urlbar:not([open]){color: currentColor!important} #urlbar[open]{color: var(--toolbar-field-focus-color)}
  119.  
  120. /*  Makes sidebars nicer  */
  121. #sidebar-box{margin-top: -10px !important;border-radius: 10px 10px 0 0!important}
  122. #sidebar-box > *{background-image:none;}
  123.  
  124. /*  Drop menus  */
  125. [position="bottomright topright"]{--panel-border-radius: 0 5px 5px 5px!important}
  126. [position="bottomleft topleft"]{--panel-border-radius: 5px 0 5px 5px!important}
  127. [part="content"]{border: none !important;}
  128. .toolbarbutton-1[open]{--toolbarbutton-border-radius: 4px 4px 0 0!important;}
  129.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement