Sha256: 2c5ba72ee98c0ded795aa128f569420c975f9e2f179cbd72b6b2d2958b5323ab

Contents?: true

Size: 856 Bytes

Versions: 3

Compression:

Stored size: 856 Bytes

Contents

/* this hack is courtesy of gbbowers on github
   https://gist.github.com/601810 */
@mixin box-shadow ($shadow-1, $shadow-2: false, $shadow-3: false, $shadow-4: false, $shadow-5: false, $shadow-6: false, $shadow-7: false, $shadow-8: false, $shadow-9: false) {
  $full: $shadow-1;

  @if $shadow-2 {
    $full: $full + ", " + $shadow-2;
  }
  @if $shadow-3 {
    $full: $full + ", " + $shadow-3;
  }
  @if $shadow-4 {
    $full: $full + ", " + $shadow-4;
  }
  @if $shadow-5 {
    $full: $full + ", " + $shadow-5;
  }
  @if $shadow-6 {
    $full: $full + ", " + $shadow-6;
  }
  @if $shadow-7 {
    $full: $full + ", " + $shadow-7;
  }
  @if $shadow-8 {
    $full: $full + ", " + $shadow-8;
  }
  @if $shadow-9 {
    $full: $full + ", " + $shadow-9;
  }

  -moz-box-shadow: $full;
  -webkit-box-shadow: $full;
  -o-box-shadow: $full;
  box-shadow: $full;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
flutie-1.1.8 public/stylesheets/sass/_box-shadow.scss
flutie-1.1.7 public/stylesheets/sass/_box-shadow.scss
flutie-1.1.6 public/stylesheets/sass/_box-shadow.scss