How to switch back to Firefox' old style of tabs?
source link: https://superuser.com/questions/1653533/how-to-switch-back-to-firefox-old-style-of-tabs/1669549#1669549
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
The recent update (89 I think) causes all tabs to render in the same continuous shading, which makes it somehow more difficult to spot each tab's start and end (regardless of the favicon, I'm sorry, silly old proper borders just were easier on my eyes). How do I get that back? I tried this related answer's browser.proton.enabled=false
to no avail, and re-enabling compact mode also did only partially restore the previous look and feel. How can I get good old tab shading and borders back?
In Firefox 91, restore the old tab style as follows:
Open about:config.
Search for toolkit.legacyUserProfileCustomizations.stylesheets.
Double-click the value to set it to
true
.Open about:support.
Search for Profile Directory (or Profile Folder).
Click Open Directory (or Open Folder).
Create a directory named
chrome
.Navigate into the chrome directory.
Create a new file inside chrome named
userChrome.css
.Copy and paste the following code into userChrome.css:
.tab-background { border-radius: 0px 0px !important; margin-bottom: 0px !important; } .tabbrowser-tab:not([selected=true]):not([multiselected=true]) .tab-background { background-color: color-mix(in srgb, currentColor 5%, transparent); } menupopup>menu, menupopup>menuitem { padding-block: 2px !important; } :root { --arrowpanel-menuitem-padding: 2px !important; }
Save the file.
Restart Firefox.
The old tab style is restored.
Not surprisingly I'm not the only one disliking this, and fortunately there's already a fix called Lepton at https://github.com/black7375/Firefox-UI-Fix#installation-guide. It still doesn't feel 100% proper, but so much better already with simple tab separators.
Setting browser.proton.enabled
to false
in about:config
did work for me.
Using userChrome.css. you can easily customize many aspects of Firefox. In the example below, inactive tabs are uniformly gray, the active tab is a gradient ascending from red to green, and the tab over which the cursor hovers is a gradient from light to dark gray.
Open your Firefox profile.
- In Linux,
Home\.mozilla\firefox\xxxxxxxx.default
- In Windows,
C:\Users\<username>\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxx.default
- Mac OS,
Users/<username>/Library/Application Support/Firefox/Profiles/xxxxxxxx.default
.
- In Linux,
If there is no folder Chrome, create it.
If there is no file userChrome.css in that folder, create it as a text document, i.e. with Notepad, Notepad++, or other text editor.
Copy and paste text below and save the file. (If you're editing an existing userChrome.css and the
@namespace
line exists, there's no need to duplicate it.)Close and restart Firefox to see the new tab style.
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* Tab: selected colors */ #tabbrowser-tabs .tabbrowser-tab[selected] .tab-content { background: linear-gradient(to bottom,#AAFFAA,#FFAAFF) !important; } /* Tab: hovered colors */ #tabbrowser-tabs .tabbrowser-tab:hover:not([selected]) .tab-content { background: linear-gradient(to bottom,#808080,#FFFFFF) !important; }
Feel free to modify the appearance to your taste. The style sheet code is easy to understand by inspection, and mistakes do no harm - just remove them and restart Firefox. See Mozilla here and here, for example, on tab coloring.
Your Answer
Post as a guest
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy
Not the answer you're looking for? Browse other questions tagged firefox tabs border ux or ask your own question.
Recommend
-
10
Close old tabs automatically to keep Safari clean [Pro tip]
-
6
Need to send tabs from your phone to your computer or vice versa? Fortunately, Firefox's tab sharing feature allows you to send tabs or web pages across your devices. ...
-
4
Thursday, November 15th, 2018 Thoughts on the Firefox Email Tabs experiment...
-
6
How to Sync Page Tabs Between Google Chrome, Firefox, and Edge By Jack Slater Published 8 hours ago If you use different in...
-
2
In this article, I'll show you how to find out when users change tabs in browsers using JavaScript. It's going to be fun, it's helpful to see how often the user loses his attention. You can even use it to add the data to the database (it is out of...
-
4
Firefox’s new View panel helps you keep tabs on all your tabsFirefox’s new View panel helps you keep tabs on all your tabs / The company also announced a desktop shortcut that lets you jump directly into priv...
-
6
TapTabSwitch tabs with a tap in SafariPayment RequiredTab switcher for Safari Used by those in a rush. Built with power users in mind. It was t...
-
10
Mozilla fixed an 18-year old CSS bug in the Firefox browser All I want for Christmas is... a CSS bugfix By
-
3
We have great news for Nintendo fans! The gaming giant has once again released a bunch of classic games for the Nintendo Switch. Bringing back memories of the good old days. Kirby’s Dream Land 2 and BurgerTime Deluxe from the Game Boy, Side Pocket...
-
6
Hide Native Tabs with Tree Style Tabs for Firefox In Windows · GitHub Instantly share code, notes, and snippets. Hide Nati...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK