From 9d7ca9321f9a75048b59b32ea5e89f4eea436c4e Mon Sep 17 00:00:00 2001 From: Svyatoslav Mikhaylov Date: Thu, 26 Sep 2019 21:40:06 +0300 Subject: [PATCH] fix errors options --- src/v2/scss/components/_forms/_inputs.scss | 5 ++--- src/v2/scss/components/_forms/_options.scss | 7 +++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/v2/scss/components/_forms/_inputs.scss b/src/v2/scss/components/_forms/_inputs.scss index a6a03583..885a4ad9 100644 --- a/src/v2/scss/components/_forms/_inputs.scss +++ b/src/v2/scss/components/_forms/_inputs.scss @@ -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 { diff --git a/src/v2/scss/components/_forms/_options.scss b/src/v2/scss/components/_forms/_options.scss index 44f42c9e..2d57e071 100644 --- a/src/v2/scss/components/_forms/_options.scss +++ b/src/v2/scss/components/_forms/_options.scss @@ -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; } \ No newline at end of file