Sha256: cc35dc7ef7d6f24281cbaaf216ef65ab802282a48364d3c99539ab877fda7284

Contents?: true

Size: 819 Bytes

Versions: 3

Compression:

Stored size: 819 Bytes

Contents

//
// Thumbnails
// --------------------------------------------------


// Mixin and adjust the regular image class
.thumbnail {
  display: block;
  padding: $thumbnail-padding;
  margin-bottom: $line-height-computed;
  line-height: $line-height-base;
  background-color: $thumbnail-bg;
  border: 1px solid $thumbnail-border;
  border-radius: $thumbnail-border-radius;
  @include transition(all .2s ease-in-out);

  > img,
  a > img {
    @include img-responsive();
    margin-left: auto;
    margin-right: auto;
  }

  // Add a hover state for linked versions only
  a:hover,
  a:focus,
  // [converter] extracted a&.active to a.thumbnail.active

  // Image captions
  .caption {
    padding: $thumbnail-caption-padding;
    color: $thumbnail-caption-color;
  }
}

a.thumbnail.active {
  border-color: $link-color;
}

Version data entries

3 entries across 3 versions & 3 rubygems

Version Path
twbs_sass_rails-0.3.1 vendor/assets/stylesheets/twbs/bootstrap/_thumbnails.scss
bootstrap-generators-3.1.0 vendor/twitter/bootstrap/sass/_thumbnails.scss
bootstrap-sass-3.1.0.0 vendor/assets/stylesheets/bootstrap/_thumbnails.scss