Merge pull request #11423 from nextcloud/inline-input-error-fix
Fix invalid inline input confirm border
This commit is contained in:
commit
f6e39e5400
1 changed files with 160 additions and 160 deletions
|
@ -248,6 +248,11 @@ input {
|
|||
|
||||
/* only show confirm borders if input is not focused */
|
||||
&:not(:active):not(:hover):not(:focus){
|
||||
&:invalid {
|
||||
+ .icon-confirm {
|
||||
border-color: var(--color-error);
|
||||
}
|
||||
}
|
||||
+ .icon-confirm {
|
||||
&:active,
|
||||
&:hover,
|
||||
|
@ -263,11 +268,6 @@ input {
|
|||
&:active,
|
||||
&:hover,
|
||||
&:focus {
|
||||
&:invalid {
|
||||
+ .icon-confirm {
|
||||
border-color: var(--color-error);
|
||||
}
|
||||
}
|
||||
+ .icon-confirm {
|
||||
border-color: var(--color-primary-element) !important;
|
||||
border-left-color: transparent !important;
|
||||
|
|
Loading…
Reference in a new issue