Skip to content

Commit

Permalink
added invalid form-group styles
Browse files Browse the repository at this point in the history
ganigeorgiev committed Jul 16, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 7fd5102 commit 72f72bc
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions ui/src/scss/_form.scss
Original file line number Diff line number Diff line change
@@ -409,7 +409,7 @@ select {
label {
display: flex;
width: 100%;
column-gap: 10px;
column-gap: 5px;
align-items: center;
user-select: none;
font-weight: 600;
@@ -487,19 +487,26 @@ select {
}

// states
&.error {
&.error,
&.invalid {
.help-block-error {
color: var(--dangerColor);
}
> label {
color: var(--dangerColor);
}
}
&.invalid {
label, %input {
background: var(--dangerAltColor);
}
}
&.required:not(.form-field-toggle) {
> label:after {
content: '*';
color: var(--dangerColor);
margin-left: -7px;
margin-top: -2px;
margin-left: -2px;
}
}
&.disabled {

0 comments on commit 72f72bc

Please sign in to comment.