diff options
Diffstat (limited to 'client/src/sass/class-helpers.scss')
-rw-r--r-- | client/src/sass/class-helpers.scss | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/client/src/sass/class-helpers.scss b/client/src/sass/class-helpers.scss index 4a04cabba..87ad6a45d 100644 --- a/client/src/sass/class-helpers.scss +++ b/client/src/sass/class-helpers.scss | |||
@@ -69,6 +69,10 @@ | |||
69 | margin-bottom: 1rem; | 69 | margin-bottom: 1rem; |
70 | } | 70 | } |
71 | 71 | ||
72 | .input-error:not(:focus) { | ||
73 | border-color: $red !important; | ||
74 | } | ||
75 | |||
72 | .form-error, | 76 | .form-error, |
73 | .form-warning { | 77 | .form-warning { |
74 | display: block; | 78 | display: block; |
@@ -79,8 +83,8 @@ | |||
79 | color: $red; | 83 | color: $red; |
80 | } | 84 | } |
81 | 85 | ||
82 | .input-error { | 86 | .input-error:focus + .form-error { |
83 | border-color: $red !important; | 87 | color: pvar(--mainForegroundColor); |
84 | } | 88 | } |
85 | 89 | ||
86 | .form-group-description { | 90 | .form-group-description { |