Sha256: 80d62ae9e6f298ceb9e9247835a18acafd216c645e866cbf6eaea2167ad32be8

Contents?: true

Size: 364 Bytes

Versions: 10

Compression:

Stored size: 364 Bytes

Contents

// ------------------------------------------------------------------- //
//  Muted
// ------------------------------------------------------------------- //

@mixin muted($mute-amt){

  @if $mute-amt > 1{
    @warn "Mute amount should be in decimal format (.1, .2, .etc)";
  }

  @else {
    opacity: $mute-amt;
    filter: alpha(opacity=($mute-amt * 100));
  }
}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
kentucky-1.5.1 app/assets/stylesheets/kentucky/helpers/_mute.scss
kentucky-1.5.0 app/assets/stylesheets/kentucky/helpers/_mute.scss
kentucky-1.4.0 app/assets/stylesheets/kentucky/helpers/_mute.scss
kentucky-1.2.1 app/assets/stylesheets/kentucky/helpers/_mute.scss
kentucky-1.2.0 app/assets/stylesheets/kentucky/helpers/_mute.scss
kentucky-1.1.0 app/assets/stylesheets/kentucky/helpers/_mute.scss
kentucky-1.0.5 app/assets/stylesheets/kentucky/helpers/_mute.scss
kentucky-1.0.4 app/assets/stylesheets/kentucky/helpers/_mute.scss
kentucky-1.0.3 app/assets/stylesheets/kentucky/helpers/_mute.scss
kentucky-1.0.0 app/assets/stylesheets/kentucky/helpers/_mute.scss