Skip to content

Commit

Permalink
Fix invalid inline input confirm border
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Sep 28, 2018
1 parent 02de677 commit e744b02
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions core/css/inputs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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;
Expand Down

0 comments on commit e744b02

Please sign in to comment.