Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

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

Learn More

Can't change the default hover color of buttons in the navigation bar

  • 2 个回答
  • 0 人有此问题
  • 1 次查看
  • 最后回复者为 fioiu omotrl

more options

Hi, I can't change the default hover color of buttons in the navigation bar. It either remains totally unaffected or there appears a larger background image of my color overlaid with the smaller default hover image. Hover on the bookmarks toolbar works fine, except for the "Show more bookmarks" chevron, which behaves exactly like a navigation bar button. I tried these:

  1. nav-bar toolbarbutton:hover,
  2. nav-bar toolbarbutton:hover:active,
  3. nav-bar toolbarbutton-icon:hover,
  4. nav-bar .toolbarbutton-icon:hover, #nav-bar.browser-toolbar hbox#nav-bar-customization-target.customization-target toolbarbutton:hover,
  5. nav-bar toolbarbutton[open="true"],
  6. nav-bar toolbarbutton[checked="true"],
  7. nav-bar toolbarbutton[buttonover="true"]
Hi, I can't change the default hover color of buttons in the navigation bar. It either remains totally unaffected or there appears a larger background image of my color overlaid with the smaller default hover image. Hover on the bookmarks toolbar works fine, except for the "Show more bookmarks" chevron, which behaves exactly like a navigation bar button. I tried these: #nav-bar toolbarbutton:hover, #nav-bar toolbarbutton:hover:active, #nav-bar toolbarbutton-icon:hover, #nav-bar .toolbarbutton-icon:hover, #nav-bar.browser-toolbar hbox#nav-bar-customization-target.customization-target toolbarbutton:hover, #nav-bar toolbarbutton[open="true"], #nav-bar toolbarbutton[checked="true"], #nav-bar toolbarbutton[buttonover="true"]

被采纳的解决方案

Did you check existing rules in the Browser Toolbox?

Those colors are usually controlled via CSS variables like --toolbarbutton-hover-background, so easiest to affect this is modifying involved variables. possibly within a specific scope like #nav-bar.

定位到答案原位置 👍 0

所有回复 (2)

more options

选择的解决方案

Did you check existing rules in the Browser Toolbox?

Those colors are usually controlled via CSS variables like --toolbarbutton-hover-background, so easiest to affect this is modifying involved variables. possibly within a specific scope like #nav-bar.

有帮助吗?

more options

All right, will check it out, thanks a lot!

有帮助吗?

我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题