Advertisement
Guest User

vertical tabs

a guest
Jun 18th, 2025
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 6.36 KB | None | 0 0
  1. @charset "utf-8";
  2. @namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  3. @namespace html url(http://www.w3.org/1999/xhtml);
  4. toolbarbutton#alltabs-button {
  5.   -moz-binding: url("userChrome.xml#js");
  6. }
  7.  
  8. /*vertical width 16px,
  9. horizontal height 28px*/
  10. :root {
  11.   --tab-min-height: 16px !important;
  12.   --tabstrip-min-height: 16px !important;
  13.   --sidebar-launcher-collapsed-width: 16px !important;
  14.   --tab-collapsed-width: 16px !important;
  15. }
  16.  
  17. /*horizontal*/
  18. #tabbrowser-tabs {
  19.   &[orient="horizontal"] {
  20.     max-height: 20px !important;
  21.   }
  22. }
  23.  
  24. /*tab height*/
  25. .tab-background {
  26.   margin-block: 0px !important;
  27.   min-height: 22px !important;
  28.   margin-inline: 0px !important;
  29. }
  30.  
  31. /*title bar spaces erased*/
  32. .titlebar-spacer[type="pre-tabs"],
  33. .titlebar-spacer[type="post-tabs"] {
  34.   display:none !important;
  35. }
  36.  
  37. /*urlbar,searchbar no padding and margin*/
  38. #urlbar-container,
  39. #search-container {
  40.   padding-block:  0px !important;
  41.   margin-inline: 0px !important;
  42. }
  43.  
  44. /*toolbar height 28px*/
  45. :root {
  46.   --urlbar-container-height: 28.00px !important;
  47.   --border-radius-medium: 2px !important;
  48.   --border-radius-small: 2px !important;
  49.   --tab-border-radius: 2px !important;
  50. }
  51.  
  52. /*urlbar height 28px*/
  53. #urlbar-container[breakout] {
  54.   min-height: 28px !important;
  55. }
  56.  
  57. /*reduce min horizontal tab width*/
  58. #tabbrowser-tabs {
  59.   &[orient="horizontal"] {
  60.     --tab-min-width-pref: 48px !important;
  61.   }
  62. }
  63.  
  64. /*current tab text*/
  65. .tab-text[selected]{
  66.       font-weight: bolder !important;
  67. }
  68.  
  69. /* Reduce Vertical Tabs Padding */
  70. #tabbrowser-tabs[orient="vertical"] {
  71.     & .tabbrowser-tab:not([pinned]) {
  72.       padding-block: 0px !important;
  73.     }
  74. }
  75.  
  76. /*tab text height*/
  77. .tab-label {
  78.   line-height: 20px !important;
  79. }
  80.  
  81. /*icon paddeing*/
  82. toolbar,
  83. .toolbarbutton-1 {
  84.   padding: 0px !important;
  85. }
  86.  
  87. .tab-content {
  88.   padding:  0px 0px !important;
  89. }
  90.  
  91. /*max, min, close button padding*/
  92. .titlebar-button {
  93.   padding: 2px 2px !important;
  94. }
  95.  
  96. /*list all tabs button*/
  97. .all-tabs-item {
  98.   &[selected] {
  99.     background-color: #222 !important;
  100.   }
  101. }
  102.  
  103. toolbar .toolbaritem-combined-buttons {
  104.   margin-inline: 0px !important;
  105. }
  106.  
  107. image.toolbarbutton-icon{
  108.   margin-left: 0px !important;
  109. }
  110.  
  111. /*tab close button*/
  112. .tab-close-button {
  113.   width: 20px !important;
  114.   height: 20px !important;
  115.   padding: 3px !important;
  116. }
  117.  
  118.  
  119. .button-background {
  120.    [type~="icon"]:not(.labelled),&&:not(.labelled):has(img) {
  121.     width: 16px !important;
  122.     height: 16px !important;
  123.   }
  124.   padding: 0px !important;
  125. }
  126.  
  127. hbox.titlebar-buttonbox{
  128.   display: visible !important;
  129. }
  130.  
  131. :root{
  132.   ---urlbar-width: 230px !important;
  133. }
  134.  
  135. .actions-list {
  136.   & > moz-button:not(.tools-overflow) {
  137.     &:first-of-type {
  138.       --button-outer-padding-block-start: 0px !important;
  139.     }
  140.     &:last-of-type {
  141.       --button-outer-padding-block-end: 0px !important;
  142.     }
  143.   }
  144. }
  145.  
  146. .actions-list {
  147.   & > moz-button:not(.tools-overflow) {
  148.     --button-outer-padding-inline: 0px !important;
  149.     --button-outer-padding-block: 0px !important;
  150.   }
  151. }
  152.  
  153. button-group.tools-and-extensions.actions-list{
  154.   display:  none !important;
  155. }
  156.  
  157. .expanded-button {
  158.   display: none !important;
  159. }
  160.  
  161. /*new tab button margin*/
  162. #tabs-newtab-button {
  163.   margin-block: 0px !important;
  164.   margin-inline: 0px !important;
  165. }
  166.  
  167. /*new tab button text height*/
  168. #tabs-newtab-button, #vertical-tabs-newtab-button {
  169.   line-height: 1 !important;
  170. }
  171.  
  172. #vertical-tabs-newtab-button {
  173.   margin-inline: 0px !important;
  174. }
  175.  
  176. #tabbrowser-tabs[orient="vertical"] {
  177.   &[overflow]::after {
  178.     margin-inline: 0px !important;
  179.   }
  180. }
  181.  
  182. /*tab color*/
  183. .tab-background {
  184.   &:is([selected], [multiselected]) {
  185.   /*  background-color: oklch(.5 .2 210) !important;*/
  186.   }
  187. }
  188.  
  189. /*sidebar*/
  190. box#sidebar-main {
  191.   z-index: 3 !important;
  192.   opacity: 50%  !important;
  193.   background-color: transparent !important;
  194.   /*background: var(--sidebar-background-color) !important;*/
  195. }
  196. /*hover sidebar*/
  197. box#sidebar-main:hover{
  198.   z-index: 3 !important;
  199.   opacity: 85%  !important;
  200.   background: var(--sidebar-background-color) !important;
  201. }
  202.  
  203. /*shift only favicon image size*/
  204. :root[sidebar-expand-on-hover] {
  205.   & #tabbrowser-tabbox {
  206.       &:not([sidebar-panel-open]) {
  207.         margin-left: -16px !important;
  208.       }
  209.   }
  210.   & #tabbrowser-tabbox {
  211.     &:not([sidebar-positionend]) {
  212.       &[sidebar-launcher-expanded][sidebar-launcher-hovered]:not([sidebar-panel-open]),
  213.       &[sidebar-ongoing-animations]:not([sidebar-launcher-expanded], [sidebar-panel-open]) {
  214.         margin-left: 0px !important;
  215.       }
  216.     }
  217.   }
  218. }
  219.  
  220. .tab-icon-stack [selected] {
  221.   opacity: 100% !important;
  222. }
  223. /*
  224. box#sidebar-main:hover {
  225.   min-width: 220px !important;
  226.   transition-delay: 0ms !important;
  227.   opacity: 100% !important;
  228.   transform: translateX(0px) !important;  
  229. }*/
  230.  
  231. /*#tabbrowser-tabbox {margin-left: -15px !important;}
  232. /*#tabbrowser-tabbox {margin-left: -245px !important;}
  233.  
  234. /*#tabbrowser-tabbox { margin-left: -245px !important; }*/
  235. /*#sidebar-box { z-index: 4 !important; margin-left: -15px !important; }*/
  236.  
  237. /*
  238. box#sidebar-main {
  239.   z-index: 3 !important;
  240.   position: relative !important;
  241.   transform: translateX(-220px) !important;
  242.   opacity: 5% !important;
  243.   transition: all 0ms ease-in-out 0ms !important;
  244.   background: var(--sidebar-background-color) !important;
  245. }
  246. box#sidebar-main:hover {
  247.   transition-delay: 0ms !important;
  248.   opacity: 100% !important;
  249.   transform: translateX(0px) !important;
  250. }
  251. #tabbrowser-tabbox { margin-left: -246px !important; }
  252. #sidebar-box { z-index: 4 !important; margin-left: -246px !important; }*/
  253.  
  254. /*hide sidebar lancher*/
  255. #sidebar-launcher-splitter{
  256.   display: none !important;
  257.   width: 0px !important;
  258. }
  259.  
  260. /*scrollbar width*/
  261. * {
  262.   scrollbar-width: none !important;
  263. }
  264.  
  265. /*reduce toolbar buttons padding*/
  266. toolbar .toolbarbutton-1 {
  267.   & > .toolbarbutton-icon{
  268.     width: 20px !important;
  269.     padding: 2px !important;
  270.   }
  271. }
  272.  
  273. /*reduce toolbar rest of buttons padding*/
  274. #downloads-button,
  275. #alltabs-button,
  276. #PanelUI-menu-button,
  277. #tabby_whatsyouridea_com-BAP{
  278.   & > stack.toolbarbutton-badge-stack{
  279.       padding: 6px 2px !important;
  280.   }
  281. }
  282.  
  283. /*reduce min window width*/
  284. #main-window {
  285. min-width:  100px !important;
  286. min-height: 100px !important;
  287. }
  288.  
  289. @media (-moz-bool-pref: "sidebar.verticalTabs") {
  290.   :root:not([chromehidden~="toolbar"]) {
  291.     min-width: 500px !important;
  292.   }
  293. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement