hide single tab, issues #19, #21

This commit is contained in:
Sai Kurogetsu 2018-02-07 20:17:17 +00:00
parent 53e214aefa
commit f87d773656
No known key found for this signature in database
GPG Key ID: 48E52EBE10D57BF6
2 changed files with 18 additions and 0 deletions

12
ui/hide-single-tab.css Normal file
View File

@ -0,0 +1,12 @@
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#tabbrowser-tabs tab:only-of-type,
#TabsToolbar .private-browsing-indicator {
display: none !important;
}
#tabbrowser-tabs,
#tabbrowser-tabs arrowscrollbox {
height: initial !important;
min-height: initial !important;
}

View File

@ -52,6 +52,12 @@
* Other features (optional)
*/
/* Hide the tab bar when only one tab is open
* Warning: This also hides the private browsing indicator in private windows.
* You should move the new tab button somewhere else for this to work, because
* by default it is on the tab bar too. */
/*@import "ui/hide-single-tab.css"; /**/
/* Make all tab icons look kinda like symbolic icons */
/*@import "ui/symbolic-tab-icons.css"; /**/