Skip to content
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

Apply more specificity to fix disabled states #608

Merged
merged 2 commits into from
Apr 2, 2018

Conversation

snide
Copy link
Contributor

@snide snide commented Mar 30, 2018

I busted hover states for disabled buttons in #603

This adds the appropriate level of specificity to make sure disabled buttons don't get backgrounds regardless of their variation.

The black background just shows that it's hollow and not a transparent white.

image

@cchaos
Copy link
Contributor

cchaos commented Apr 2, 2018

Hmm, I'm still getting hover states for disabled buttons. But I think you can just add box-shadow: none to line 67.

@snide
Copy link
Contributor Author

snide commented Apr 2, 2018

@cchaos Good catch. Though I made it so the default shadow stays around, rather than removes it on hover.

@snide snide merged commit 78477e7 into elastic:master Apr 2, 2018
@snide snide deleted the button/disabled_states branch April 2, 2018 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants