Skip to content

Commit

Permalink
fix(module:theme): fix ng-invalid style (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Oct 30, 2018
1 parent d6a33d4 commit fe6d104
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions packages/theme/styles/app/widgets/form.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@
}

.form-state-visual-feedback-mixin(@enabled) when(@enabled = true) {
.ng-invalid:not(form) {
input {
&:focus {
box-shadow: 0 0 @outline-blur-size @outline-width fade-out(@error-color, .8);
}
&,
&:hover {
border-color: @error-color;
}
.ng-invalid {
&:focus {
box-shadow: 0 0 @outline-blur-size @outline-width fade-out(@error-color, .8);
}
&,
&:hover {
border-color: @error-color;
}
}
}
Expand Down

0 comments on commit fe6d104

Please sign in to comment.