Advertisement
Guest User

userChrome

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