CoreFiles by mySites.guru
_box-shadow.scss20 lines, 532 bytes, from Joomla_4.0.0-beta6-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta5
md5
e50901e86d7f225f22a5f088e8726276
sha1
8b0f93e28d7426161c2ee446f84c7bc7e2fb8e43
sha256
c3fe0d3900c13e57fb650822497b65030a385c4c08380510f11af1326604498d
@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;
    }
  }
}

The same content is in 12 releases, Joomla 4.0.0-alpha7 to 4.0.0-beta6. See them all, or every version of this file.