Sha256: 864c4d78b14bbe8be3cf2a121632730fce294953ec01fcc33b819db67dcf64dd

Contents?: true

Size: 780 Bytes

Versions: 35

Compression:

Stored size: 780 Bytes

Contents

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

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

@mixin foundation-form-checkbox {
  [type='file'],
  [type='checkbox'],
  [type='radio'] {
    margin: 0 0 $form-spacing;
  }

  // Styles for input/label siblings
  [type='checkbox'] + label,
  [type='radio'] + label {
    display: inline-block;
    vertical-align: baseline;

    margin-#{$global-left}: $form-spacing * 0.5;
    margin-#{$global-right}: $form-spacing;
    margin-bottom: 0;

    &[for] {
      cursor: pointer;
    }
  }

  // Styles for inputs inside labels
  label > [type='checkbox'],
  label > [type='radio'] {
    margin-#{$global-right}: $form-spacing * 0.5;
  }

  // Normalize file input width
  [type='file'] {
    width: 100%;
  }
}

Version data entries

35 entries across 35 versions & 7 rubygems

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