Glam Prestige Journal

Bright entertainment trends with youth appeal.

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?

8

4 Answers

In Firefox 91, restore the old tab style as follows:

  1. Open about:config.

  2. Search for toolkit.legacyUserProfileCustomizations.stylesheets.

  3. Double-click the value to set it to true.

  4. Open about:support.

  5. Search for Profile Directory (or Profile Folder).

  6. Click Open Directory (or Open Folder).

  7. Create a directory named chrome.

  8. Navigate into the chrome directory.

  9. Create a new file inside chrome named userChrome.css.

  10. 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; }
  11. Save the file.

  12. Restart Firefox.

The old tab style is restored.

3

Not surprisingly I'm not the only one disliking this, and fortunately there's already a fix called Lepton at . It still doesn't feel 100% proper, but so much better already with simple tab separators.

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.

Firefox tab appearance change

  • 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.
  • 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("");
    /* 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.

2

My version of userChrome.css, where I changed only the part that bothers me (detached tabs).

  • Tabs are attached to the toolbar, except when a background tab is multi-selected.
  • The tab has the same color as the toolbar when selected.
.tab-background { border-radius: var(--tab-border-radius) var(--tab-border-radius) 0 0 !important; margin-top: 1px !important; margin-bottom: 0 !important; padding-bottom: 31px !important;
}
.tabbrowser-tab[multiselected=true]:not([selected=true]) .tab-background { border-radius: var(--tab-border-radius) !important; margin-top: 2px !important; margin-bottom: 1px !important; padding-bottom: 29px !important;
}
.tabbrowser-tab[selected=true] .tab-background ,
.tabbrowser-tab[multiselected=true] .tab-background { background-color: var(--toolbar-bgcolor) !important; background-image: var(--toolbar-bgimage) !important;
}

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy