MozillaZine

Tab Colors

User Help for Mozilla Firefox
CaJazzman

User avatar
 
Posts: 351
Joined: March 5th, 2009, 2:21 pm
Location: Vacaville,California

Post Posted September 27th, 2019, 4:35 pm

I used to be able to change the color of the primary tab being used, but as of the last couple or so, the tab/s show up as what ever theme I have installed. I used to for instance do this: .tab-content[selected="true"] {
background: rgba( 255 165 0 1.5) !important;
But now, I can put whatever the color RGBA is and it doesn't change. Any ideas? :?:

morat
 
Posts: 3435
Joined: February 3rd, 2009, 6:29 pm

Post Posted September 27th, 2019, 5:48 pm

Your rgba function is missing commas and alpha should be between 0 and 1.

Try this:

Code: Select all
/* Firefox userChrome.css */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

.tab-content[selected="true"] {
  background-color: rgba(255, 165, 0, 1.0) !important; /* orange */
}

The tweak works for me.

Firefox 69.0.1
Windows 7 SP1 32-bit

CaJazzman

User avatar
 
Posts: 351
Joined: March 5th, 2009, 2:21 pm
Location: Vacaville,California

Post Posted September 28th, 2019, 9:33 am

morat wrote:Your rgba function is missing commas and alpha should be between 0 and 1.

Try this:

Code: Select all
/* Firefox userChrome.css */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

.tab-content[selected="true"] {
  background-color: rgba(255, 165, 0, 1.0) !important; /* orange */
}

The tweak works for me.

Firefox 69.0.1
Windows 7 SP1 32-bit

Yes. that worked, Thx! 8-) I see what I was doing wrong.

Return to Firefox Support


Who is online

Users browsing this forum: No registered users and 5 guests