Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 2 件の返信
  • 0 人がこの問題に困っています
  • 4 回表示
  • 最後の返信者: 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!

役に立ちましたか?

質問する

投稿に返信するには あなたのアカウントにログイン する必要があります。まだアカウントをお持ちでなければ、新しい質問を開始 してください。