Guest User

userChrome.css

a guest
Apr 21st, 2025
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.48 KB | None | 0 0
  1. /*userchrome.css for my Firefox, has some fun things */
  2.  
  3. .search-setting-button {
  4. display: none !important;
  5. }
  6.  
  7. .urlbar-go-button {
  8. display: none !important;
  9. }
  10.  
  11. /* Remove tab close button. Appear on hover with smooth transitions */
  12. .tabbrowser-tab:not([pinned]) .tab-close-button {
  13. display: -moz-box !important;
  14. opacity: 0;
  15. visibility: collapse !important;
  16. transition: all 200ms ease-in-out, fill 300ms cubic-bezier(0.645, 0.045, 0.355, 1) !important;
  17.  
  18. }
  19.  
  20. .tabbrowser-tab:not([pinned]):hover .tab-close-button {
  21. opacity: 1;
  22. visibility: visible !important;
  23. transition: all 200ms ease-in-out, fill 300ms cubic-bezier(0.645, 0.045, 0.355, 1) !important;
  24. }
  25. .tabbrowser-tab:not([pinned]):hover .tab-close-button:hover {
  26. fill: #FF0000 !important;
  27. transition: all 200ms ease-in-out, fill 300ms cubic-bezier(0.645, 0.045, 0.355, 1) !important;
  28. }
  29.  
  30. /* Fix mask size */
  31. .tabbrowser-tab {
  32. --tab-label-mask-size: 1em !important;
  33. }
  34.  
  35. .close-icon{
  36. transition: fill 300ms cubic-bezier(0.645, 0.045, 0.355, 1) !important;
  37. }
  38. .close-icon:hover {
  39. fill: #FF0000 !important;
  40. }
  41.  
  42. .tab-background{
  43. border-radius: 4px !important;
  44. border: transparent !important;
  45. }
  46. .tab-background[selected="true"] {
  47. background: linear-gradient(to right, rgb(159, 26, 255, 0.3), rgb(159, 26, 255, 0.3), rgb(138, 70, 255, 0.3), rgb(118, 93, 255, 0.3), rgb(93, 125, 255, 0.3), rgb(62, 140, 255, 0.3), rgb(28, 153, 255, 0.3), rgb(0, 165, 255, 0.3), rgb(0, 180, 255, 0.3), rgb(0, 195, 255, 0.3), rgb(0, 208, 255, 0.3), rgb(0, 221, 255, 0.3)) no-repeat !important;
  48.  
  49. }
  50.  
  51. /*container indicator bar to the sides of the tab */
  52. #tabbrowser-tabs .tab-context-line {
  53. display: none;
  54. }
  55.  
  56. .tabbrowser-tab[class*="identity-color-"] .tab-background {
  57. border-right: solid 2px var(--identity-icon-color) !important;
  58. border-left: solid 2px var(--identity-icon-color) !important;
  59. transition: all .15s ease-in-out !important;
  60. }
  61.  
  62. .tabbrowser-tab[class*="identity-color-"] .tab-background[selected="true"] {
  63. border-right: solid 4px var(--identity-icon-color) !important;
  64. border-left: solid 4px var(--identity-icon-color) !important;
  65.  
  66. }
  67.  
  68. /*
  69. * Makes the Not Secure text of HTTP pages appear in red text.
  70. * The label itself can be enabled by setting
  71. * security.insecure_connection_text.enabled to true in about:config on Firefox 60+.
  72. *
  73. * Contributor(s): Madis0
  74. */
  75.  
  76. #urlbar > #identity-box.notSecureText > #identity-icon-labels > #identity-icon-label {
  77. color: rgba(255, 0, 0, 0.867) !important;
  78. }
  79.  
  80. /* Hide the entire identity box (includes lock icon) */
  81. #identity-box {
  82. display: none !important;
  83. }
  84.  
  85.  
  86. /* Add left padding to the address bar text */
  87. #urlbar {
  88. padding-left: 4px !important;
  89. padding-right: 4px !important;
  90.  
  91. }
  92.  
  93. /* hide the tracking protection thingy on a webpage */
  94. #tracking-protection-icon-container {
  95. display: none !important;
  96. }
  97.  
  98. .tabbrowser-tab[selected="true"] {
  99. min-width: 150px !important;
  100. }
  101.  
  102. .tab-icon-overlay {
  103. display: none;
  104. }
  105. .tab-icon-image {
  106. opacity: 1 !important;
  107. }
  108.  
  109. /* hide magnifying glass icon on the next row */
  110. .urlbarView-favicon { visibility: collapse !important; }
  111.  
  112. /* reduce padding on the one-offs */
  113. .search-one-offs {padding-block: 4px !important}
  114.  
  115. /* make the search thingeys go away, without taking away search one-offs */
  116. .urlbarView-body-outer {
  117. padding: 0px !important;
  118. display: none !important;
  119. visibility: collapse !important;
  120. }
  121.  
  122.  
Add Comment
Please, Sign In to add comment