Sha256: 4783813bf60ca0ff7979b8d43a3a713f5f9a668a9b383233f916eccfd2f8d59e

Contents?: true

Size: 1.54 KB

Versions: 15

Compression:

Stored size: 1.54 KB

Contents

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

@import "global";



//
// @name _thumbs.scss
// @dependencies _globals.scss
//

//
// @variables
//

$include-html-media-classes: $include-html-classes !default;

// We use these to control border styles
$thumb-border-style: solid !default;
$thumb-border-width: 4px !default;
$thumb-border-color: #fff !default;
$thumb-box-shadow: 0 0 0 1px rgba(#000,.2) !default;
$thumb-box-shadow-hover: 0 0 6px 1px rgba($primary-color,0.5) !default;

// Radius and transition speed for thumbs
$thumb-radius: $global-radius !default;
$thumb-transition-speed: 200ms !default;

//
// @mixins
//

// We use this to create image thumbnail styles.
//
// $border-width - Width of border around thumbnail. Default: $thumb-border-width.
// $box-shadow - Box shadow to apply to thumbnail. Default: $thumb-box-shadow.
// $box-shadow-hover - Box shadow to apply on hover. Default: $thumb-box-shadow-hover.
@mixin thumb(
  $border-width:$thumb-border-width, 
  $box-shadow:$thumb-box-shadow, 
  $box-shadow-hover:$thumb-box-shadow-hover) {
  line-height: 0;
  display: inline-block;
  border: $thumb-border-style $border-width $thumb-border-color;
  max-width: 100%;
  box-shadow: $box-shadow;

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


@include exports("thumb") {
  @if $include-html-media-classes {

    /* Image Thumbnails */
    .th {
      @include thumb;
      @include single-transition(all,$thumb-transition-speed,ease-out);

      &.radius { @include radius($thumb-radius); }
    }
  }
}

Version data entries

15 entries across 15 versions & 5 rubygems

Version Path
rubyneat_dashboard-0.4.1 bower_components/foundation/scss/foundation/components/_thumbs.scss
locomotivecms_wagon-1.5.1 generators/foundation5/public/stylesheets/foundation/components/_thumbs.scss
locomotivecms_wagon-1.5.0 generators/foundation5/public/stylesheets/foundation/components/_thumbs.scss
locomotivecms_wagon-1.5.0.rc1 generators/foundation5/public/stylesheets/foundation/components/_thumbs.scss
rubyneat_dashboard-0.4.0.alpha.6 bower_components/foundation/scss/foundation/components/_thumbs.scss
rubyneat_dashboard-0.4.0.alpha.4.pre.1 bower_components/foundation/scss/foundation/components/_thumbs.scss
rubyneat_dashboard-0.4.0.alpha.4 bower_components/foundation/scss/foundation/components/_thumbs.scss
foundation-rails-5.3.1.0 vendor/assets/stylesheets/foundation/components/_thumbs.scss
TokiCLI-0.2.1 lib/TokiServer/bower_components/foundation/scss/foundation/components/_thumbs.scss
foundation-rails-5.3.0.1 vendor/assets/stylesheets/foundation/components/_thumbs.scss
foundation-rails-5.3.0.0 vendor/assets/stylesheets/foundation/components/_thumbs.scss
TokiCLI-0.2.0 lib/TokiServer/bower_components/foundation/scss/foundation/components/_thumbs.scss
foundation-rails-5.2.3.0 vendor/assets/stylesheets/foundation/components/_thumbs.scss
zurb-foundation-5-5.2.2 scss/foundation/components/_thumbs.scss
foundation-rails-5.2.2.0 vendor/assets/stylesheets/foundation/components/_thumbs.scss