Skip to content

Commit

Permalink
fix: perform linting
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmatthew committed Sep 21, 2021
1 parent de08d0d commit ae4e052
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 27 deletions.
4 changes: 3 additions & 1 deletion docs/assets/css/talis.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/assets/css/talis.css.map

Large diffs are not rendered by default.

46 changes: 21 additions & 25 deletions scss/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,6 @@ legend {
}
}

.help-block {
display: block;
margin-top: .3125rem;
margin-bottom: .625rem;
font-style: italic;
color: $gray-700;
}

.field-label,
.field-hint,
.field-error {
Expand All @@ -79,41 +71,45 @@ legend {
}

.field-error {
margin-top: math.div($spacer, 2);
}

.field-error,
.help-block {
display: block;
padding: math.div($spacer, 4) $spacer;
margin-top: math.div($spacer, 2);
margin-bottom: math.div($spacer, 2);
border-left: 3px solid;
}

.field-error {
color: $red;
border-left-color: $red;
border-left: 3px solid $red;
}

.help-block {
display: block;
padding: math.div($spacer, 4) $spacer;
margin-top: .3125rem;
margin-bottom: .625rem;
margin-bottom: math.div($spacer, 2);
font-style: italic;
color: $black;
border-left-color: $primary;
border-left: 3px solid $primary;
}

.input-group + .field-error {
margin-top: math.div($spacer, 2);
}

.was-validated .form-control:invalid, .form-control.is-invalid,
.was-validated .form-control:valid, .form-control.is-valid {
.was-validated .form-control:invalid,
.form-control.is-invalid,
.was-validated .form-control:valid,
.form-control.is-valid {
border-color: $input-border-color;
}


.was-validated .form-control:invalid:focus, .form-control.is-invalid:focus,
.was-validated .form-control:valid:focus, .form-control.is-valid:focus,
.was-validated .form-select:invalid:focus, .form-select.is-invalid:focus,
.was-validated .form-select:valid:focus, .form-select.is-valid:focus {
.was-validated .form-control:invalid:focus,
.form-control.is-invalid:focus,
.was-validated .form-control:valid:focus,
.form-control.is-valid:focus,
.was-validated .form-select:invalid:focus,
.form-select.is-invalid:focus,
.was-validated .form-select:valid:focus,
.form-select.is-valid:focus {
border-color: $input-focus-border-color;
box-shadow: $input-focus-box-shadow;
}

0 comments on commit ae4e052

Please sign in to comment.