Something went wrong. Try again.
Custom CSS tweaks for Firefox
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112/* Firefox userChrome.css tweaks ********************************************************//* Github: https://github.com/aris-t2/customcssforfx ************************************//****************************************************************************************/
/****************************************************************************************//* multirow / multiple tab lines - modified for CustomCSSforFx **************************//* all credits go to the original authors: **********************************************//* https://00.bulog.jp/archives/1476/ ***************************************************//* https://www.reddit.com/r/FirefoxCSS/comments/7dclp7/multirow_tabs_in_ff57/ ***********//* https://github.com/MrOtherGuy/firefox-csshacks/blob/master/chrome/multi-row_tabs.css *//* https://github.com/Endor8/userChrome.js/blob/master/Mutirowtabs/ *********************//****************************************************************************************/
/* NOTE The below variables are overridden by the ones used inside ./config/general_variables.css file, if this projects full package is used. Set custom values inside ./config/general_variables.css in that case.*/
:root{ --tabs-lines: 3; --tab_min_width_mlt: 100px; --tab_max_width_mlt: 200px; --tab-min-height_mlt: var(--tab-min-height,32px); /* set own value here, if used without configuration files */}
#tabbrowser-tabs[orient="horizontal"]{ min-height: unset !important; padding-inline-start: 0px !important; margin-top: 1px !important; flex-wrap: wrap; overflow-y: auto; overflow-x: hidden; max-height: calc(var(--tab-min-height_mlt) * var(--tabs-lines)); scrollbar-color: currentColor transparent; scrollbar-width: thin;}
@-moz-document url(chrome://browser/content/browser.xhtml){ #scrollbutton-up~spacer, #scrollbutton-up, #scrollbutton-down { display: none; } #pinned-tabs-container[orient="horizontal"], #tabbrowser-arrowscrollbox[orient="horizontal"], scrollbox[part][orient="horizontal"] > slot, scrollbox[part="scrollbox"][orient="horizontal"]{ display: contents !important; contain: none !important; }}
.scrollbox-clip[orient="horizontal"],#tabbrowser-arrowscrollbox{ overflow: -moz-hidden-unscrollable; display: block; --scrollbutton-display-model: none;}
.tabbrowser-tab{ height: var(--tab-min-height_mlt);}
:is(.tabs-newtab-button,#tabs-newtab-button) { height: var(--tab-min-height_mlt) !important;}
/*#tabbrowser-tabs .tabbrowser-tab[pinned]{ position: static !important; margin-inline-start: 0px !important;}*/
.tabbrowser-tab[fadein]:not([pinned]) { flex-grow: 1; min-width: var(--tab_min_width_mlt) !important; max-width: var(--tab_max_width_mlt) !important;}
.tabbrowser-tab > stack{ width: 100%; height: 100%;}
#alltabs-button,:root:not([customizing]) #TabsToolbar #new-tab-button,#tabbrowser-arrowscrollbox > spacer,.tabbrowser-tab::after{ display: none !important;}
.tab-background { margin-block: unset !important;}
box.scrollbox-clip[orient="horizontal"] { display: inline !important;}
.tab-label-container { height: unset !important;}
/* Fx 133+ */#tabbrowser-tabs[orient="horizontal"] .tab-background,#tabbrowser-tabs[orient="horizontal"] { min-height: unset !important;}