|
|
@@ -30,19 +30,12 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-@mixin form-control-focus($error) {
|
|
|
+@mixin form-control-focus() {
|
|
|
&:focus {
|
|
|
- $shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
|
|
|
- 0 0 5px $input-box-shadow-focus;
|
|
|
border-color: $input-border-focus;
|
|
|
outline: none;
|
|
|
-
|
|
|
- @if $error == true {
|
|
|
- border-color: $brand-warning;
|
|
|
- $shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
|
|
|
- 0 0 5px $brand-warning;
|
|
|
- }
|
|
|
-
|
|
|
+ $shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
|
|
|
+ 0 0 5px $input-box-shadow-focus;
|
|
|
@include box-shadow($shadow);
|
|
|
}
|
|
|
}
|