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

Simplifying form control styles #954

Merged
merged 4 commits into from
Jun 29, 2018
Merged

Conversation

cchaos
Copy link
Contributor

@cchaos cchaos commented Jun 28, 2018

  • Made bottom colored border from linear-gradient
  • Allowing parameters to determine if just the borders should render
  • Allowing parameters to determine if all state styles should be added
  • Fixing variable naming schemes

Before

After

The one thing to note is that it no longer has a reverse transition. However, it now matches better with our other animations that also don't have a reverse transition.

- Made bottom colored border from linear-gradient
- Allowing parameters to determine if just the borders should render
- Allowing parameters to determine if all state styles should be added
- Fixing variable naming schemes
@cchaos cchaos requested a review from snide June 28, 2018 16:06
@cchaos
Copy link
Contributor Author

cchaos commented Jun 28, 2018

The only downside is that IE doesn't support transitions on background-size.

Copy link
Contributor

@snide snide left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are great. So much smoother than before. Peeped the code and it all seems readable to me. Tested in browsers. IE thing isn't that big of a deal.

@cchaos cchaos merged commit 975159c into elastic:master Jun 29, 2018
@cchaos cchaos deleted the form-controls-styles branch June 29, 2018 16:12
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