-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update mixin that sets hover style on some buttons #17581
Update mixin that sets hover style on some buttons #17581
Conversation
I really like the consistency here, @enriquesanchez! Thanks for taking this on! I also noticed that this PR updates these as well, which is excellent. |
It also updated it here too: One thing to note for another PR is the "Block Navigation" popover hover state AND the block's "More Options" popover hover state don't match the rest of the popover hover states. We'll need to create another PR for this. ... that is... if we want this hover state to perpetuate into the popover menus. After looking at it more, I'm inclined to keep the grey solid hover states for the popover menus. It's great on the icons though. |
Should buttons have the style that is coming from core over the hardline? Specifically, the publish button. |
@karmatosed I'm not sure. Think that can be explored on another issue? Particularly if it refers to the Publish button. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just tested again, @enriquesanchez and it works really well. It has removed the original hover effect which would have been odd keeping and now shows the lighter grey. Thanks! 👍
* Update mixing that sets hover style on some buttons * Add popover hover styles to match updates from #17621
Fixes #17337
This is a small update to the
button-style__hover
mixin in_mixins.scss
. The change makes the hover style match the "hard line" style used on the block toolbar and the "Settings" and "More tools & options".Some nitpicks
This change makes more noticeable the size/padding difference between the top toolbar and block toolbar buttons that was already present. Not sure if it's worth looking at this, thoughts?
We also have another hover style in the block inserter, should we also look at updating this one?