Sha256: ca1cb1c74a0a7eb74581a29480583a96345283007269ccdd01524a0bea861693

Contents?: true

Size: 736 Bytes

Versions: 8

Compression:

Stored size: 736 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;
    margin-#{$global-left}: $form-spacing * 0.5;
    margin-#{$global-right}: $form-spacing;
    margin-bottom: 0;
    vertical-align: baseline;
  }

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

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
locomotivecms_wagon-2.4.0.rc2 generators/foundation/public/stylesheets/foundation6/forms/_checkbox.scss
locomotivecms_wagon-2.4.0.rc1 generators/foundation/public/stylesheets/foundation6/forms/_checkbox.scss
locomotivecms_wagon-2.3.0 generators/foundation/public/stylesheets/foundation6/forms/_checkbox.scss
locomotivecms_wagon-2.3.0.rc1 generators/foundation/public/stylesheets/foundation6/forms/_checkbox.scss
locomotivecms_wagon-2.2.0 generators/foundation/public/stylesheets/foundation6/forms/_checkbox.scss
locomotivecms_wagon-2.2.0.rc3 generators/foundation/public/stylesheets/foundation6/forms/_checkbox.scss
locomotivecms_wagon-2.2.0.rc2 generators/foundation/public/stylesheets/foundation6/forms/_checkbox.scss
locomotivecms_wagon-2.2.0.rc1 generators/foundation/public/stylesheets/foundation6/forms/_checkbox.scss