When $input-include-glowing-effect == false, adding the .error class to
an input element resulted in unwanted animation of the input bottom
margin down to zero. Fix is to replace the single-transition mixin
with specific animation of the border-color and background properties.
border-radius: 0;
@include form-element;
@if $input-include-glowing-effect == false {
- @include single-transition(all, .15s, linear);
+ -webkit-transition: border-color 0.15s linear, background 0.15s linear;
+ -moz-transition: border-color 0.15s linear, background 0.15s linear;
+ -ms-transition: border-color 0.15s linear, background 0.15s linear;
+ -o-transition: border-color 0.15s linear, background 0.15s linear;
+ transition: border-color 0.15s linear, background 0.15s linear;
}
&.radius {
@include radius($input-border-radius);