textarea { &[cols] { height: auto; } } /** Form label */ .form-label { font-size: $h4-font-size; font-weight: $font-weight-bold; display: block; margin-bottom: .5rem; } .form-label-description { float: right; font-weight: $font-weight-normal; color: $text-muted; line-height: $line-height-base * (100%/$small-font-size); font-size: $small-font-size ; } /** Form control */ .form-control { &:-webkit-autofill { box-shadow: 0 0 0 1000px #fff inset; } &:disabled, &.disabled { color: $text-muted; user-select: none; } &[size]{ width: auto; } } .form-control-light { background-color: $gray-100; border-color: transparent; } .form-footer { margin-top: 2rem; } .form-fieldset { padding: 1rem; margin-bottom: 1rem; background: $min-black; border: 1px solid $border-color; border-radius: $border-radius; } .form-required { color: $red; } .custom-control-label::before { background: transparent; border: 1px solid $border-color; } /** Form help */ .form-help { display: inline-flex; font-weight: 600; align-items: center; justify-content: center; width: 1.125rem; height: 1.125rem; font-size: .75rem; color: $text-muted; text-align: center; text-decoration: none; cursor: pointer; user-select: none; background: $gray-200; border-radius: 50%; transition: .3s background-color, .3s color; &:hover, &[aria-describedby] { color: #fff; background: $primary; } } /** Form switch */ .form-check-input { color: $form-check-input-checked-bg-color; &:checked { background-color: currentColor; } } .form-check .form-check-input:not(:checked) ~ .form-check-label { color: $text-muted; } /** Input group */ .input-group-prepend .input-group-text { border-right: 0; } .input-group-append .input-group-text { border-left: 0; }