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

Fixes #1354 Clay CSS Buttons in Input Group should be more customizable #1355

Merged
merged 3 commits into from
Dec 5, 2018

Conversation

pat270
Copy link
Member

@pat270 pat270 commented Dec 4, 2018

No description provided.

…ing new base button classes with options to configure `breakpoint-down`, `border-color`, `border-radius`, `border-style`, `border-width`, `display`, `font-size`, `font-weight`, `height`, `line-height`, `padding-bottom`, `padding-left`, `padding-right`, `padding-top`, `transition`, `user-select`, `vertical-align`, `white-space`, `width`, `inline-item-font-size`, `section-font-size`, `section-font-weight`, `section-line-height`, `font-size-mobile`, `height-mobile`, `padding-bottom-mobile`, `padding-left-mobile`, `padding-right-mobile`, `padding-top-mobile`, `width-mobile`
…up-item-margin-left`, `$input-group-inset-item-padding-left`, `$input-group-inset-item-padding-right` and Sass maps `$input-group-lg-item-btn`, `$input-group-lg-item-btn-monospaced`, `$input-group-lg-inset-item-btn`, `$input-group-lg-inset-item-form-file-btn`, `$input-group-sm-item-btn`, `$input-group-sm-item-btn-monospaced`, `$input-group-sm-inset-item-btn`, `$input-group-sm-inset-item-form-file-btn` for more customization options
@jbalsas
Copy link
Contributor

jbalsas commented Dec 5, 2018

Looks great, @pat270!

My main concern was that we were losing some defaults here, introducing a breaking change, but if I'm reading the code correctly, we're setting the default values of the new variables to the old $btn- variables, right?

I'm merging it in 👍

@jbalsas jbalsas merged commit 24e378f into liferay:develop Dec 5, 2018
@pat270
Copy link
Member Author

pat270 commented Dec 5, 2018

@jbalsas yes default values were moved to variables. There were some redundant properties that are defined in the normal size and were being defined again in lg and sm sizes.

@pat270 pat270 deleted the clay-1354 branch July 2, 2019 20:36
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