// scss-lint:disable QualifyingElement, VendorPrefix // // Textual form controls // .form-control { display: block; width: 100%; // // Make inputs at least the height of their button counterpart (base line-height + padding + border) // height: $input-height; padding: $input-btn-padding-y $input-btn-padding-x; font-size: $font-size-base; line-height: $input-btn-line-height; color: $input-color; background-color: $input-bg; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214. background-image: none; background-clip: padding-box; border: $input-btn-border-width solid $input-border-color; // Note: This has no effect on `s in CSS. @if $enable-rounded { // Manually use the if/else instead of the mixin to account for iOS override border-radius: $input-border-radius; } @else { // Otherwise undo the iOS default border-radius: 0; } @include box-shadow($input-box-shadow); @include transition($input-transition); // Unstyle the caret on ` receives focus // in IE and (under certain conditions) Edge, as it looks bad and cannot be made to // match the appearance of the native widget. // See https://github.com/twbs/bootstrap/issues/19398. color: $input-color; background-color: $input-bg; } } // Make file inputs better match text inputs by forcing them to new lines. .form-control-file, .form-control-range { display: block; } // // Labels // // For use with horizontal and inline forms, when you need the label text to // align with the form controls. .col-form-label { padding-top: calc(#{$input-btn-padding-y} - #{$input-btn-border-width} * 2); padding-bottom: calc(#{$input-btn-padding-y} - #{$input-btn-border-width} * 2); margin-bottom: 0; // Override the `