Sha256: d5bc1a797508c7d451e1e8a12da44f1bfc539429d81d3bed2e014fa33a577e23

Contents?: true

Size: 312 Bytes

Versions: 5

Compression:

Stored size: 312 Bytes

Contents

// Prepend selectors with a class specific to old IE
@mixin media-ie($args...) {

  @if length($args) > 0 {
    @include media($args) {
      @content;
    }
  }

  .old-ie & {
    @content;
  }

}

// Add min-width to containers for old IE
@mixin ie-width {
  .old-ie & {
    min-width: $breakpoint-ipad;
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rail_pass-0.2.0 lib/generators/templates/app/assets/stylesheets/mixins/_ie.scss
rail_pass-0.1.10 lib/generators/templates/app/assets/stylesheets/mixins/_ie.scss
rail_pass-0.1.9 lib/generators/templates/app/assets/stylesheets/mixins/_ie.scss
rail_pass-0.1.8 lib/generators/templates/app/assets/stylesheets/mixins/_ie.scss
rail_pass-0.1.7 lib/generators/templates/app/assets/stylesheets/mixins/_ie.scss