aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-01-10 16:50:20 +0100
committerJulius Härtl <jus@bitgrid.net>2020-01-10 16:50:20 +0100
commit41134dafa0152f918c284f06e2c21ba6179491ed (patch)
treef9e669e5658ebc611f944c8f27df9b25bc89aa8c
parent4b28da1dd9a6acf4f04b69474f18ce883323caa3 (diff)
downloadnextcloud-server-41134dafa0152f918c284f06e2c21ba6179491ed.tar.gz
nextcloud-server-41134dafa0152f918c284f06e2c21ba6179491ed.zip
Narrow error button styling scope
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r--core/css/inputs.scss11
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 {