Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2024
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.51 KB | None | 0 0
  1. /* Hide whole navigation bar in the context menu when RMB clicking on a blank area in a webpage */
  2. #context-navigation, #context-sep-navigation {
  3.   display:none !important;
  4. }
  5.  
  6. /* Fit more text in each tab */
  7. .tab-icon-image {
  8.   margin-right: 4px !important;
  9. }
  10. .tab-icon-overlay {
  11.   margin-right: 4px !important;
  12. }
  13. .tab-throbber {
  14.   margin-right: 4px !important;
  15. }
  16. .tab-icon-pending {
  17.   margin-right: 4px !important;
  18. }
  19. .tab-content {
  20.   padding-left: 4px !important;
  21.   padding-right: 4px !important;
  22. }
  23.  
  24. /* Hide empty square at the left side of tab bar when Firefox is windowed */
  25. #TabsToolbar .titlebar-spacer[type="pre-tabs"] {
  26.   display:none;
  27. }
  28.  
  29. /* Remove rounding around the tabs */
  30. *|*:root {
  31.   --tab-border-radius: 0 !important;
  32. }
  33.  
  34. /* Remove margin from tabs */
  35. .tab-background {
  36.   margin-block: 0 !important;
  37. }
  38.  
  39. /* Remove space around tabs */
  40. .tabbrowser-tab {
  41.   padding-inline: 0 !important;
  42. }
  43.  
  44. /* Reduce vertical padding in menus */
  45. menupopup > menuitem, menupopup > menu {
  46.   padding-block: 3px !important;
  47. }
  48. :root {
  49.   --arrowpanel-menuitem-padding: 4px 8px !important;
  50. }
  51.  
  52. /* Remove padding on the start and end of toolbar */
  53. *|*:root {
  54.   --toolbar-start-end-padding: 0 !important;
  55. }
  56.  
  57. /* Remove bookmark star from URL bar */
  58. #star-button-box {
  59.   display: none !important;
  60. }
  61.  
  62. /* Fix for tabs gaining 6 pixels of height when they don't fit vertically in the tab bar */
  63. #scrollbutton-up, #scrollbutton-down {
  64.   border-top-width: 0 !important;
  65.   border-bottom-width: 0 !important;
  66. }
  67.  
  68. /* Remove border at the top of the tab bar */
  69. #navigator-toolbox {
  70.   margin-top: -1px !important;
  71. }
  72. #main-window:not([sizemode="maximized"]) #navigator-toolbox {
  73.   margin-top: -2px !important;
  74. }
  75.  
  76. /* Change toolbar color to be the same as the active tab color (would be nice to not have this color hardcoded, but taken from the actual CSS element) */
  77. #nav-bar, #PersonalToolbar {
  78.   --toolbar-bgcolor: #52525E !important
  79. }
  80.  
  81. /* Reduce height of bookmarks tabs */
  82. #PersonalToolbar .toolbarbutton-1 {
  83.   --toolbarbutton-inner-padding: 1px !important;
  84. }
  85.  
  86. /* Remove Extensions icon from toolbar */
  87. #unified-extensions-button, #unified-extensions-button > .toolbarbutton-icon {
  88.   width: 0px !important;
  89.   padding: 0px !important;
  90. }
  91.  
  92. /* Remove "Close tab" buttons that were added on "List all tabs" in Firefox 115 */
  93. .all-tabs-close-button {
  94.   display: none !important;
  95. }
  96.  
  97. /* Restore tab bar height that was raised by 7 pixels in Firefox 133 */
  98. :root {
  99.   --tab-min-height: 22px !important;
  100. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement