Skip to content

Commit

Permalink
fix errors options
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhailov-s committed Sep 26, 2019
1 parent fcce3ea commit 9d7ca93
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/v2/scss/components/_forms/_inputs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,8 @@
//Error

.ui.input.error > input,
.ui.input.error > textarea,
.error .ui.option.radio:not(.disabled) > .control__indicator,
.error .ui.option.checkbox:not(.disabled) > .control__indicator {
.ui.input.error > textarea
{
background-color: $form-feedback-color;
border:$control-border-width solid $form-feedback-invalid-color;
&:hover {
Expand Down
7 changes: 7 additions & 0 deletions src/v2/scss/components/_forms/_options.scss
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,11 @@
margin-bottom: 0;
}
}
}

//Error

.grouped.error .ui.option.radio:not(.disabled) > .control__indicator::before,
.grouped.error .ui.option.checkbox:not(.disabled) > .control__indicator::before {
border-color: $red;
}

0 comments on commit 9d7ca93

Please sign in to comment.