Sha256: b162dc622a16788aa8a78737071cf44e07f421383e43de7205c3ec7c8b464888

Contents?: true

Size: 1.02 KB

Versions: 29

Compression:

Stored size: 1.02 KB

Contents

// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source

////
/// @group prototype-shadow
////

/// Responsive breakpoints for shadow utility.
/// @type Boolean
$prototype-shadow-breakpoints: $global-prototype-breakpoints !default;

/// Default value for `prototype-box-shadow`
/// @type Number
$prototype-box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),
                       0 2px 10px 0 rgba(0,0,0,.12) !default;

/// Shadow Utility: Adds a light box shadow to an element by default.
/// @param {Number} $shadow [$prototype-box-shadow] Box Shadow of a component
@mixin shadow(
  $shadow: $prototype-box-shadow
) {
  box-shadow: $shadow;
}

@mixin foundation-prototype-shadow {
  .shadow {
    @include shadow;
  }

  @if ($prototype-shadow-breakpoints) {
    // Loop through Responsive Breakpoints
    @each $size in $breakpoint-classes {
      @include breakpoint($size) {
        @if $size != $-zf-zero-breakpoint {
          .#{$size}-shadow {
            @include shadow;
          }
        }
      }
    }
  }
}

Version data entries

29 entries across 29 versions & 4 rubygems

Version Path
bedrock_sass-0.2.2 assets/_vendor/foundation/scss/prototype/_shadow.scss
foundation-rails-6.6.1.0 vendor/assets/scss/prototype/_shadow.scss
foundation-rails-6.5.3.0 vendor/assets/scss/prototype/_shadow.scss
bedrock_sass-0.2.1 assets/_vendor/foundation/scss/prototype/_shadow.scss
foundation-rails-6.5.1.0 vendor/assets/scss/prototype/_shadow.scss
locomotivecms_wagon-2.4.1 generators/foundation/public/stylesheets/foundation6/prototype/_shadow.scss
bedrock_sass-0.2.0 assets/_vendor/foundation/scss/prototype/_shadow.scss
locomotivecms_wagon-2.4.0 generators/foundation/public/stylesheets/foundation6/prototype/_shadow.scss
foundation-rails-6.4.3.0 vendor/assets/scss/prototype/_shadow.scss
bedrock_sass-0.1.9 assets/_vendor/foundation/scss/prototype/_shadow.scss
bedrock_sass-0.1.8 assets/_vendor/foundation/scss/prototype/_shadow.scss
bedrock_sass-0.1.7 assets/_vendor/foundation/scss/prototype/_shadow.scss
bedrock_sass-0.1.6 assets/_vendor/foundation/scss/prototype/_shadow.scss
bedrock_sass-0.1.5 assets/_vendor/foundation/scss/prototype/_shadow.scss
bedrock_sass-0.1.4 assets/_vendor/foundation/scss/prototype/_shadow.scss
bedrock_sass-0.1.3 assets/_vendor/foundation/scss/prototype/_shadow.scss
bedrock_sass-0.1.2 assets/_vendor/foundation/scss/prototype/_shadow.scss
foundation-rails-6.4.1.3 vendor/assets/scss/prototype/_shadow.scss
jekyll-theme-foundation-0.3.6 _sass/scss/prototype/_shadow.scss
jekyll-theme-foundation-0.3.5 _sass/scss/prototype/_shadow.scss