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 committed by Backportbot
parent 687715c877
commit 74db98cc69

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 {