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

IBX-612: As an Editor, I want to see redesigned input field in all states #1796

Conversation

@tischsoic tischsoic self-assigned this Jul 7, 2021
@tischsoic tischsoic force-pushed the IBX-612-as-editor-i-want-to-see-redesigned-input-field-in-all-states branch from 92438c6 to 1e0ed5a Compare July 7, 2021 13:09
@tischsoic tischsoic requested review from GrabowskiM, lucasOsti and dew326 and removed request for GrabowskiM and lucasOsti July 7, 2021 13:58
.ibexa-form-error {
display: flex;
font-family: $font-family-sans-serif;
font-size: calculateRem(12px);
Copy link
Contributor

Choose a reason for hiding this comment

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

$ibexa-text-font-size-small?

Or maybe you could create some mixin because you repeat 3 time

font-family: $font-family-sans-serif;
font-size: calculateRem(12px);
letter-spacing: 0.12px;
line-height: calculateRem(18px);

Copy link
Contributor Author

@tischsoic tischsoic Jul 12, 2021

Choose a reason for hiding this comment

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

I was thinking about the same. But I'm not sure what I can combine to make it reusable.
Maybe 2 mixins:

  • one with: font-family and letter-spacing
  • and the other with: font-size and line-height

?

.ibexa-form-help {
display: flex;
font-family: $font-family-sans-serif;
font-size: calculateRem(12px);
Copy link
Contributor

@lucasOsti lucasOsti Jul 12, 2021

Choose a reason for hiding this comment

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

$ibexa-text-font-size-small?

@include label-required();

font-family: $font-family-sans-serif;
font-size: calculateRem(12px);
Copy link
Contributor

@lucasOsti lucasOsti Jul 12, 2021

Choose a reason for hiding this comment

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

$ibexa-text-font-size-small?

padding: 0;
fill: $ibexa-color-dark;

.ibexa-icon {
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe modifier in icons.scss ?

@tischsoic tischsoic force-pushed the IBX-612-as-editor-i-want-to-see-redesigned-input-field-in-all-states branch 2 times, most recently from 3635948 to 9be2fb3 Compare July 12, 2021 12:37
@@ -40,10 +40,10 @@
}

&--text {
font-family: $font-family-sans-serif;
@include ibexa-font-sans-serif();

font-size: $small-font-size;
Copy link
Contributor

Choose a reason for hiding this comment

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

Please use variable with "ibexa" prefix: $ibexa-text-font-size-small or $ibexa-text-font-size-medium

@tischsoic tischsoic force-pushed the IBX-612-as-editor-i-want-to-see-redesigned-input-field-in-all-states branch from 88b204e to 620b228 Compare July 14, 2021 12:01
@tischsoic tischsoic force-pushed the IBX-612-as-editor-i-want-to-see-redesigned-input-field-in-all-states branch from 46bdd4a to 2da6f37 Compare July 19, 2021 09:24
@tischsoic tischsoic force-pushed the IBX-612-as-editor-i-want-to-see-redesigned-input-field-in-all-states branch 3 times, most recently from 75da991 to c4bab88 Compare July 27, 2021 10:40
@tischsoic tischsoic force-pushed the IBX-612-as-editor-i-want-to-see-redesigned-input-field-in-all-states branch from c4bab88 to 9ca8189 Compare August 4, 2021 11:29
@tischsoic tischsoic force-pushed the IBX-612-as-editor-i-want-to-see-redesigned-input-field-in-all-states branch from 9ca8189 to fec2b02 Compare August 4, 2021 11:30
@sonarcloud
Copy link

sonarcloud bot commented Aug 4, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
5 participants