Guest User

my user chrome.css

a guest
Oct 22nd, 2026
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.78 KB | None | 0 0
  1. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  2. @namespace html url("http://www.w3.org/1999/xhtml");
  3.  
  4. /* ---- SETTINGS (fully quit Firefox to apply changes) ---- */
  5. html|html {
  6. --a: .35; /* toolbar, tabs, address bar opacity */
  7. --content: .45; /* page area tint */
  8. --solid: .6; /* focused address bar + findbar */
  9. --t: 20 20 26; /* tint colour (also update the sidebar hover at the bottom) */
  10.  
  11. --f: rgb(var(--t) / calc(var(--a) + .22));
  12.  
  13. /* Clear the theme's opaque frame */
  14. --lwt-accent-color: transparent !important;
  15. --lwt-accent-color-inactive: transparent !important;
  16. --toolbox-background-color-inactive: transparent !important;
  17. --chrome-content-separator-color: transparent !important;
  18. --tab-background-color-selected: var(--f) !important;
  19. --tab-background-color-hover: rgb(var(--t) / calc(var(--a) + .1)) !important;
  20. }
  21.  
  22. /* ---- Window and page containers ---- */
  23. html|html,
  24. html|body,
  25. #browser,
  26. #appcontent,
  27. #tabbrowser-tabbox,
  28. #tabbrowser-tabpanels,
  29. browser {
  30. background: transparent !important;
  31. }
  32.  
  33. /* ---- Toolbar band ---- */
  34. #navigator-toolbox {
  35. background-color: rgb(var(--t) / var(--a)) !important;
  36. background-image: none !important;
  37. border-bottom: none !important;
  38. box-shadow: none !important;
  39. }
  40.  
  41. #titlebar,
  42. #toolbar-menubar,
  43. #TabsToolbar,
  44. #tabbrowser-tabs,
  45. #nav-bar,
  46. #PersonalToolbar {
  47. appearance: none !important;
  48. background: transparent !important;
  49. box-shadow: none !important;
  50. border-color: transparent !important;
  51. }
  52.  
  53. /* ---- Text readability ---- */
  54. #TabsToolbar,
  55. #nav-bar,
  56. #PersonalToolbar,
  57. #sidebar-container {
  58. text-shadow: 0 1px 2px rgb(0 0 0 / .85) !important;
  59. }
  60.  
  61. #urlbar,
  62. #searchbar {
  63. text-shadow: none !important;
  64. }
  65.  
  66. /* ---- Address bar, findbar, tabs ---- */
  67. #urlbar-background {
  68. background-color: var(--f) !important;
  69. border-color: rgb(255 255 255 / .1) !important;
  70. }
  71.  
  72. #urlbar[focused="true"] > #urlbar-background,
  73. #urlbar[open] > #urlbar-background,
  74. .browserContainer > findbar {
  75. background-color: rgb(var(--t) / var(--solid)) !important;
  76. background-image: none !important;
  77. }
  78.  
  79. #tabbrowser-tabs .tabbrowser-tab[selected] .tab-background {
  80. background-color: var(--f) !important;
  81. background-image: none !important;
  82. }
  83.  
  84. /* ---- Page area tint ---- */
  85. .browserContainer {
  86. background-color: rgb(var(--t) / var(--content)) !important;
  87. }
  88.  
  89. /* ---- Sidebar ---- */
  90. #sidebar-container,
  91. #sidebar-box,
  92. html|sidebar-main {
  93. appearance: none !important;
  94. background: transparent !important;
  95. --sidebar-background-color: transparent !important;
  96. }
  97.  
  98. /* Hover colour must be a literal: keep in step with --t and --solid by hand */
  99. html|sidebar-main:hover {
  100. background: rgb(20 20 26 / .6) !important;
  101. }
Advertisement
Add Comment
Please, Sign In to add comment