Sha256: a32dc17e469b1a204cc11f7dfa06f2c37e56414dcb57673a4d2f69224630c4c3

Contents?: true

Size: 830 Bytes

Versions: 7

Compression:

Stored size: 830 Bytes

Contents

// Faux Box Shadow (IE8)
@mixin faux-box-shadow($border: border, $size: 1px, $color: #CCC) {
  #{$border}: #{$size} solid #{$color};
  #{$border}: 0 solid rgba(0,0,0,0);
}

// Mostly cross-browser opacity
@mixin oh-pacity($level: 1) {
  $ms-level: $level*100;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=#{$ms-level})";
  filter: alpha(opacity=#{$ms-level});
  -moz-opacity: #{$level};
  -khtml-opacity: #{$level};
  opacity: #{$level};
}

// Media Queries
@mixin retina {
  @media only screen and (-moz-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5){
    @content;
  }
}

// Remove margins & style from a list
@mixin unstyled-list {
  list-style: none outside;
  margin: 0;
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
boarding_pass-0.1.6 app/assets/stylesheets/boarding_pass/_mixins.scss
boarding_pass-0.1.5 app/assets/stylesheets/boarding_pass/_mixins.scss
boarding_pass-0.1.4 app/assets/stylesheets/boarding_pass/_mixins.scss
boarding_pass-0.1.3 app/assets/stylesheets/boarding_pass/_mixins.scss
boarding_pass-0.1.2 app/assets/stylesheets/boarding_pass/_mixins.scss
boarding_pass-0.1.1 app/assets/stylesheets/boarding_pass/_mixins.scss
boarding_pass-0.1.0 app/assets/stylesheets/boarding_pass/_mixins.scss