diff --git a/core/css/inputs.scss b/core/css/inputs.scss index 1b9eae628b..68d9b249cd 100644 --- a/core/css/inputs.scss +++ b/core/css/inputs.scss @@ -248,6 +248,11 @@ input { /* only show confirm borders if input is not focused */ &:not(:active):not(:hover):not(:focus){ + &:invalid { + + .icon-confirm { + border-color: var(--color-error); + } + } + .icon-confirm { &:active, &:hover, @@ -263,11 +268,6 @@ input { &:active, &:hover, &:focus { - &:invalid { - + .icon-confirm { - border-color: var(--color-error); - } - } + .icon-confirm { border-color: var(--color-primary-element) !important; border-left-color: transparent !important;