Can't change the default hover color of buttons in the navigation bar
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)
選擇的解決方法
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.
All right, will check it out, thanks a lot!