custom firefox chrome
This commit is contained in:
parent
6e37ca1ae1
commit
e1b2d85747
1 changed files with 27 additions and 0 deletions
27
firefox-no-single-tab
Normal file
27
firefox-no-single-tab
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
/*
|
||||||
|
How To:
|
||||||
|
1. Find your firefox profile folder : https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data
|
||||||
|
2. create a "chrome" folder if it doesn't exist
|
||||||
|
3. Paste content of this gist in a "userChrome.css" file
|
||||||
|
4. Restart Firefox
|
||||||
|
Don't hesitate to say if there are bugs, I only tested this for my workflow : I don't use tabs
|
||||||
|
at all but I want to see the bar if I open a tab by mistake (otherwise I sometimes lose a tab)
|
||||||
|
*/
|
||||||
|
#tabbrowser-tabs, #tabbrowser-tabs > .tabbrowser-arrowscrollbox {
|
||||||
|
min-height: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Thanks to @Speravir for making it work again in the latest versions. */
|
||||||
|
#tabbrowser-tabs tab[first-visible-tab="true"][last-visible-tab="true"] {
|
||||||
|
visibility: collapse;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* I don't use tabs so I just hide the new tab button. You should be able to use a similar trick as the rule above with
|
||||||
|
css siblings selectors if you want to keep it when the tab bar is visible. */
|
||||||
|
#tabbrowser-tabs .tabs-newtab-button {
|
||||||
|
visibility: collapse !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tabbrowser-tabs tab {
|
||||||
|
min-height: var(--tab-min-height)
|
||||||
|
}
|
Loading…
Reference in a new issue