Merge pull request #11423 from nextcloud/inline-input-error-fix

Fix invalid inline input confirm border
This commit is contained in:
Morris Jobke 2018-09-28 10:59:44 +02:00 committed by GitHub
commit f6e39e5400
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;