Combine multi-row tabs for pre and post Firefox 66 and label the post-66 only obsolete
This commit is contained in:
parent
1229f5ba19
commit
9787beeb96
2 changed files with 51 additions and 15 deletions
|
@ -1,21 +1,49 @@
|
||||||
/* Makes tabs to appear on multiple lines */
|
/* Makes tabs to appear on multiple lines */
|
||||||
/* Tab reordering will not work */
|
/* Tab reordering will not work and can't be made to work */
|
||||||
|
/* On Firefox 66 you can use multi-row_tabs_window_control_patch.css to hide window controls if you wish */
|
||||||
|
|
||||||
#tabbrowser-tabs,
|
/* It's recommended to move tabs new-tab-button outside tabs toolbar */
|
||||||
#tabbrowser-tabs > .tabbrowser-arrowscrollbox{
|
|
||||||
|
#tabbrowser-tabs{
|
||||||
min-height: unset !important;
|
min-height: unset !important;
|
||||||
|
padding-inline-start: 0px !important
|
||||||
}
|
}
|
||||||
#tabbrowser-tabs .scrollbox-innerbox{
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
}
|
|
||||||
#tabbrowser-tabs .arrowscrollbox-scrollbox {
|
|
||||||
overflow: -moz-hidden-unscrollable;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.tabbrowser-tab{ max-height: 32px }
|
|
||||||
|
|
||||||
.tabbrowser-tab[fadein]{
|
/* Test for Firefox > 66 */
|
||||||
|
@supports (inset-block:auto){
|
||||||
|
#tabbrowser-tabs > .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox{
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
#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{ max-height: 32px }
|
||||||
|
.tabbrowser-tab[pinned]{
|
||||||
|
position: static !important;
|
||||||
|
margin-inline-start: 0px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.tabbrowser-tab[fadein]:not([pinned]){
|
||||||
min-width: 100px !important;
|
min-width: 100px !important;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
/*
|
/*
|
||||||
|
@ -24,4 +52,11 @@
|
||||||
*/
|
*/
|
||||||
/*max-width: 100vw !important;*/
|
/*max-width: 100vw !important;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabbrowser-tab > stack{ width: 100%; height: 100% }
|
.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{ display: none }
|
|
@ -1,5 +1,6 @@
|
||||||
/* For Firefox 66+ */
|
/* For Firefox 66+ */
|
||||||
/* Use multi-row_tabs_window_control_patch.css to hide window controls if you wish */
|
/* Use multi-row_tabs_window_control_patch.css to hide window controls if you wish */
|
||||||
|
/* This file is obsolete, you can use multi-row_tabs.css which should work on Firefox pre- and post-66 */
|
||||||
|
|
||||||
|
|
||||||
#tabbrowser-tabs{
|
#tabbrowser-tabs{
|
||||||
|
@ -31,5 +32,5 @@
|
||||||
#tabbrowser-tabs .scrollbutton-up,
|
#tabbrowser-tabs .scrollbutton-up,
|
||||||
#tabbrowser-tabs .scrollbutton-down,
|
#tabbrowser-tabs .scrollbutton-down,
|
||||||
#alltabs-button,
|
#alltabs-button,
|
||||||
#TabsToolbar #new-tab-button,
|
:root:not([customizing]) #TabsToolbar #new-tab-button,
|
||||||
#tabbrowser-tabs spacer{ display: none }
|
#tabbrowser-tabs spacer{ display: none }
|
Loading…
Reference in a new issue