diff --git a/core/css/inputs.scss b/core/css/inputs.scss index 566ce24b64..29a9138b19 100644 --- a/core/css/inputs.scss +++ b/core/css/inputs.scss @@ -115,11 +115,6 @@ div[contenteditable=true], cursor: default; } } - - &.error { - background-color: var(--color-error) !important; - border-color: var(--color-error); - } } div[contenteditable=false] { @@ -198,6 +193,12 @@ input[type='reset'] { &::-moz-focus-inner { border: 0; } + + &.error { + background-color: var(--color-error) !important; + border-color: var(--color-error) !important; + color: #fff !important; + } } button, .button { > span {