-
Notifications
You must be signed in to change notification settings - Fork 1.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
Button Edge States #87
Conversation
Focused objects should stay on top of everything in the z-order stack.
@@ -34,6 +34,11 @@ | |||
box-shadow: 0 0 5px rgba(81, 167, 232, 0.5); | |||
} | |||
|
|||
&:focus:hover, | |||
&.selected:focus { |
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.
Do we need &:active:focus
as well?
Have an example of this? |
Ohhhh yeah, the This'll work into a v2.1 release, so it'll be a few days at least before it's out. Is that cool @aaronshekey or do you need this sooner? |
I'm in no rush on these. My fear is that while these styles are good for a consistent experience across buttons, we don't consistently implement them across github.com. In an effort to make these more proper, we might (in the short term) introduce some jank. Hmm. |
<3 |
This is a new pull request split from #84, now without the brand-color exploration commits.
A number of button changes here, mostly focused on little edge-case polish.
Changes
Left: Old
Right: New
Issues
These issues are beyond the scope of Primer, but they should be noted.