Sha256: 824c1fd720f5487398fe07ab0518613f0e47c8974da320f9c0d866c7f2840655

Contents?: true

Size: 1.12 KB

Versions: 531

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

531 entries across 530 versions & 27 rubygems

Version Path
cm-admin-4.4.8 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
cm-admin-4.4.6 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
jekyll-theme-petridish-3.1.0 _sass/bootstrap/forms/_labels.scss
cm-admin-4.4.1 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
cm-admin-4.4.0 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
cm-admin-4.3.0 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
elixir-toolkit-theme-4.0.0 _sass/bootstrap/forms/_labels.scss
cm-admin-4.2.1 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
cm-admin-4.2.0 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
rails_admin-3.3.0 vendor/assets/stylesheets/rails_admin/bootstrap/forms/_labels.scss
cm-admin-4.1.2 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
cm-admin-4.1.1 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
cm-admin-4.1.0 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/forms/_labels.scss
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