Sha256: fb89f4060e70ab5761ec608b8651d42d7604df251c139cacc9b50dd24e699239

Contents?: true

Size: 1.34 KB

Versions: 32

Compression:

Stored size: 1.34 KB

Contents

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

////
/// @group thumbnail
////

/// Border around thumbnail images.
/// @type Border
$thumbnail-border: solid 4px $white !default;

/// Bottom margin for thumbnail images.
/// @type Length
$thumbnail-margin-bottom: $global-margin !default;

/// Box shadow under thumbnail images.
/// @type Shadow
$thumbnail-shadow: 0 0 0 1px rgba($black, 0.2) !default;

/// Box shadow under thumbnail images.
/// @type Shadow
$thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5) !default;

/// Transition proprties for thumbnail images.
/// @type Transition
$thumbnail-transition: box-shadow 200ms ease-out !default;

/// Default radius for thumbnail images.
/// @type Number
$thumbnail-radius: $global-radius !default;

/// Adds thumbnail styles to an element.
@mixin thumbnail {
  display: inline-block;
  max-width: 100%;
  margin-bottom: $thumbnail-margin-bottom;

  border: $thumbnail-border;
  border-radius: $thumbnail-radius;
  box-shadow: $thumbnail-shadow;

  line-height: 0;
}

@mixin thumbnail-link {
  transition: $thumbnail-transition;

  &:hover,
  &:focus {
    box-shadow: $thumbnail-shadow-hover;
  }

  image {
    box-shadow: none;
  }
}

@mixin foundation-thumbnail {
  .thumbnail {
    @include thumbnail;
  }

  a.thumbnail {
    @include thumbnail-link;
  }
}

Version data entries

32 entries across 32 versions & 7 rubygems

Version Path
bedrock_sass-0.2.2 assets/_vendor/foundation/scss/components/_thumbnail.scss
bedrock_sass-0.2.1 assets/_vendor/foundation/scss/components/_thumbnail.scss
locomotivecms_wagon-2.4.1 generators/foundation/public/stylesheets/foundation6/components/_thumbnail.scss
bedrock_sass-0.2.0 assets/_vendor/foundation/scss/components/_thumbnail.scss
locomotivecms_wagon-2.4.0 generators/foundation/public/stylesheets/foundation6/components/_thumbnail.scss
foundation-rails-6.4.3.0 vendor/assets/scss/components/_thumbnail.scss
bedrock_sass-0.1.9 assets/_vendor/foundation/scss/components/_thumbnail.scss
bedrock_sass-0.1.8 assets/_vendor/foundation/scss/components/_thumbnail.scss
bedrock_sass-0.1.7 assets/_vendor/foundation/scss/components/_thumbnail.scss
bedrock_sass-0.1.6 assets/_vendor/foundation/scss/components/_thumbnail.scss
bedrock_sass-0.1.5 assets/_vendor/foundation/scss/components/_thumbnail.scss
bedrock_sass-0.1.4 assets/_vendor/foundation/scss/components/_thumbnail.scss
bedrock_sass-0.1.3 assets/_vendor/foundation/scss/components/_thumbnail.scss
bedrock_sass-0.1.2 assets/_vendor/foundation/scss/components/_thumbnail.scss
foundation-rails-6.4.1.3 vendor/assets/scss/components/_thumbnail.scss
aacinfo-theme-2.0.1 _sass/foundation-sites/scss/components/_thumbnail.scss
jekyll-theme-foundation-0.3.6 _sass/scss/components/_thumbnail.scss
jekyll-theme-foundation-0.3.5 _sass/scss/components/_thumbnail.scss
jekyll-theme-foundation-0.2.5 _sass/scss/components/_thumbnail.scss
jekyll-theme-foundation-0.2.4 _sass/scss/components/_thumbnail.scss