mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-06 02:30:54 -08:00
Add: Option - userChrome.tab.one_line
This commit is contained in:
parent
8c010c73ac
commit
d6d26565a5
4 changed files with 78 additions and 0 deletions
|
|
@ -3958,6 +3958,44 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
/*= Tab Bar - Oneliner =======================================================*/
|
||||
@supports -moz-bool-pref("userChrome.tab.one_line") {
|
||||
#navigator-toolbox {
|
||||
display: flex !important;
|
||||
flex-wrap: wrap;
|
||||
background-color: var(--toolbar-bgcolor) !important;
|
||||
}
|
||||
|
||||
:root {
|
||||
--navbar-size: 40vw;
|
||||
}
|
||||
|
||||
#titlebar,
|
||||
#nav-bar,
|
||||
#PersonalToolbar,
|
||||
#tab-notification-deck-template {
|
||||
flex-basis: 100vw;
|
||||
}
|
||||
|
||||
#TabsToolbar {
|
||||
margin-left: var(--navbar-size) !important;
|
||||
}
|
||||
|
||||
#nav-bar {
|
||||
margin-right: calc(100vw - var(--navbar-size)) !important;
|
||||
margin-top: calc(-1 * var(--tab-min-height)) !important;
|
||||
height: var(--tab-min-height) !important;
|
||||
}
|
||||
|
||||
#urlbar-container {
|
||||
min-width: 0px !important;
|
||||
}
|
||||
|
||||
toolbarspring.chromeclass-toolbar-additional,
|
||||
.titlebar-spacer {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
/*= Tab Bar - Connect to window ==============================================*/
|
||||
@supports -moz-bool-pref("userChrome.tab.connect_to_window") {
|
||||
.tab-background {
|
||||
|
|
|
|||
|
|
@ -23,6 +23,11 @@
|
|||
@import "tabs_on_bottom";
|
||||
}
|
||||
|
||||
/*= Tab Bar - Oneliner =======================================================*/
|
||||
@include Option("userChrome.tab.one_line") {
|
||||
@import "one_line";
|
||||
}
|
||||
|
||||
/*= Tab Bar - Connect to window ==============================================*/
|
||||
@include Option("userChrome.tab.connect_to_window") {
|
||||
@import "connect_to_window";
|
||||
|
|
|
|||
34
src/tabbar/_one_line.scss
Normal file
34
src/tabbar/_one_line.scss
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
#navigator-toolbox {
|
||||
display: flex !important;
|
||||
flex-wrap: wrap;
|
||||
background-color: var(--toolbar-bgcolor) !important;
|
||||
}
|
||||
|
||||
:root {
|
||||
--navbar-size: 40vw;
|
||||
}
|
||||
|
||||
#titlebar,
|
||||
#nav-bar,
|
||||
#PersonalToolbar,
|
||||
#tab-notification-deck-template {
|
||||
flex-basis: 100vw;
|
||||
}
|
||||
|
||||
#TabsToolbar {
|
||||
margin-left: var(--navbar-size) !important;
|
||||
}
|
||||
#nav-bar {
|
||||
margin-right: calc(100vw - var(--navbar-size)) !important;
|
||||
margin-top: calc(-1 * var(--tab-min-height)) !important;
|
||||
height: var(--tab-min-height) !important;
|
||||
}
|
||||
|
||||
#urlbar-container {
|
||||
min-width: 0px !important;
|
||||
}
|
||||
|
||||
toolbarspring.chromeclass-toolbar-additional,
|
||||
.titlebar-spacer {
|
||||
display: none !important;
|
||||
}
|
||||
1
user.js
1
user.js
|
|
@ -95,6 +95,7 @@ user_pref("userChrome.tab.bottom_rounded_corner", true);
|
|||
// user_pref("userChrome.tab.on_bottom", true);
|
||||
// user_pref("userChrome.tab.on_bottom.above_bookmark", true); // Need on_bottom
|
||||
// user_pref("userChrome.tab.on_bottom.menubar_on_top", true); // Need on_bottom
|
||||
// user_pref("userChrome.tab.one_line", true);
|
||||
// user_pref("userChrome.tab.always_show_tab_icon", true);
|
||||
// user_pref("userChrome.tab.close_button_at_pinned", true);
|
||||
// user_pref("userChrome.tab.close_button_at_pinned.always", true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue