diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-01-10 18:50:20 +0300 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2020-01-11 10:19:44 +0300 |
commit | 74db98cc69c91545fc0ca738538578230f44d7fb (patch) | |
tree | 0ac55d5ae382ff1db53cfa87c459c0de043263df /core/css | |
parent | 687715c877ec09750198e24abc72e80ea9d36174 (diff) |
Narrow error button styling scope
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/css')
-rw-r--r-- | core/css/inputs.scss | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/core/css/inputs.scss b/core/css/inputs.scss index 566ce24b646..29a9138b19a 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 { |