搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

change color of firefox button menu background

more options

I changed the font color of all menus in firefox to white (using userChrome.css) because I am using a custom dark windows 7 theme, where all context menus are dark. The problem is that the Firefox button menu (the menu that appears when you click on the orange firefox button) remains a bright white and blue, making it near impossible to read the white text. Is there anyway to change the two backgrounds of the firefox button menu, or perhaps change it so it appears just like my context menus? (via add-on or by adding to userChrome.css) thanks

I changed the font color of all menus in firefox to white (using userChrome.css) because I am using a custom dark windows 7 theme, where all context menus are dark. The problem is that the Firefox button menu (the menu that appears when you click on the orange firefox button) remains a bright white and blue, making it near impossible to read the white text. Is there anyway to change the two backgrounds of the firefox button menu, or perhaps change it so it appears just like my context menus? (via add-on or by adding to userChrome.css) thanks

被選擇的解決方法

You can use these two as selectors of both panes in the Firefox menu button drop-down list.

#appmenuPrimaryPane
#appmenuSecondaryPane
從原來的回覆中察看解決方案 👍 1

所有回覆 (7)

more options
more options

I need to change the menu that appears when you click on the button, not the button itself

more options

選擇的解決方法

You can use these two as selectors of both panes in the Firefox menu button drop-down list.

#appmenuPrimaryPane
#appmenuSecondaryPane
more options

thank you very much, cor-el!

more options

sorry, but I have one more question. What do I add to userChrome.css to change a submenu within the firefox button menu? (see picture)

more options

This should catch them all:

#appmenu-button menupopup {
 background-color: #xxxxxx !important;
 color: white !important;
 -moz-appearance: none !important; /* you may need this rule */
}
more options

that didn't work, even with the -moz-appearance: none rule  :/