为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

How do I change the color used to highlight menu choices?

more options

When I click on one of the menu bar options (for example, Bookmarks) and move my cursor down the column, the highlighted choice is displayed in a light blue - so light that I can barely see it. Is there any way to make the highlighted choice color brighter, or a different color? (Please noted that when I click on a ribbon choice in, for example, Microsoft Excel, the highlighted menu choices under "View" appear in a medium orange color as I roll my cursor over them).

Thanks very much for any suggestions you can offer.

When I click on one of the menu bar options (for example, Bookmarks) and move my cursor down the column, the highlighted choice is displayed in a light blue - so light that I can barely see it. Is there any way to make the highlighted choice color brighter, or a different color? (Please noted that when I click on a ribbon choice in, for example, Microsoft Excel, the highlighted menu choices under "View" appear in a medium orange color as I roll my cursor over them). Thanks very much for any suggestions you can offer.

所有回复 (2)

more options

Hello,

A simpler solution is to install the Stylish extension, and then this style:

You can modify the script a little bit until you are happy with the colours in the User Styles tab of your add-ons page (about:addons) after installing Stylish:

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

You can either type in the colour, such as red or orange, or if you want your own:

Then open up Paint in Windows, "Edit Colors", and enter the Red/Green/Blue values there to see what comes out.


The alternative method would be to create/edit your userChrome.css file, see the following for more information:

由CoryMH于修改

more options

Here's a sample rule as more information on how to set it up in Stylish.

Stylish will add an "S" icon to the main Navigation Toolbar. If it's missing, you may need to use the Customize feature to move it on to the toolbar (or check whether's on an overflow drop-down accessed using a large >> button).

(1) Select and copy the following rule:

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
#bookmarksMenuPopup menuitem:hover,
#bookmarksMenuPopup menu:hover {
  /* Modified text appearance: bold + color=black */
  font-weight:bold !important;
  color:#000 !important;
  /* Modified background appearance: orange color + border */
  background-color:#fc9 !important;
  border:1px solid #f60 !important;
}
#bookmarksMenuPopup menuitem:hover,
#bookmarksMenuPopup menu:hover {
  -moz-appearance:none !important;
}

(2) Click the Stylish "S" icon > Write new style > Blank style.

(3) Click the lower area next to "1" and paste the rule. A line number should appear for each line.

(4) Click the Preview button to apply the rule, then click the bookmarks menu and hover your bookmarks to see the effect. Success? To modify the colors, you can consult this chart to get the hex codes: http://www.visibone.com/colorlab/

(5) Before saving the rule, type a name in the top box (for example: Bookmarks Menu Higher Contrast)

That's it. Unless there's a problem in Step 4.