From 41134dafa0152f918c284f06e2c21ba6179491ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= <jus@bitgrid.net> Date: Fri, 10 Jan 2020 16:50:20 +0100 Subject: [PATCH] Narrow error button styling scope MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl <jus@bitgrid.net> --- core/css/inputs.scss | 11 ++++++----- 1 file 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 { -- GitLab