Sha256: 824c1fd720f5487398fe07ab0518613f0e47c8974da320f9c0d866c7f2840655

Contents?: true

Size: 1.12 KB

Versions: 519

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

519 entries across 518 versions & 27 rubygems

Version Path
headmin-0.5.5 app/assets/stylesheets/headmin/vendor/bootstrap/scss/forms/_labels.scss
rails_admin-3.1.0.rc vendor/assets/stylesheets/rails_admin/bootstrap/forms/_labels.scss
bootstrap-5.2.1 assets/stylesheets/bootstrap/forms/_labels.scss
elixir-toolkit-theme-1.19.2 _sass/bootstrap/forms/_labels.scss
elixir-toolkit-theme-1.19.1 _sass/bootstrap/forms/_labels.scss
elixir-toolkit-theme-1.19.0 _sass/bootstrap/forms/_labels.scss
headmin-0.5.4 app/assets/stylesheets/headmin/vendor/bootstrap/scss/forms/_labels.scss
elixir-toolkit-theme-1.18.0 _sass/bootstrap/forms/_labels.scss
bootstrap-5.2.0 assets/stylesheets/bootstrap/forms/_labels.scss
redeyed-jekyll-theme-0.1.7 _sass/lib/bootstrap-5.0.2/scss/forms/_labels.scss
redeyed-jekyll-theme-0.1.6 _sass/lib/bootstrap-5.0.2/scss/forms/_labels.scss
redeyed-jekyll-theme-0.1.5 _sass/lib/bootstrap-5.0.2/scss/forms/_labels.scss
redeyed-jekyll-theme-0.1.4 _sass/lib/bootstrap-5.0.2/scss/forms/_labels.scss
redeyed-jekyll-theme-0.1.3 _sass/lib/bootstrap-5.0.2/scss/forms/_labels.scss
headmin-0.5.3 app/assets/stylesheets/headmin/vendor/bootstrap/scss/forms/_labels.scss
jekyll-theme-apcsp-1.1.0 _sass/bootstrap/scss/forms/_labels.scss
headmin-0.5.2 app/assets/stylesheets/headmin/vendor/bootstrap/scss/forms/_labels.scss
rails_admin-3.1.0.beta vendor/assets/stylesheets/rails_admin/bootstrap/forms/_labels.scss
elixir-toolkit-theme-1.17.0 _sass/bootstrap/forms/_labels.scss
elixir-toolkit-theme-1.16.0 _sass/bootstrap/forms/_labels.scss