Iskanje po podpori

Izogibajte se prevarantski tehnični podpori. Nikoli vam ne bomo naročili, da pokličete telefonsko številko ali nam pošljete osebne podatke. Sumljivo dejavnost prijavite z gumbom »Prijavi zlorabo«.

Več o tem

Change color of tab when selected

  • 3 odgovori
  • 3 imajo to težavo
  • 1 ogled
  • Zadnji odgovor od cor-el

more options

I'm using windows 8.1 black theme, and needed to change the headings from gray to white with uxstyle. Since then my firefox uses for tab background black color and also for their label. I made this script to change color of tabs from black to white:

.tabbrowser-tab .tab-label { color: white !important; }

But now the selected tab is white with white label. Is there a way to change color of selected tab too? If yes how can I do it?

Thanks

I'm using windows 8.1 black theme, and needed to change the headings from gray to white with uxstyle. Since then my firefox uses for tab background black color and also for their label. I made this script to change color of tabs from black to white: .tabbrowser-tab .tab-label { color: white !important; } But now the selected tab is white with white label. Is there a way to change color of selected tab too? If yes how can I do it? Thanks

Izbrana rešitev

I've done it this way:

.tabbrowser-tab .tab-label { color: white; !important; }


.tabbrowser-tab[selected] .tab-label{ color: black; !important; }

Preberite ta odgovor v kontekstu 👍 0

Vsi odgovori (3)

more options

Izbrana rešitev

I've done it this way:

.tabbrowser-tab .tab-label { color: white; !important; }


.tabbrowser-tab[selected] .tab-label{ color: black; !important; }

more options

I tried what you said but it doesn't change the entire tab color. It only changes part of the tab color, not all of it. I'd like to change the entire background color, just leaving the borders (to identify the selected tab) Do you know how to do it?

more options

You can look at the Classic Theme Restorer to see how this extension achieves this (XPI is a ZIP archive).