remove tabs from titlebar
This commit is contained in:
parent
e1c0f409c3
commit
daeb5b69f4
1 changed files with 12 additions and 11 deletions
|
@ -106,21 +106,22 @@ in {
|
||||||
settings = {
|
settings = {
|
||||||
"extensions.autoDisableScopes" = 0;
|
"extensions.autoDisableScopes" = 0;
|
||||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
||||||
|
"browser.tabs.inTitlebar" = 0;
|
||||||
};
|
};
|
||||||
userChrome = ''
|
userChrome = ''
|
||||||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||||
#main-window #titlebar {
|
|
||||||
overflow: hidden;
|
#TabsToolbar {
|
||||||
transition: height 0.3s 0.3s !important;
|
visibility: collapse;
|
||||||
|
}
|
||||||
|
|
||||||
|
#titlebar {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sidebar-header {
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
/* Default state: Set initial height to enable animation */
|
|
||||||
#main-window #titlebar { height: 3em !important; }
|
|
||||||
#main-window[uidensity="touch"] #titlebar { height: 3.35em !important; }
|
|
||||||
#main-window[uidensity="compact"] #titlebar { height: 2.7em !important; }
|
|
||||||
/* Hidden state: Hide native tabs strip */
|
|
||||||
#main-window[titlepreface*=""] #titlebar { height: 0 !important; }
|
|
||||||
/* Hidden state: Fix z-index of active pinned tabs */
|
|
||||||
#main-window[titlepreface*=""] #tabbrowser-tabs { z-index: 0 !important; }
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue