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
cm-admin-4.0.0 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
cm-admin-3.0.16 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
card-mod-bootstrap-0.18.1 vendor/bootstrap/scss/forms/_labels.scss
cm-admin-3.0.15 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
cm-admin-3.0.14 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
cm-admin-3.0.13 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
cm-admin-3.0.12 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
card-mod-bootstrap-0.18.0 vendor/bootstrap/scss/forms/_labels.scss
cm-admin-3.0.11 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
cm-admin-3.0.10 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
cm-admin-3.0.9 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
cm-admin-3.0.8 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
cm-admin-3.0.7 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
cm-admin-3.0.6 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
cm-admin-3.0.5 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
cm-admin-3.0.4 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
cm-admin-3.0.3 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
cm-admin-3.0.2 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
cm-admin-3.0.1 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
cm-admin-3.0.0 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss