Sha256: 96f68fadee0ab0cde1a59aef895b0bfb8cb7d6c20f5f028cf9f273a3d8293726

Contents?: true

Size: 398 Bytes

Versions: 531

Compression:

Stored size: 398 Bytes

Contents

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

    @each $value in $shadow {
      @if $value != null {
        $result: append($result, $value, "comma");
      }
      @if $value == none and length($shadow) > 1 {
        @warn "The keyword 'none' must be used as a single argument.";
      }
    }

    @if (length($result) > 0) {
      box-shadow: $result;
    }
  }
}

Version data entries

531 entries across 531 versions & 27 rubygems

Version Path
mumuki-styles-3.0.2.1 app/assets/stylesheets/vendor/bootstrap/mixins/_box-shadow.scss
jekyll-bootstrap-theme-1.1.0 _sass/bootstrap/mixins/_box-shadow.scss
administrate-bootstrap-theme-0.2.2 app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_box-shadow.scss
bootstrap-5.0.1 assets/stylesheets/bootstrap/mixins/_box-shadow.scss
mumuki-styles-3.0.3 app/assets/stylesheets/vendor/bootstrap/mixins/_box-shadow.scss
mumuki-styles-3.0.2 app/assets/stylesheets/vendor/bootstrap/mixins/_box-shadow.scss
jekyll-bootstrap-theme-1.0.0 _sass/bootstrap/mixins/_box-shadow.scss
bootstrap-5.0.0 assets/stylesheets/bootstrap/mixins/_box-shadow.scss
jekyll-bootstrap-theme-0.1.1 _sass/bootstrap/mixins/_box-shadow.scss
jekyll-bootstrap-theme-0.1.0 _sass/bootstrap/mixins/_box-shadow.scss
administrate-bootstrap-theme-0.2.0 app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_box-shadow.scss
mumuki-styles-3.0.1 app/assets/stylesheets/vendor/bootstrap/mixins/_box-shadow.scss
bootstrap-5.0.0.beta3 assets/stylesheets/bootstrap/mixins/_box-shadow.scss
administrate-bootstrap-theme-0.1.9 node_modules/bootstrap/scss/mixins/_box-shadow.scss
administrate-bootstrap-theme-0.1.8 node_modules/bootstrap/scss/mixins/_box-shadow.scss
administrate-bootstrap-theme-0.1.6 node_modules/bootstrap/scss/mixins/_box-shadow.scss
administrate-bootstrap-theme-0.1.4 node_modules/bootstrap/scss/mixins/_box-shadow.scss
administrate-bootstrap-theme-0.1.2 node_modules/bootstrap/scss/mixins/_box-shadow.scss
mumuki-styles-3.0.0 app/assets/stylesheets/vendor/bootstrap/mixins/_box-shadow.scss
bootstrap-5.0.0.beta2 assets/stylesheets/bootstrap/mixins/_box-shadow.scss