搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 1 个回答
  • 1 人有此问题
  • 5 次查看
  • 最后回复者为 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;}