Sha256: 8571346902a88259e468db4561c22069d63057f916d28fddad4ded3aeb80e892

Contents?: true

Size: 1.28 KB

Versions: 3

Compression:

Stored size: 1.28 KB

Contents

// Variables
//------------------------------------------------------
$img-src:                "check_flat.png" !default; 

// Exports
//------------------------------------------------------

@include exports("checkbox-radio") {

  /**
   * checkbox and radio
   * --------------------------------------------------
   */
  .checkbox, .radio {
      margin-top: 0;
      padding-left: 0;
  }
  .icheckbox_flat,
  .iradio_flat {
      display: inline-block;
      *display: inline;
      vertical-align: middle;
      margin: 0;
      margin-right: 10px;
      padding: 0 !important;
      width: 20px;
      height: 20px;
      background: image-url($img-src) no-repeat;
      border: none;
      cursor: pointer;
  }

  .icheckbox_flat {
      background-position: 0 0;

      &.checked {
          background-position: -22px 0;
      }
      &.disabled {
          background-position: -44px 0;
          cursor: default;
      }
      &.checked.disabled {
          background-position: -66px 0;
      }
  }

  .iradio_flat {
      background-position: -88px 0;

      &.checked {
          background-position: -110px 0;
      }
      &.disabled {
          background-position: -132px 0;
          cursor: default;
      }
      &.checked.disabled {
          background-position: -154px 0;
      }
  }

}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bootflat-rails-0.2.1 vendor/assets/stylesheets/bootflat/_checkbox_radio.scss
bootflat-rails-0.2.0 vendor/assets/stylesheets/bootflat/_checkbox_radio.scss
bootflat-rails-0.1.11 vendor/assets/stylesheets/bootflat/_checkbox_radio.scss