Merge pull request #18824 from nextcloud/backport/18817/stable18

[stable18] Narrow error button styling scope
This commit is contained in:
Roeland Jago Douma 2020-01-12 08:54:24 +01:00 committed by GitHub
commit 26e2fc3368
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {