Este site está com funcionalidades limitadas enquanto realizamos manutenção para melhorar sua experiência de uso. Se nenhum artigo resolver seu problema e você quiser fazer uma pergunta, nossa comunidade de suporte pode te ajudar em @FirefoxSupport no Twitter e /r/firefox no Reddit.

Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

Change color of tab when selected

  • 3 respostas
  • 3 têm este problema
  • 1 visualização
  • Última resposta de 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

Solução escolhida

I've done it this way:

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


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

Ler esta resposta 👍 0

Todas as respostas (3)

more options

Solução escolhida

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).