Sha256: 824c1fd720f5487398fe07ab0518613f0e47c8974da320f9c0d866c7f2840655

Contents?: true

Size: 1.12 KB

Versions: 518

Compression:

Stored size: 1.12 KB

Contents

//
// Labels
//

.form-label {
  margin-bottom: $form-label-margin-bottom;
  @include font-size($form-label-font-size);
  font-style: $form-label-font-style;
  font-weight: $form-label-font-weight;
  color: $form-label-color;
}

// For use with horizontal and inline forms, when you need the label (or legend)
// text to align with the form controls.
.col-form-label {
  padding-top: add($input-padding-y, $input-border-width);
  padding-bottom: add($input-padding-y, $input-border-width);
  margin-bottom: 0; // Override the `<legend>` default
  @include font-size(inherit); // Override the `<legend>` default
  font-style: $form-label-font-style;
  font-weight: $form-label-font-weight;
  line-height: $input-line-height;
  color: $form-label-color;
}

.col-form-label-lg {
  padding-top: add($input-padding-y-lg, $input-border-width);
  padding-bottom: add($input-padding-y-lg, $input-border-width);
  @include font-size($input-font-size-lg);
}

.col-form-label-sm {
  padding-top: add($input-padding-y-sm, $input-border-width);
  padding-bottom: add($input-padding-y-sm, $input-border-width);
  @include font-size($input-font-size-sm);
}

Version data entries

518 entries across 517 versions & 27 rubygems

Version Path
administrate-bootstrap-theme-0.1.8 node_modules/bootstrap/scss/forms/_labels.scss
administrate-bootstrap-theme-0.1.6 node_modules/bootstrap/scss/forms/_labels.scss
administrate-bootstrap-theme-0.1.4 node_modules/bootstrap/scss/forms/_labels.scss
administrate-bootstrap-theme-0.1.2 node_modules/bootstrap/scss/forms/_labels.scss
mumuki-styles-3.0.0 app/assets/stylesheets/vendor/bootstrap/forms/_labels.scss
bootstrap-5.0.0.beta2 assets/stylesheets/bootstrap/forms/_labels.scss
infotorg-api-jekyll-theme-0.1.8 _sass/bootstrap/forms/_labels.scss
infotorg-api-jekyll-theme-0.1.7 _sass/bootstrap/forms/_labels.scss
infotorg-api-jekyll-theme-0.1.5 _sass/bootstrap/forms/_labels.scss
bootstrap-5.0.0.beta1 assets/stylesheets/bootstrap/forms/_labels.scss
infotorg-api-jekyll-theme-0.1.4 _sass/bootstrap/forms/_labels.scss
infotorg-api-jekyll-theme-0.1.3 _sass/bootstrap/forms/_labels.scss
infotorg-api-jekyll-theme-0.1.2 _sass/bootstrap/forms/_labels.scss
infotorg-api-jekyll-theme-0.1.1 _sass/bootstrap/forms/_labels.scss
infotorg-api-jekyll-theme-0.1.0 _sass/bootstrap/forms/_labels.scss
bootstrap-5.0.0.alpha3 assets/stylesheets/bootstrap/forms/_labels.scss
bootstrap-5.0.0.alpha2 assets/stylesheets/bootstrap/forms/_labels.scss
bootstrap-5.0.0.alpha1 assets/stylesheets/bootstrap/forms/_labels.scss