diff --git a/scss/_forms.scss b/scss/_forms.scss index 0d22c15f07..7c483477c0 100644 --- a/scss/_forms.scss +++ b/scss/_forms.scss @@ -296,84 +296,6 @@ input[type="checkbox"] { } - - -// .form-control-success { -// background-image: $form-icon-success; -// border-color: $brand-success; -// } -// -// .form-control-warning { -// background-image: $form-icon-warning; -// border-color: $brand-warning; -// } -// -// .form-control-error { -// background-image: $form-icon-danger; -// border-color: $brand-danger; -// } - - -// .has-feedback { -// // Enable absolute positioning -// position: relative; -// -// // Ensure icons don't overlap text -// .form-control { -// padding-right: ($input-height * 1.25); -// } -// } -// // Feedback icon -// .form-control-feedback { -// position: absolute; -// top: 0; -// right: 0; -// z-index: 2; // Ensure icon is above input groups -// display: block; -// width: $input-height; -// height: $input-height; -// line-height: $input-height; -// text-align: center; -// pointer-events: none; -// } -// .input-lg + .form-control-feedback, -// .input-group-lg + .form-control-feedback { -// width: $input-height-lg; -// height: $input-height-lg; -// line-height: $input-height-lg; -// } -// .input-sm + .form-control-feedback, -// .input-group-sm + .form-control-feedback { -// width: $input-height-sm; -// height: $input-height-sm; -// line-height: $input-height-sm; -// } -// -// // Form validation states -// .has-success { -// @include form-control-validation($state-success-text, $state-success-text, $state-success-bg); -// } -// .has-warning { -// @include form-control-validation($state-warning-text, $state-warning-text, $state-warning-bg); -// } -// .has-danger { -// @include form-control-validation($state-danger-text, $state-danger-text, $state-danger-bg); -// } -// -// // Reposition feedback icon if input has visible label above -// .has-feedback label { -// -// ~ .form-control-feedback { -// // TODO: redo this since we nuked the `$line-height-computed` -// top: 0; // Height of the `label` and its margin -// } -// -// &.sr-only ~ .form-control-feedback { -// top: 0; -// } -// } - - // Inline forms // // Make forms appear inline(-block) by adding the `.form-inline` class. Inline