Advertisement
F3R96

Firefox Userchrome

Nov 28th, 2024
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.51 KB | None | 0 0
  1. @import "WhiteSur/parts/buttons-fixes.css";
  2. @import "WhiteSur/parts/buttons.css";
  3. @import "WhiteSur/parts/csd.css";
  4. @import "WhiteSur/parts/custom-icons.css";
  5. @import "WhiteSur/parts/entries.css";
  6. @import "WhiteSur/parts/findbar.css";
  7. @import "WhiteSur/parts/headerbar-private-urlbar.css";
  8. @import "WhiteSur/parts/headerbar-urlbar.css";
  9. @import "WhiteSur/parts/headerbar.css";
  10. @import "WhiteSur/parts/icons.css";
  11. @import "WhiteSur/parts/popups-contents.css";
  12. @import "WhiteSur/parts/popups.css";
  13. @import "WhiteSur/parts/remove-white-flash.css";
  14. @import "WhiteSur/parts/scrollbars.css";
  15. @import "WhiteSur/parts/tabsbar.css";
  16. @import "WhiteSur/parts/titlebutton-light.css";
  17. @import "WhiteSur/parts/titlebutton-dark.css";
  18. @import "WhiteSur/parts/toolbox.css";
  19. @import "WhiteSur/parts/windows.css";
  20. @import "WhiteSur/color.css";
  21.  
  22.  
  23. /* Custom settings */
  24. @import "WhiteSur/customs/extension-menu-in-grid.css";
  25. /* @import "WhiteSur/customs/tab-preview-on-hover.css"; */
  26. @import "WhiteSur/customs/hide-single-tab.css";
  27. /* @import "WhiteSur/customs/mini-tabbar.css"; */
  28.  
  29. @namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
  30.  
  31. /* Remove button code */
  32. /* Set theme version text in customization panel */
  33.  
  34. #customization-footer::before {
  35. content: "Firefox White Sur theme (ATBC-compatible) ver. 2024-03-01";
  36. padding: 9px;
  37. }
  38. /*
  39. .tabbrowser-tab[label="New Tab"] .tab-content .tab-icon-image {
  40. display: none !important;
  41. }
  42.  
  43. .tabbrowser-tab[label="Private Browsing"] .tab-content .tab-icon-image {
  44. display: none !important;
  45. }
  46. */
  47.  
  48. /*favicon de pagina newtab*/
  49. .tab-icon-image[src="chrome://branding/content/icon32.png"] {
  50. content: url("safari\ start\ page.png") !important;
  51. }
  52. .tabbrowser-tab[label="New Tab"] {
  53. font-family: "SF Pro Text";
  54. }
  55.  
  56.  
  57. /* code to remove extensions icon */
  58. #unified-extensions-button{
  59. width: 3px;
  60. padding-inline: 0 !important
  61. }
  62. #unified-extensions-button > .toolbarbutton-icon {
  63. width: 0 !important;
  64. }
  65. /* code to remove extensions icon */
  66. * {
  67. font-family: "SF Pro Text" !important;
  68. font-size: 100%;
  69. }
  70. /* code to remove bookmark "star" icon form adressbar */
  71. #star-button-box { display:none !important; }
  72. /* code to remove bookmark "star" icon form adressbar */
  73.  
  74.  
  75. tab[label="New Tab"] label.tab-label {
  76. display: none !important;
  77. }
  78. tab[label="New Tab"] .tab-label-container:after {
  79. content: 'Start Page';
  80. }
  81. #email-link-button {
  82. content: url("share\ icon.png");
  83. transform: scale(0.6,0.6);
  84.  
  85.  
  86. }
  87.  
  88.  
  89. #firefox-view-button {
  90. content: url("tabs.png");
  91. transform: scale(0.6,0.6);
  92. }
  93.  
  94. /* code to remove hamburger menu */
  95. #PanelUI-menu-button {
  96.  
  97. display: none !important;
  98.  
  99. }
  100. /* code to remove hamburger menu */
  101.  
  102. @import "WhiteSur/customs/hide-single-tab.css"
  103.  
  104. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  105.  
  106. }
  107. @media (prefers-color-scheme: dark) {
  108. /* Invert icons color only for toolbar buttons */
  109. .toolbarbutton-icon,
  110. .button-box .toolbarbutton-icon,
  111. #nav-bar .toolbarbutton-icon,
  112. #identity-box > #identity-icon,
  113. #nav-bar #back-button .toolbarbutton-icon,
  114. #nav-bar #forward-button .toolbarbutton-icon,
  115. #new-tab-button .toolbarbutton-icon {
  116. filter: invert(1) brightness(1.2) !important;
  117. }
  118.  
  119. /* Prevent inversion of website icons */
  120. .tab-icon-image img,
  121. .tab-icon-image,
  122. #identity-box #identity-icon img {
  123. filter: none !important;
  124. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement