Advertisement
IxBlazarxI

FireFox CSS userChrome

Nov 23rd, 2024
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.67 KB | None | 0 0
  1. /* Background Image for the Toolbar */
  2. :root {
  3.     --shared-wallpaper: url('img/Wallpaper.png');
  4. }
  5.  
  6. #navigator-toolbox {
  7.     background: var(--shared-wallpaper) no-repeat center center fixed, transparent;
  8.     background-size: contain;
  9.     background-position: center 0px;
  10. }
  11.  
  12. /* Make Tabs and Toolbar Transparent */
  13. #TabsToolbar, #urlbar, #nav-bar, .tab-background, #titlebar {
  14.     background: transparent !important;
  15. }
  16.  
  17. /* Blur */
  18. #navigator-toolbox,
  19. #TabsToolbar,
  20. #urlbar,
  21. #nav-bar,
  22. .tabbrowser-tab,
  23. .toolbarbutton-1,
  24. #back-button,
  25. #forward-button,
  26. #search-container,
  27. #PersonalToolbar {
  28.     backdrop-filter: blur(10px) !important;
  29.     background: rgba(0, 0, 15, 0.5) !important;
  30. }
  31.  
  32. /* Address Bar Style */
  33. #urlbar {
  34.     color: #ffffff !important;
  35.     background: transparent !important;
  36. }
  37.  
  38. .tab-close-button.close-icon {
  39.     display: none;
  40. }
  41.  
  42. #urlbar[focused="true"] {
  43.     background-color: rgb(0, 0, 15) !important;
  44.     border-color: rgb(0, 0, 15) !important;    
  45. }
  46.  
  47. /* Tab Styling */
  48. .tabbrowser-tab[selected="true"] {
  49.     background: transparent !important;
  50.     color: #ffffff !important;
  51.     border: none !important;
  52. }
  53.  
  54. .tabbrowser-tab:not([selected="true"]) {
  55.     background: transparent !important;
  56.     color: #ffffff !important;
  57.     border: none !important;
  58. }
  59.  
  60. .tabbrowser-tab::after {
  61.     display: none !important;
  62. }
  63.  
  64. /* Toolbar Button Style */
  65. .toolbarbutton-1:hover {
  66.     background-color: transparent !important;
  67.     border: none !important;
  68.     box-shadow: none !important;
  69.     opacity: 0.5 !important;
  70. }
  71.  
  72. toolbarbutton {
  73.     transition: opacity 0.3s ease, background-color 0.3s ease;
  74. }
  75.  
  76. #back-button:hover,
  77. #forward-button:hover {
  78.     background-color: #333333 !important;
  79.     color: #ffffff !important;
  80. }
  81.  
  82. /* Unnecessary buttons */
  83. #nav-bar .toolbarbutton-1:not(#downloads-button),
  84. #star-button-box,
  85. #PersonalToolbar,
  86. #search-container,
  87. #tracking-protection-icon-box,
  88. #tracking-protection-icon-container,
  89. #downloads-button {
  90.     display: none !important;
  91. }
  92.  
  93. /* Window Control Buttons */
  94. .titlebar-button.titlebar-close,
  95. .titlebar-button.titlebar-min,
  96. .titlebar-button.titlebar-max,
  97. .titlebar-button.titlebar-restore {
  98.     color: rgb(0, 0, 15) !important;  
  99. }
  100.  
  101. #urlbar-background,#urlbar {
  102.     border-radius: 20px !important;
  103. }
  104.  
  105. #urlbar[focused="true"] {
  106.     border-radius: 20px !important;
  107. }
  108.  
  109. :root {
  110.   --urlbar-icon-border-radius: 20px !important;
  111. }
  112.  
  113. #alltabs-button {
  114.     display: none;
  115. }
  116.  
  117. #tabs-newtab-button {
  118.     display: none;
  119. }
  120.  
  121. .titlebar-color{
  122. color: AccentColorText;
  123. background-color: AccentColor;
  124. }
  125.  
  126. .tab-background{
  127. border-radius: 8px 5px !important;
  128. margin-bottom: 2px !important;
  129. margin-top: 1px !important;
  130. }
  131.  
  132. .tabbrowser-tab:not([selected=true]):not([multiselected=true]) .tab-background{
  133. background-color: color-mix(in srgb, currentColor 25%, transparent);
  134. }
  135.  
  136. menupopup > menu, menupopup > menuitem{
  137. padding-block: 2px !important;
  138. min-height: 0px !important;
  139. }
  140.  
  141. root{
  142. --arrowpanel-menuitem-padding: 2px !important;
  143. }
  144.  
  145. /* Window Control Buttons */
  146. .titlebar-button.titlebar-close,
  147. .titlebar-button.titlebar-min,
  148. .titlebar-button.titlebar-max,
  149. .titlebar-button.titlebar-restore {
  150.     color: #ffffff !important;
  151. }
  152.  
  153. /* Tabs Button */
  154. #tabs-newtab-button {
  155.     color: #ffffff !important;  /* Set the color to white */
  156. }
  157.  
  158. /* Fullscreen Button */
  159. #full-screen-button {
  160.     color: #ffffff !important;  /* Set the color to white */
  161. }
  162.  
  163. #urlbar *|input::placeholder {
  164.  content: "Gateway to the Internet!";
  165.  color: transparent !important;
  166.  opacity: 0 !important;
  167. }
  168.  
  169. #urlbar *|input::placeholder:hover {/**/}
  170.  
  171. #urlbar {
  172.     width: 50% !important;
  173.     left: -100px !important;
  174. }
  175.  
  176. /* URL bar glow */
  177. #urlbar {
  178.     color: #ffffff !important;
  179.     background: transparent !important;
  180.     border-radius: 20px !important;
  181.     position: relative;
  182.     overflow: hidden;
  183.     box-shadow: 0 0 20px rgb(0, 0, 144), 0 0 30px rgb(0, 0, 144), 0 0 40px rgb(0, 0, 144);
  184.     animation: blue-glow 1.5s ease-in-out infinite;
  185. }
  186.  
  187. @keyframes blue-glow {
  188.     0% {
  189.         box-shadow: 0 0 20px rgb(0, 0, 144), 0 0 30px rgb(0, 0, 144);
  190.     }
  191.     50% {
  192.         box-shadow: 0 0 40px rgb(0, 0, 144), 0 0 50px rgb(0, 0, 144);
  193.     }
  194.     100% {
  195.         box-shadow: 0 0 20px rgb(0, 0, 144), 0 0 30px rgb(0, 0, 144);
  196.     }
  197. }
  198.  
  199. /* Glow effect on focus */
  200. #urlbar[focused="true"] {
  201.     background-color: rgba(0, 0, 144, 0.2) !important;
  202.     box-shadow: 0 0 50px rgb(0, 0, 144), 0 0 40px rgb(0, 0, 144);
  203. }
  204.  
  205. /* Hover Glow Effect */
  206. #urlbar:hover {
  207.     box-shadow: 0 0 50px rgb(0, 0, 144), 0 0 60px rgb(0, 0, 144);
  208. }
  209.  
  210. /* Search Bar Blur */
  211. #urlbar-input {
  212.     filter: blur(4px);
  213. }
  214.  
Tags: CSS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement