Sha256: 91541ee290bc252c6d695000fb7e343973182f3d07cebc4b11b80ad4445ff445

Contents?: true

Size: 552 Bytes

Versions: 6

Compression:

Stored size: 552 Bytes

Contents

@mixin box-shadow($shadow...) {
  @if $enable-shadows {
    $result: ();

    @if (length($shadow) == 1) {
      // We can pass `@include box-shadow(none);`
      $result: $shadow;
    } @else {
      // Filter to avoid invalid properties for example `box-shadow: none, 1px 1px black;`
      @for $i from 1 through length($shadow) {
        @if nth($shadow, $i) != "none" {
          $result: append($result, nth($shadow, $i), "comma");
        }
      }
    }
    @if (length($result) > 0) {
      box-shadow: $result;
    }
  }
}

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
chulapa-jekyll-1.1.0 _sass/bootstrap/mixins/_box-shadow.scss
chulapa-jekyll-1.0.1 _sass/bootstrap/mixins/_box-shadow.scss
chulapa-jekyll-1.0.0 _sass/bootstrap/mixins/_box-shadow.scss
mancalledmountain-theme-0.1.2 _sass/vendors/bootstrap/mixins/_box-shadow.scss
mancalledmountain-theme-0.1.1 _sass/vendors/bootstrap/mixins/_box-shadow.scss
mancalledmountain-theme-0.1.0 _sass/vendors/bootstrap/mixins/_box-shadow.scss