Advertisement
geraldandy

backup 2 userchrome

Oct 17th, 2024 (edited)
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 8.69 KB | None | 0 0
  1. /* hide the search bar magnifying glass */
  2. #identity-box[pageproxystate=invalid] > .identity-box-button,
  3. .searchbar-search-button{ display: none }
  4.  
  5. /* hide the search with in urlbar */
  6. #urlbar-input::placeholder{ color: transparent }
  7.  
  8. /* hide firefox logo in new tab */
  9. .tabbrowser-tab .tab-icon-image {
  10.       display: none !important;
  11. }
  12.  
  13. /* HIDE URLBAR GO BUTTON */
  14. #urlbar-container :-moz-any(.urlbar-go-button, #urlbar-go-button){
  15.   visibility: collapse !important;
  16. }
  17.  
  18. /* hide new tab text in new tab */
  19. .tabbrowser-tab[label="New Tab"] label {
  20.   display: none !important;
  21. }
  22.  
  23. /* removes the glowy thing on the url bar */
  24. #nav-bar{ --toolbar-field-focus-border-color: transparent }
  25.  
  26. /* remove tracking protection icon url bar */
  27. #tracking-protection-icon-container {
  28. display: none;
  29. }
  30.  
  31. /* removes padlock */
  32. #identity-box:not(:hover) {
  33.     width: 1px !important;
  34.     min-width: 1px !important;
  35.     padding-left: 0px !important;
  36.     padding-right: 0px !important;
  37.     transition: all 200ms ease-in-out !important;
  38.     opacity:  0 !important;
  39. }
  40. #identity-box:hover {
  41.     width: calc(var(--urlbar-min-height) - 2px /* border */ - 2 * var(--urlbar-container-padding)) !important;
  42.     min-width: unset !important;
  43.     transition: all 200ms ease-in-out !important;
  44.     opacity:  1 !important;
  45. }
  46.  
  47. /* removes reader view */
  48. #reader-mode-button{ display: none }
  49.  
  50. /* remove containers in urlbar */
  51. #pageAction-urlbar-_testpilot-containers {display: none !important}
  52.  
  53. /* remove url bar star bookmark thingy */
  54. #star-button { display: none !important; }
  55.  
  56. /* remove the links from the bottom left */
  57. #statuspanel #statuspanel-label { display: none !important; }
  58.  
  59. /* remove the folder icon thing on the toolbar */
  60. #alltabs-button { display: none !important; }
  61.  
  62. /* userChrome.css */
  63. /* Classic layout that 86.4 percent of Firefox users actually want, with menu bar at the top, address bar, then bookmarks, then tab bar on bottom.  Modified from configs by u/ollietup https://www.reddit.com/r/FirefoxCSS/comments/11odffm/psa_incoming_changes_to_default_element/  Also thanks to MrOtherGuy to get the menu bar right, and Reddit user u/iamsonixx for the toolbar and tab height adjustments! */
  64.  
  65. #navigator-toolbox #nav-bar {
  66.     order: 1 !important;
  67. }
  68. #navigator-toolbox #PersonalToolbar {
  69.     order: 2 !important;
  70. }
  71. #tab-notification-deck {
  72.     order: 3 !important;
  73. }
  74. #titlebar{
  75.     order: 4 !important;
  76. }
  77.  
  78. /* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/tabs_on_bottom_menubar_on_top_patch.css made available under Mozilla Public License v. 2.0
  79. See the above repository for updates as well as full license text. */
  80.  
  81. /* Menubar on top patch - use with tabs_on_bottom.css */
  82. /* Only really useful if menubar is ALWAYS visible */
  83.  
  84. :root{ --uc-window-control-width: 0px !important }
  85.  
  86. #navigator-toolbox{ padding-top: none !important }
  87.  
  88. #toolbar-menubar{
  89. position: fixed;
  90. display: flex;
  91. top: var(--uc-titlebar-padding,0px);
  92. height: 46px;
  93. width: 100%;
  94. overflow: hidden;
  95. }
  96.  
  97. #toolbar-menubar > .titlebar-buttonbox-container{ height: 25px; order: 100; }
  98.  
  99. #toolbar-menubar > [flex]{ flex-grow: 100; }
  100. #toolbar-menubar > spacer[flex]{
  101. order: 99;
  102. flex-grow: 1;
  103. min-width: var(--uc-window-drag-space-width,20px);
  104. }
  105.  
  106. #toolbar-menubar .titlebar-button{ padding: 2px 17px !important; }
  107.  
  108. #toolbar-menubar .toolbarbutton-1 { --toolbarbutton-inner-padding: 3px }
  109.  
  110. /* SET TOOLBARS HEIGHT */
  111. /* Thanks to Reddit user u/iamsonixx for the toolbar and tab height adjustments! */
  112. #TabsToolbar,
  113. #nav-bar,
  114. #PersonalToolbar{
  115. height: 43px !important;
  116. margin: 0px !important;
  117. padding: 0px !important;}
  118. /* SET TABS HEIGHT */
  119. :root{
  120. --tab-min-height: 34px !important;
  121. --tab-max-height: 34px !important;}
  122.  
  123. /* make balhin the hamburger menu */
  124.  
  125. /* move control buttons */
  126. #TabsToolbar .titlebar-buttonbox-container {
  127.   position: fixed;
  128.   right: 0;
  129.   top: 0;
  130.   z-index: 3;
  131. }
  132.  
  133. /* move hmburuger buttons */
  134. #PanelUI-button {
  135.   position: fixed;
  136.   right: 1px;
  137.   top: 48px;
  138.   z-index: 2;
  139. }
  140.  
  141. /* adjust url bar width */
  142. #urlbar-container { max-width: 1760px !important;
  143. }
  144.  
  145. /* hide extensions but its still clickable */
  146. #unified-extensions-button{
  147.     width: 3px;
  148.     padding-inline: 0 !important;
  149. }
  150. #unified-extensions-button > .toolbarbutton-icon {
  151.     width: 0 !important;
  152. }
  153.  
  154. /*************************************************** NEEDS ADJUSTING **********************************************************************/
  155.  
  156. /* remove search bar highlight */
  157. @-moz-document url(chrome://browser/content/browser.xhtml) {
  158.   #urlbar-container {
  159.     --urlbar-container-height: var(--urlbar-height);
  160.   }
  161.  
  162.   #urlbar {
  163.     --urlbar-height: 32px !important;
  164.     --urlbar-toolbar-height: 32px !important;
  165.   }
  166.  
  167.   #urlbar,
  168.   #urlbar:hover,
  169.   #urlbar[focused="true"] {
  170.     border: 2px solid var(--lwt-toolbar-field-border-color, rgba(70, 130, 180, 0.75)) !important;
  171.     background-color: var(--lwt-toolbar-field-background-color, rgba(28, 171, 176, 0.1)) !important;
  172.     box-shadow: none !important;
  173.   }
  174.  
  175.   #urlbar-background,
  176.   #urlbar-input-container {
  177.     border: none !important;
  178.     background-color: transparent !important;
  179.     box-shadow: none !important;
  180.     backdrop-filter: blur(10px);
  181.   }
  182.  
  183.   #urlbar[open] > .urlbarView {
  184.     background: var(--lwt-toolbar-field-background-color, rgba(0, 0, 0, 0)) !important;
  185.     border: 1px solid var(--lwt-toolbar-field-border-color, rgba(0, 0, 0, 0)) !important;
  186.     border-top: none !important;
  187.     box-shadow: none !important;
  188.   }
  189. }
  190.  
  191. /* slighly round off the eddges of the url bar */
  192. #urlbar, .searchbar-textbox{
  193.     border-radius: 0.4em !important;
  194. }
  195.  
  196. /* make tabs bit more round */
  197. .tab-background, .tab-loading-burst { border: none !important; border-radius: 0.4em !important; }
  198.  
  199. /* Adjust transparency of background tabs */
  200. @-moz-document url(chrome://browser/content/browser.xhtml) {
  201.   /* Target background tabs */
  202.   .tab-background:not([selected="true"]) {
  203.     background-color: rgba(148, 157, 173, 0.1) !important;
  204.     backdrop-filter: blur(10px);
  205.     border: 1px solid rgba(148, 157, 173, 0.75) !important;
  206.   }
  207.  
  208. /* change active tab color */
  209. .tabbrowser-tab[selected="true"] .tab-background {
  210.      background-color: rgba(255, 255, 255, 0.1) !important;
  211. }
  212.  
  213. /* Adjust the active tab border */
  214. .tabbrowser-tab[selected="true"] .tab-background {
  215.     border: 2px solid rgba(251, 131, 165, 0.75) !important;
  216.     border-radius: 0.4em !important;
  217. }
  218.  
  219. #urlbar-input{
  220.     color: white !important;
  221. }
  222.    
  223. #page-action-buttons{
  224.     display:none !important;
  225. }
  226.  
  227. /* Change bookmark text color */
  228. #PlacesToolbarItems .bookmark-item {
  229.   color: #a52a2a !important;
  230. }
  231.  
  232. /* Remove favicon icons from bookmarks */
  233. #PlacesToolbarItems .bookmark-item .toolbarbutton-icon[src^="page-icon:"],
  234. #PlacesToolbarItems .bookmark-item .toolbarbutton-icon[src^="chrome://"],
  235. #PlacesToolbarItems .bookmark-item .toolbarbutton-icon[src^="http://"],
  236. #PlacesToolbarItems .bookmark-item .toolbarbutton-icon[src^="https://"] {
  237.   display: none !important;
  238. }
  239.  
  240. /* Adjust padding to compensate for removed icons */
  241. #PlacesToolbarItems .bookmark-item {
  242.   padding-left: 10px !important;
  243. }
  244.  
  245. /* Optional: Keep the folder icon for bookmark folders */
  246. /*
  247. #PlacesToolbarItems .bookmark-item[type="menu"] .toolbarbutton-icon {
  248.   display: inline-block !important;
  249. }
  250. */
  251.  
  252. .titlebar-close {
  253. list-style-image: url(chrome://browser/skin/window-controls/close-highcontrast.svg) !important;
  254. color: rgba(16, 80, 170, 0) !important;
  255. }
  256.  
  257. /* Change new tab button color */
  258. #tabs-newtab-button, #TabsToolbar #new-tab-button {
  259.   fill: rgb(70, 130, 180) !important;
  260. }
  261.  
  262. }
  263.  
  264. /* Change active tab text color */
  265. .tabbrowser-tab[selected="true"] .tab-label {
  266.   color: rgb(255, 138, 163) !important;
  267. }
  268.  
  269.  
  270.  
  271. @-moz-document url(chrome://browser/content/browser.xhtml){
  272.  
  273.   #browser,
  274.   #customization-container{ margin-bottom: var(--uc-bottom-toolbar-height,0px) }
  275.  
  276.   #PersonalToolbar{
  277.     position: fixed !important;
  278.     bottom: 0px;
  279.     display: flex;
  280.     width: 100%;
  281.     z-index: 1;
  282.   }
  283.   #personal-bookmarks{ flex-grow: 1; }
  284. }
  285.  
  286. #PanelUI-menu-button {
  287.     opacity: 0;
  288.     pointer-events: visible;
  289. }
  290.  
  291. #PanelUI-menu-button {
  292.     opacity: 0;
  293.     pointer-events: visible;
  294. }
  295.  
  296. #PanelUI-menu-button:hover {
  297.     background-color: #ccc; /* or any other color you prefer */
  298.     opacity: 1;
  299. }
  300.  
  301. /* Hide the initial tab */
  302. #tabbrowser-tabs .tabbrowser-tab:first-child {
  303.   display: none !important;
  304. }
  305.  
  306. /* Ensure the "New Tab" button is always visible */
  307. #tabs-newtab-button {
  308.   display: -moz-box !important;
  309. }
  310.  
  311. /* Hide new tab (plus) button */
  312. #tabs-newtab-button, #new-tab-button {
  313.     display: none !important;
  314. }
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
Tags: firefox
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement