Merge pull request #18817 from nextcloud/bugfix/18751

Narrow error button styling scope
This commit is contained in:
Roeland Jago Douma 2020-01-11 08:18:53 +01:00 committed by GitHub
commit 40195fb8dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 5 deletions

View File

@ -115,11 +115,6 @@ div[contenteditable=true],
cursor: default; cursor: default;
} }
} }
&.error {
background-color: var(--color-error) !important;
border-color: var(--color-error);
}
} }
div[contenteditable=false] { div[contenteditable=false] {
@ -198,6 +193,12 @@ input[type='reset'] {
&::-moz-focus-inner { &::-moz-focus-inner {
border: 0; border: 0;
} }
&.error {
background-color: var(--color-error) !important;
border-color: var(--color-error) !important;
color: #fff !important;
}
} }
button, .button { button, .button {
> span { > span {