Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Longueur min et max des onglets */
- :root {
- --tab_min_width: 162px;
- --tab_max_width: 162px;
- /* use 'about:config > browser.tabs.tabMinWidth' for tab min-width */
- }/* use 'about:config > browser.tabs.tabMinWidth' for tab min-width */
- /*
- .tabbrowser-tab:not([pinned]) {
- min-width: var(--tab_min_width) !important;
- clip-width: var(--tab_min_width) !important;
- }
- */
- /* tab max-width */
- #tabbrowser-tabs:not([overflow="true"]) .tabbrowser-tab[fadein]:not([pinned]) {
- max-width: var(--tab_max_width) !important;
- overflow: hidden !important;
- }
- /* Barre d'onglets sur plusieurs lignes */
- :root{
- --multirow-n-rows: 2;
- --multirow-tab-min-width: 162px;
- --multirow-tab-dynamic-width: 1; /* Change to 0 for fixed-width tabs using the above width. */
- }
- #tabbrowser-tabs{
- min-height: unset !important;
- padding-inline-start: 0px !important;
- }
- /* Test for Firefox > 66 */
- @supports (inset-block:auto){
- #tabbrowser-tabs > .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox{
- display: flex;
- flex-wrap: wrap;
- overflow-y: auto;
- max-height: calc(var(--tab-min-height) * var(--multirow-n-rows));
- scrollbar-color: var(--toolbar-bgcolor) var(--lwt-accent-color);
- scrollbar-width: none;
- }
- #tabbrowser-tabs > .tabbrowser-arrowscrollbox {
- overflow: -moz-hidden-unscrollable;
- display: block;
- }
- }
- /* Test for Firefox < 66 */
- @supports not (inset-block:auto){
- #tabbrowser-tabs > .tabbrowser-arrowscrollbox{
- min-height: unset !important;
- }
- #tabbrowser-tabs .scrollbox-innerbox{
- display: flex;
- flex-wrap: wrap;
- }
- #tabbrowser-tabs .arrowscrollbox-scrollbox {
- overflow: -moz-hidden-unscrollable;
- display: block;
- }
- }
- .tabbrowser-tab{ height: var(--tab-min-height); }
- #tabbrowser-tabs .tabbrowser-tab[pinned]{
- position: static !important;
- margin-inline-start: 0px !important;
- }
- .tabbrowser-tab[fadein]:not([pinned]){
- min-width: var(--multirow-tab-min-width) !important;
- flex-grow: var(--multirow-tab-dynamic-width);
- /* Uncomment to enable full-width tabs, also makes tab dragging a tiny bit more sensible
- Don't set to none or you'll see errors in console when closing tabs */
- /*max-width: 100vw !important;*/
- }
- .tabbrowser-tab > stack{ width: 100%; height: 100% }
- #tabbrowser-tabs .scrollbutton-up,
- #tabbrowser-tabs .scrollbutton-down,
- #alltabs-button,
- :root:not([customizing]) #TabsToolbar #new-tab-button,
- #tabbrowser-tabs spacer,
- .tabbrowser-tab::after{ display: none !important
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement