summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-01-11 08:18:53 +0100
committerGitHub <noreply@github.com>2020-01-11 08:18:53 +0100
commit40195fb8dc2b99dac2c9c37ea840baba734fdeba (patch)
tree5279af0f3c2806b44ec7e9d00c7f5751b3c82481
parentff18ad7f0014692dc47928de47dd61f93d7d2181 (diff)
parent41134dafa0152f918c284f06e2c21ba6179491ed (diff)
downloadnextcloud-server-40195fb8dc2b99dac2c9c37ea840baba734fdeba.tar.gz
nextcloud-server-40195fb8dc2b99dac2c9c37ea840baba734fdeba.zip
Merge pull request #18817 from nextcloud/bugfix/18751
Narrow error button styling scope
-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 {