Sha256: d7e04619e31f653d7a3041e5f04eb0248e6ab0a6cf80acddf52c1e4ad8fb145d

Contents?: true

Size: 1.06 KB

Versions: 35

Compression:

Stored size: 1.06 KB

Contents

// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source

////
/// @group forms
////

/// Color for form labels.
/// @type Color
$form-label-color: $black !default;

/// Font size for form labels.
/// @type Number
$form-label-font-size: rem-calc(14) !default;

/// Font weight for form labels.
/// @type Keyword
$form-label-font-weight: $global-weight-normal !default;

/// Line height for form labels. The higher the number, the more space between the label and its input field.
/// @type Number
$form-label-line-height: 1.8 !default;

@mixin form-label {
  display: block;
  margin: 0;

  font-size: $form-label-font-size;
  font-weight: $form-label-font-weight;
  line-height: $form-label-line-height;
  color: $form-label-color;
}

@mixin form-label-middle {
  $input-border-width: get-border-value($input-border, width);

  margin: 0 0 $form-spacing;
  padding: ($form-spacing / 2 + rem-calc($input-border-width)) 0;
}

@mixin foundation-form-label {
  label {
    @include form-label;

    &.middle {
      @include form-label-middle;
    }
  }
}

Version data entries

35 entries across 35 versions & 7 rubygems

Version Path
bedrock_sass-0.2.2 assets/_vendor/foundation/scss/forms/_label.scss
foundation-rails-6.6.1.0 vendor/assets/scss/forms/_label.scss
foundation-rails-6.5.3.0 vendor/assets/scss/forms/_label.scss
bedrock_sass-0.2.1 assets/_vendor/foundation/scss/forms/_label.scss
foundation-rails-6.5.1.0 vendor/assets/scss/forms/_label.scss
locomotivecms_wagon-2.4.1 generators/foundation/public/stylesheets/foundation6/forms/_label.scss
bedrock_sass-0.2.0 assets/_vendor/foundation/scss/forms/_label.scss
locomotivecms_wagon-2.4.0 generators/foundation/public/stylesheets/foundation6/forms/_label.scss
foundation-rails-6.4.3.0 vendor/assets/scss/forms/_label.scss
bedrock_sass-0.1.9 assets/_vendor/foundation/scss/forms/_label.scss
bedrock_sass-0.1.8 assets/_vendor/foundation/scss/forms/_label.scss
bedrock_sass-0.1.7 assets/_vendor/foundation/scss/forms/_label.scss
bedrock_sass-0.1.6 assets/_vendor/foundation/scss/forms/_label.scss
bedrock_sass-0.1.5 assets/_vendor/foundation/scss/forms/_label.scss
bedrock_sass-0.1.4 assets/_vendor/foundation/scss/forms/_label.scss
bedrock_sass-0.1.3 assets/_vendor/foundation/scss/forms/_label.scss
bedrock_sass-0.1.2 assets/_vendor/foundation/scss/forms/_label.scss
foundation-rails-6.4.1.3 vendor/assets/scss/forms/_label.scss
aacinfo-theme-2.0.1 _sass/foundation-sites/scss/forms/_label.scss
jekyll-theme-foundation-0.3.6 _sass/scss/forms/_label.scss