Sha256: 5f11fa28e181bb3e2cdb00632a9d8a624846e49d301d934f2a403e90db646e1f

Contents?: true

Size: 951 Bytes

Versions: 6

Compression:

Stored size: 951 Bytes

Contents

@mixin screen($media)
  @if $media == retina
    @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi)
      @content
  @else if $media == non-retina
    @media (-webkit-max-device-pixel-ratio: 1.49), (max-resolution: 143dpi)
      @content
  @else if $media == mobile
    @media handheld, only screen and (max-width: 767px)
      @content
  @else if $media == tablet
    @media (min-width: 481px) and (max-width: 800px)
      @content
  @else if $media == desktop
    @media (min-width: 1024px)
      @content
  @else if $media == desktop-hd
    @media (min-width: 1440px)
      @content
  @else if $media == not-mobile
    @media (min-width: 768px)
      @content

@mixin ie9-up
  @media screen and (min-width:0\0) and (min-resolution: +72dpi)
    @content

@media handheld, only screen and (max-width: 767px)
  .hide-on-mobile
    display: none !important
    width: 0
    height: 0
  .center-text-on-mobile
    text-align: center

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cas-cms-1.0.0.alpha2 app/assets/stylesheets/cas/mixins.sass
cas-cms-1.0.0.alpha1 app/assets/stylesheets/cas/mixins.sass
cas-cms-0.1.3 app/assets/stylesheets/cas/mixins.sass
cas-cms-0.1.2 app/assets/stylesheets/cas/mixins.sass
cas-cms-0.1.1 app/assets/stylesheets/cas/mixins.sass
cas-cms-0.1.0 app/assets/stylesheets/cas/mixins.sass