Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Linux: The tabs text color changes with the theme, while the menu text color is always black.

  • 1 ответ
  • 1 имеет эту проблему
  • 2 просмотра
  • Последний ответ от CoryMH

more options

Hello,

When Firefox theme is changed, it usually changes window appearance, e. g. backgrounds, and sets corresponding text color to contrast with that background. It always used to be like this. For instance, I currently use Sunflower_01 theme which sets blue sky as a background. The tabs text is white, as well as the bookmarks. The white text contrasts very fine with the sky. But the menu items are awfully black, casting dark-gray shadows on the dark-blue sky. The menu remains black regardless of the theme I set.

Of course, it's all fine without any add-ons (light background, dark text), but with a theme enabled, it looks not the way it used to be. I wonder if it can be fixed somehow.

I use Mozilla Firefox 33.0 for Linux Mint (release 13, maya).

Looking forward to your reply.

Regards, Andrey

Hello, When Firefox theme is changed, it usually changes window appearance, e. g. backgrounds, and sets corresponding text color to contrast with that background. It always used to be like this. For instance, I currently use Sunflower_01 theme which sets blue sky as a background. The tabs text is white, as well as the bookmarks. The white text contrasts very fine with the sky. But the menu items are awfully black, casting dark-gray shadows on the dark-blue sky. The menu remains black regardless of the theme I set. Of course, it's all fine without any add-ons (light background, dark text), but with a theme enabled, it looks not the way it used to be. I wonder if it can be fixed somehow. I use Mozilla Firefox 33.0 for Linux Mint (release 13, maya). Looking forward to your reply. Regards, Andrey

Все ответы (1)

more options

Hello,

Did you install from the repositories? I have found the same problem with Ubuntu 14.04, a workaround is to either use a userChrome.css file, or (in my opinion, the easier route) Stylish extension with a new Style.

See these articles about the userChrome.css file:

If you use the userChrome.css route, you may need to restart Firefox to apply the changes.

See this article for Stylish:

To add a new style in Stylish, click on the Stylish tool on your toolbar, then "Write New Style", then "Blank style". Or:

  • Tools (or New Fx Menu) > Add-ons > User Styles > Write New Style

Example code for either one method you choose (you can play around with the colours, but I found this worked nicely for my theme):


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

/*change size, color, style of text in Menu Bar */ menubar > menu {color: darkgray !important}

/* Mouse hovering over menu */ menubar > menu[_moz-menuactive="true"] {color: white !important;}

/* Active/Open menus */ menubar > menu[_moz-menuactive="true"][open="true"] {color: black !important;}