|
|
|
@ -3,25 +3,20 @@ See the above repository for updates as well as full license text. */
|
|
|
|
|
|
|
|
|
|
/* Makes tabs to appear on multiple lines below the web content
|
|
|
|
|
* Tab reordering will not work and can't be made to work
|
|
|
|
|
*
|
|
|
|
|
* Make menubar enabled for getting window controls in correct place.
|
|
|
|
|
* Menubar options will be shown as overlay when mouse is at top-left corner
|
|
|
|
|
* To enable static menubar, create a new boolean pref
|
|
|
|
|
* userchrome.multirowtabs.static-menubar.enabled
|
|
|
|
|
*
|
|
|
|
|
* It's recommended to move tabs new-tab-button outside tabs toolbar
|
|
|
|
|
*
|
|
|
|
|
* Change the --multirow-n-rows to change maximum number of rows
|
|
|
|
|
* before the rows will start to scroll.
|
|
|
|
|
* Scrollbar can't be clicked but the rows can be scrolled with mouse.
|
|
|
|
|
*/
|
|
|
|
|
* It's recommended to move tabs new-tab-button outside tabs toolbar */
|
|
|
|
|
|
|
|
|
|
/* SETTINGS (you need to create and set these prefs to true in about:config)
|
|
|
|
|
* userchrome.multirowtabs.full-width-tabs.enabled - make tabs grow horizontally to fill all available space
|
|
|
|
|
* userchrome.multirowtabs.static-menubar.enabled - always show menubar */
|
|
|
|
|
|
|
|
|
|
@-moz-document url(chrome://browser/content/browser.xhtml){
|
|
|
|
|
|
|
|
|
|
:root{
|
|
|
|
|
--multirow-toolbar-height: 40px;
|
|
|
|
|
--multirow-top-padding: 0px;
|
|
|
|
|
--multirow-n-rows: 3;
|
|
|
|
|
--multirow-n-rows: 3; /* change maximum number of rows */
|
|
|
|
|
--multirow-tab-min-width: 100px;
|
|
|
|
|
--multirow-tab-dynamic-width: 1; /* Change to 0 for fixed-width tabs using the above width. */
|
|
|
|
|
--uc-window-drag-space-width: 30px;
|
|
|
|
@ -193,6 +188,7 @@ See the above repository for updates as well as full license text. */
|
|
|
|
|
display: inline;
|
|
|
|
|
--scrollbutton-display-model: none;
|
|
|
|
|
--uc-scrollbox-max-height: calc((var(--tab-min-height) + 2 * var(--tab-block-margin,0px)) * var(--multirow-n-rows));
|
|
|
|
|
-moz-window-dragging: no-drag;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:root[inFullscreen] .scrollbox-clip[orient="horizontal"]:not(:hover),
|
|
|
|
@ -211,11 +207,6 @@ See the above repository for updates as well as full license text. */
|
|
|
|
|
.tabbrowser-tab[fadein]:not([pinned]){
|
|
|
|
|
min-width: var(--multirow-tab-min-width) !important;
|
|
|
|
|
flex-grow: var(--multirow-tab-dynamic-width) !important;
|
|
|
|
|
/*
|
|
|
|
|
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%; }
|
|
|
|
@ -275,4 +266,7 @@ See the above repository for updates as well as full license text. */
|
|
|
|
|
top: calc(var(--multirow-toolbar-height) + var(--multirow-top-padding) + var(--multirow-menubar-height));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@media (-moz-bool-pref: "userchrome.multi-row-tabs.full-width-tabs.enabled"){
|
|
|
|
|
.tabbrowser-tab[fadein]:not([pinned]){ max-width: 100vw !important; }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|