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!