Guest User

Untitled

a guest
Mar 5th, 2026
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.76 KB | Source Code | 0 0
  1. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  2.  
  3. /* TABS: bottom - Firefox 65 and later - updated for 89+ */
  4. /* https://searchfox.org/mozilla-release/source/browser/themes/shared/tabs.inc.css */
  5. /* https://raw.githubusercontent.com/Aris-t2/CustomCSSforFx/master/classic/css/tabs/tabs_below_navigation_toolbar_fx89.css */
  6. /* https://developer.mozilla.org/en-US/docs/Tools/Browser_Toolbox */
  7.  
  8. /* ROOT - VARS */
  9. /* you can adjust the CSS variables until it looks correct */
  10. /* you can use the Browser Toolbox to get the toolbar heights */
  11.  
  12. * {
  13. border-radius: 0 !important;
  14. }
  15. *|*:root {
  16. --tab-toolbar-navbar-overlap: 0px !important;
  17.  
  18. --tab-min-height: 40px !important;
  19. --tab-min-width: 60px !important;
  20.  
  21. --tab-adjust: 0px; /* adjust tab bar - only for 68-73 */
  22. --tab-caption: 50px; /* caption buttons on tab bar */
  23. --tab-border-radius: 0 !important;
  24.  
  25. }
  26. menupopup,
  27. panel {
  28. --panel-border-radius: 0 !important;
  29. }
  30.  
  31.  
  32. /* TAB BAR - below nav-bar */
  33. #navigator-toolbox toolbar:not(#nav-bar):not(#toolbar-menubar) {-moz-box-ordinal-group:10 !important;}
  34. #TabsToolbar {-moz-box-ordinal-group:1000 !important;}
  35.  
  36. #TabsToolbar {
  37. display: block !important;
  38. position: absolute !important;
  39. bottom: 0 !important;
  40. width: 100vw !important;
  41. }
  42.  
  43. #tabbrowser-tabs {
  44. width: 100vw !important;
  45. }
  46.  
  47. /* navigator-toolbox - PADDING */
  48. *|*:root:not([chromehidden*="toolbar"]) #navigator-toolbox {
  49. position: relative !important; /*89+*/
  50. padding-bottom: calc(var(--tab-min-height) + 1px) !important; /*ADJUST*/
  51. background-color: var(--toolbar-bgcolor) !important;
  52. }
  53.  
  54. /* TabsToolbar with menubar and titlebar hidden - rules for Firefox 65-73 */
  55. *|*:root[tabsintitlebar]:not([inFullscreen="true"]):not([sizemode="maximized"]) #toolbar-menubar[autohide="true"] ~
  56. #TabsToolbar{
  57. bottom: var(--tab-adjust); /*ADJUST*/
  58. }
  59.  
  60. /* TABS: height */
  61. #tabbrowser-tabs,
  62. #tabbrowser-tabs > .tabbrowser-arrowscrollbox,
  63. .tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
  64. min-height: var(--tab-min-height) !important;
  65. max-height: var(--tab-min-height) !important;
  66. }
  67.  
  68. #TabsToolbar {
  69. height: var(--tab-min-height) !important;
  70. margin-bottom: 1px !important;
  71. box-shadow: ThreeDShadow 0 -1px inset, -moz-dialog 0 1px !important; /*OPTIONAL*/
  72. background-color: var(--toolbar-bgcolor) !important;
  73. color: var(--toolbar-color) !important;
  74. /* z-index: 1 !important; */
  75. }
  76.  
  77. /* indicators *//*
  78. *|*:root[privatebrowsingmode=temporary] .private-browsing-indicator {
  79. position: absolute !important;
  80. display: block !important;
  81. right: 0px !important;
  82. bottom: 0px !important;
  83. width: 14px !important;
  84. pointer-events: none !important;
  85. }
  86. */
  87. .private-browsing-indicator {display: none !important;}
  88. .accessibility-indicator {display: none !important;}
  89.  
  90. /* Indicators - HIDE *//*
  91. *|*:root:not([accessibilitymode]) .accessibility-indicator {display: none !important}
  92. *|*:root:not([privatebrowsingmode=temporary]) .private-browsing-indicator {display: none !important}
  93. */
  94.  
  95. /* Drag Space */
  96. .titlebar-spacer[type="pre-tabs"],
  97. .titlebar-spacer[type="post-tabs"] {
  98. width: 20px !important;
  99. }
  100.  
  101. /* Override vertical shifts when moving a tab */
  102. #navigator-toolbox[movingtab] > #titlebar > #TabsToolbar {
  103. padding-bottom: unset !important;
  104. }
  105.  
  106. #navigator-toolbox[movingtab] #tabbrowser-tabs {
  107. padding-bottom: unset !important;
  108. margin-bottom: unset !important;
  109. }
  110.  
  111. #navigator-toolbox[movingtab] > #nav-bar {
  112. margin-top: unset !important;
  113. }
  114.  
  115. /* Hide window-controls and caption buttons on Tab Bar */
  116. #TabsToolbar #window-controls {display: none !important;}
  117. #TabsToolbar .titlebar-buttonbox-container {display: none !important;}
  118.  
  119. #star-button-box {display: none !important}
Tags: CSS
Advertisement
Add Comment
Please, Sign In to add comment