littleboy62

Untitled

Jun 6th, 2021
1,166
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @NamEspace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  2.  
  3. /* TABS: on bottom - 89+ */
  4.  
  5. *|*:root {
  6.  --tab-toolbar-navbar-overlap: 0px !important;
  7.  
  8.  --tab-min-height:      32px !important; /* adjust to suit your needs */
  9.  --tab-min-width:       80px !important; /* adjust to suit your needs */
  10.  
  11.  --menubar-height: 34px;
  12.  --bookmarkbar-height: 32px;
  13.  --tabbar-top: calc(var(--menubar-height) + var(--bookmarkbar-height) + var(--tab-min-height) + 9px); /*89+*/
  14. }
  15.  
  16. #navigator-toolbox toolbar:not(#nav-bar):not(#toolbar-menubar) {-moz-box-ordinal-group:10}
  17. #TabsToolbar {-moz-box-ordinal-group:1000!important}
  18.  
  19. #TabsToolbar {
  20. display: block !important;
  21. position: absolute !important;
  22. top: var(--tabbar-top) !important;
  23. width: 100vw !important;
  24. }
  25.  
  26. #tabbrowser-tabs {
  27. width: 100vw !important;
  28. }
  29.  
  30. /* navigator-toolbox - padding */
  31. *|*:root:not([chromehidden*="toolbar"]) #navigator-toolbox {
  32.   padding-bottom: calc(var(--tab-min-height) + 1px) !important; /*adjust*/
  33. }
  34.  
  35. /* TABS: height */
  36. #tabbrowser-tabs,
  37. #tabbrowser-tabs .tabbrowser-tab {
  38.   min-height: var(--tab-min-height) !important;
  39.   max-height: var(--tab-min-height) !important;
  40. }
  41.  
  42. #TabsToolbar {
  43.   height: var(--tab-min-height) !important;
  44.   margin-bottom: 1px !important;
  45.   box-shadow: ThreeDShadow 0 -1px inset, -moz-dialog 0 1px !important; /* omit */
  46.   background-color: var(--toolbar-bgcolor) !important;
  47.   color: var(--toolbar-color) !important;
  48. }
  49.  
  50. /* drag space */
  51. .titlebar-spacer[type="pre-tabs"],
  52. .titlebar-spacer[type="post-tabs"] {
  53.   width: 40px;
  54. }
  55.  
  56. /* Override vertical shifts when moving a tab */
  57. #navigator-toolbox[movingtab] > #titlebar > #TabsToolbar {
  58.   padding-bottom: unset !important;
  59. }
  60. #navigator-toolbox[movingtab] #tabbrowser-tabs {
  61.   padding-bottom: unset !important;
  62.   margin-bottom: unset !important;
  63. }
  64. #navigator-toolbox[movingtab] > #nav-bar {
  65.   margin-top: unset !important;
  66. }
  67.  
  68. /* hide indicators and caption buttons */
  69. #TabsToolbar .private-browsing-indicator   {display: none !important;}
  70. #TabsToolbar .accessibility-indicator      {display: none !important;}
  71. #TabsToolbar .titlebar-buttonbox-container {display: none !important;}
RAW Paste Data