PHP Classes

File: engine/modules/contrib/foundation/source/scss/forms/_checkbox.scss

Recommend this page to a friend!
  Classes of Aldo Tripiciano  >  Quanta CMS  >  engine/modules/contrib/foundation/source/scss/forms/_checkbox.scss  >  Download  
File: engine/modules/contrib/foundation/source/scss/forms/_checkbox.scss
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Quanta CMS
Manage content that works without a database
Author: By
Last change:
Date: 3 years ago
Size: 780 bytes
 

Contents

Class file image Download
// 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%;
  }
}
For more information send a message to info at phpclasses dot org.