Skip to content

Comments

Apply more specificity to fix disabled states#608

Merged
snide merged 2 commits intoelastic:masterfrom
snide:button/disabled_states
Apr 2, 2018
Merged

Apply more specificity to fix disabled states#608
snide merged 2 commits intoelastic:masterfrom
snide:button/disabled_states

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

@snide snide requested a review from cchaos March 30, 2018 22:12
@snide snide added bug labels Mar 30, 2018
@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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants