Sha256: c3fe0d3900c13e57fb650822497b65030a385c4c08380510f11af1326604498d

Contents?: true

Size: 532 Bytes

Versions: 327

Compression:

Stored size: 532 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

327 entries across 327 versions & 35 rubygems

Version Path
occams-1.0.6 app/assets/stylesheets/occams/vendor/bootstrap/mixins/_box-shadow.scss
occams-1.0.5 app/assets/stylesheets/occams/vendor/bootstrap/mixins/_box-shadow.scss
occams-1.0.4 app/assets/stylesheets/occams/vendor/bootstrap/mixins/_box-shadow.scss
occams-1.0.3 app/assets/stylesheets/occams/vendor/bootstrap/mixins/_box-shadow.scss
occams-1.0.2 app/assets/stylesheets/occams/vendor/bootstrap/mixins/_box-shadow.scss
occams-1.0.1 app/assets/stylesheets/occams/vendor/bootstrap/mixins/_box-shadow.scss
occams-1.0.0 app/assets/stylesheets/occams/vendor/bootstrap/mixins/_box-shadow.scss
jekyll-theme-conference-3.6.3 _sass/bootstrap/mixins/_box-shadow.scss
jekyll-theme-conference-3.6.2 _sass/bootstrap/mixins/_box-shadow.scss
jekyll-theme-conference-3.6.1 _sass/bootstrap/mixins/_box-shadow.scss
jekyll-theme-centos-0.9.20221031122647 _sass/bootstrap/mixins/_box-shadow.scss
bootstrap-4.6.2 assets/stylesheets/bootstrap/mixins/_box-shadow.scss
nex-bootstrap-4.6.3 assets/stylesheets/bootstrap/mixins/_box-shadow.scss
jekyll-theme-centos-0.9.20220805132206 _sass/bootstrap/mixins/_box-shadow.scss
kiso_themes-1.0.2 lib/sass/vendor/bootstrap/mixins/_box-shadow.scss
jekyll-theme-conference-3.6.0 _sass/bootstrap/mixins/_box-shadow.scss
jekyll-theme-centos-0.9.20220227231551 _sass/bootstrap/mixins/_box-shadow.scss
viniBaxter-desk_front-300.0.12 lib/viniBaxter/sass/desk_front/bootstrap/mixins/_box-shadow.scss
jekyll-theme-conference-3.5.0 _sass/bootstrap/mixins/_box-shadow.scss
viniBaxter-desk_front-300.0.11 lib/viniBaxter/sass/desk_front/bootstrap/mixins/_box-shadow.scss