Skip to content

Commit

Permalink
fix: remove duplicated properties
Browse files Browse the repository at this point in the history
  • Loading branch information
zetareticoli authored and astagi committed Sep 30, 2024
1 parent 549fcba commit 0bf3801
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/scss/custom/_just-validate.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ button:has(~ .is-invalid),
padding-right: calc(1.5em + 0.75rem) !important;
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2300cc85' viewBox='0 0 192 512'%3E%3Cpath d='M435.848 83.466L172.804 346.51l-96.652-96.652c-4.686-4.686-12.284-4.686-16.971 0l-28.284 28.284c-4.686 4.686-4.686 12.284 0 16.971l133.421 133.421c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-28.284-28.284c-4.686-4.686-12.284-4.686-16.97 0z'/%3E%3C/svg%3E");
}

.input-group-text:has(~ .just-validate-success-field),
.just-validate-success-field ~ .input-group-text,
button:has(~ .just-validate-success-field),
Expand Down Expand Up @@ -70,13 +71,7 @@ textarea {
border-bottom-width: 1px;
}
}
input[type='date'] {
&.is-invalid {
border-bottom: 1px solid #d9364f;
padding-right: calc(1.5em + 0.75rem) !important;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23f73e5a' viewBox='0 0 384 512'%3E%3Cpath d='M231.6 256l130.1-130.1c4.7-4.7 4.7-12.3 0-17l-22.6-22.6c-4.7-4.7-12.3-4.7-17 0L192 216.4 61.9 86.3c-4.7-4.7-12.3-4.7-17 0l-22.6 22.6c-4.7 4.7-4.7 12.3 0 17L152.4 256 22.3 386.1c-4.7 4.7-4.7 12.3 0 17l22.6 22.6c4.7 4.7 12.3 4.7 17 0L192 295.6l130.1 130.1c4.7 4.7 12.3 4.7 17 0l22.6-22.6c4.7-4.7 4.7-12.3 0-17L231.6 256z'/%3E%3C/svg%3E");
}
}

input[type='checkbox'],
input[type='radio'] {
&.just-validate-success-field {
Expand All @@ -85,6 +80,7 @@ input[type='radio'] {
}
}
}

select {
&.is-invalid {
border-bottom: 1px solid #d9364f;
Expand Down

0 comments on commit 0bf3801

Please sign in to comment.