assets/stylesheets/bootstrap/mixins/_forms.scss in bootstrap-4.0.0.alpha5 vs assets/stylesheets/bootstrap/mixins/_forms.scss in bootstrap-4.0.0.alpha6
- old
+ new
@@ -5,23 +5,21 @@
@mixin form-control-validation($color) {
// Color the label and help text
.form-control-feedback,
.form-control-label,
+ .col-form-label,
.form-check-label,
- .form-check-inline,
.custom-control {
color: $color;
}
// Set the border and box shadow on specific inputs to match
.form-control {
border-color: $color;
- @if $enable-rounded {
- &:focus {
- box-shadow: $input-box-shadow, 0 0 6px lighten($color, 20%);
- }
+ &:focus {
+ @include box-shadow($input-box-shadow, 0 0 6px lighten($color, 20%));
}
}
// Set validation states also for addons
.input-group-addon {