Narrow error button styling scope

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2020-01-10 16:50:20 +01:00
parent 4b28da1dd9
commit 41134dafa0
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
1 changed files with 6 additions and 5 deletions

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 {