grahamperrin

2021-08-08 Firefox userChrome.css

Sep 20th, 2025
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.85 KB | Software | 0 0
  1. /* https://old.reddit.com/r/firefox/comments/f942u2/profilespecific_problem_with_an_extension_button/ */
  2. #TabsToolbar {
  3. visibility: collapse;
  4. }
  5. *{ transition-duration: 50ms !important }
  6.  
  7. /* a close button on the left of each tab */
  8. /* https://support.mozilla.org/questions/1157451#answer-961582 */
  9. /* https://support.mozilla.org/questions/1157451#answer-961663 */
  10. .tabbrowser-tab .tab-close-button {
  11. display:-moz-box!important;
  12. -moz-box-ordinal-group: 0 !important;
  13. margin-left: -2px !important;
  14. margin-right: 3px !important;
  15. }
  16. .tabbrowser-tab .tab-throbber,
  17. .tabbrowser-tab .tab-icon-image,
  18. .tabbrowser-tab .tab-sharing-icon-overlay,
  19. .tabbrowser-tab .tab-icon-overlay,
  20. .tabbrowser-tab .tab-label-container,
  21. .tabbrowser-tab .tab-icon-sound {
  22. -moz-box-ordinal-group: 2 !important;
  23. }
  24.  
  25. /* Australis Menu Button on the Left */
  26. #PanelUI-button,
  27. #customization-panel-container,
  28. #customization-panelWrapper .panel-arrow,
  29. #ctr_panelui-button,
  30. #wrapper-ctr_panelui-button {
  31. -moz-box-ordinal-group: 0
  32. }
  33. #PanelUI-button {
  34. background-position: 100% 0, calc(100% - 1px) 0, calc(100% - 2px) 0;
  35. }
  36. #PanelUI-popup {
  37. margin-right: -350px!important;
  38. }
  39. #PanelUI-popup .panel-arrow {
  40. margin-right: 340px!important;
  41. }
  42.  
  43. /* #nav-bar{-moz-box-ordinal-group:5!important} ? the toolbar, a.k.a. navigation bar, not on top */
  44. #nav-bar{
  45. -moz-box-ordinal-group:5!important
  46. } */
  47.  
  48. /* monospace #urlbar */
  49. /* https://www.reddit.com/comments/8vq7cx/-/e1q6d9g/ */
  50. #urlbar {
  51. font-family: monospace;
  52. }
  53.  
  54. /* green padlock */
  55. /* https://www.reddit.com/comments/8v4l1h/-/e1kxtgx/ */
  56. /* #identity-box #identity-icon-labels {
  57. display:none
  58. }
  59. #identity-box:hover #identity-icon-labels {
  60. display:-moz-box
  61. }
  62. /* https://support.mozilla.org/questions/853327#answer-222153 */
  63. /* #identity-icon-labels { display:none!important; } */
  64. /* #identity-box:hover #identity-icon-labels { display:block!important; } */
  65.  
  66. /* https://www.reddit.com/r/FirefoxCSS/comments/fzshcx/-/fn6i1k5/ */
  67. /* Constrains urlbar popup to urlbar width */
  68. /* Firefox 70+ */
  69.  
  70. #urlbar-container {
  71. transform: translateY(0);
  72. position: relative;
  73. z-index: 10;
  74. padding-block: 3px !important;
  75. padding-inline: 0x !important;
  76. margin-inline: 5px !important;
  77. }
  78.  
  79. #nav-bar-customization-target {
  80. overflow: visible !important;
  81. }
  82.  
  83. #urlbar-results {
  84. max-width: 100% !important;
  85. }
  86.  
  87. .urlbarView {
  88. top: calc(100% - 10px) !important;
  89. width: 100% !important;
  90. border-color: transparent !important;
  91. }
  92.  
  93. :root[uidensity="compact"] .urlbarView {
  94. margin-top: 8px !important;
  95. }
  96.  
  97. :root[uidensity="touch"] .urlbarView {
  98. margin-top: 6px !important;
  99. }
  100.  
  101. #urlbar[open] {
  102. border-bottom-right-radius: 0px !important;
  103. border-bottom-left-radius: 0px !important;
  104. }
  105.  
  106. .urlbarView-row {
  107. padding: 3px 4px !important;
  108. }
Advertisement
Add Comment
Please, Sign In to add comment