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

ClayCSS: Create markup for labels in input #1340

Merged
merged 5 commits into from
Dec 3, 2018
Merged

Conversation

pat270
Copy link
Member

@pat270 pat270 commented Nov 30, 2018

No description provided.

…t are interactive

Fixes liferay#1283 - Mixin `clay-label-size` should be able to resize `.label-item .lexicon-icon` and added options to configure `$label-link-color`, `$item-spacer-x`, `$item-spacer-y`, `$sticker-size`, and `$sticker-border-radius`

Fixes liferay#1283 - Labels added options to configure `$label-sticker-border-radius`, `$label-sticker-size`, `$label-item-spacer-y`

Fixes liferay#1283 - Labels added Sass maps `$label-primary`, `$label-secondary`, `$label-success`, `$label-info`, `$label-warning`, `$label-danger`, `$label-light`, `$label-dark` and use mixin `clay-label-variant` to style labels

Fixes liferay#1283 - Labels deprecated `$label-primary-*`, `$label-secondary-*`, `$label-success-*`, `$label-info-*`, `$label-warning-*`, `$label-danger-*`, `$label-light-*`, `$label-dark-*` variables

Fixes liferay#1283 - Labels added Sass maps `$label-primary-close`, `$label-secondary-close`, `$label-success-close`, `$label-info-close`, `$label-warning-close`, `$label-danger-close`, `$label-light-close`, `$label-dark-close`
Fixes liferay#1283 - Forms `.form-control.focus` should show input in focus state
…d have hover state color

Fixes liferay#1283 - Labels `button.label` should have cursor pointer and have same styles as `a.label`
Test Site: Update SVG icon markup to use `focusable="false" role="presentation"`
(clayui.com) Update SVG icon markup to use `focusable="false" role="presentation"`
@jbalsas jbalsas merged commit f1239f4 into liferay:develop Dec 3, 2018
@matuzalemsteles
Copy link
Member

hey @pat270, the icons on the label are bigger, was that supposed to happen or do we have to change some markup?

See example:
screen shot 2018-12-03 at 10 34 48

@pat270
Copy link
Member Author

pat270 commented Dec 3, 2018

@matuzalemsteles The Lexicon team requested the size of the icons inside labels be 16px. https://issues.liferay.com/browse/LEXI-393. They need to change the rules, change their mock ups, or make the times svg smaller.

@jbalsas
Copy link
Contributor

jbalsas commented Dec 3, 2018

/cc @victorvalle ?

@victorvalle
Copy link

Hi! The icons inside 24px height labels have a size of 12x12 instead of 16x16.

Sorry for the delay

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

4 participants