Merge pull request #18824 from nextcloud/backport/18817/stable18
[stable18] Narrow error button styling scope
This commit is contained in:
commit
26e2fc3368
1 changed files with 6 additions and 5 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue