diff --git a/public/style.css b/public/style.css index ba12e70d..f1bff694 100644 --- a/public/style.css +++ b/public/style.css @@ -8130,13 +8130,13 @@ pre, } .error :is(.hmn-form input), .hmn-form input.error, -.hmn-form input:invalid, +.hmn-form input:user-invalid, .error :is(.hmn-form textarea), .hmn-form textarea.error, -.hmn-form textarea:invalid, +.hmn-form textarea:user-invalid, .error :is(.hmn-form select), .hmn-form select.error, -.hmn-form select:invalid { +.hmn-form select:user-invalid { border-color: var(--border-color-error); } .hmn-form input:disabled, diff --git a/src/rawdata/scss/form.css b/src/rawdata/scss/form.css index 9f00fb0b..66617a94 100644 --- a/src/rawdata/scss/form.css +++ b/src/rawdata/scss/form.css @@ -23,7 +23,7 @@ .error &, &.error, - &:invalid { + &:user-invalid { border-color: var(--border-color-error); } @@ -92,4 +92,4 @@ border-bottom: 1px solid var(--border-color); } } -} \ No newline at end of file +}