Sha256: 9d6038f6ab70449bed07a3b40d4cbb304a9339c00e568b00fc9432168afec7de

Contents?: true

Size: 891 Bytes

Versions: 131

Compression:

Stored size: 891 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;
  }

  // [converter] extracted a&:hover, a&:focus, a&.active to a.thumbnail:hover, a.thumbnail:focus, a.thumbnail.active

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

// Add a hover state for linked versions only
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
  border-color: $link-color;
}

Version data entries

131 entries across 131 versions & 16 rubygems

Version Path
rails_admin-2.3.1 vendor/assets/stylesheets/rails_admin/bootstrap/_thumbnails.scss
rails_admin-2.3.0 vendor/assets/stylesheets/rails_admin/bootstrap/_thumbnails.scss
rails_admin-3.0.0.beta2 vendor/assets/stylesheets/rails_admin/bootstrap/_thumbnails.scss
rails_admin-3.0.0.beta vendor/assets/stylesheets/rails_admin/bootstrap/_thumbnails.scss
rails_admin-2.2.1 vendor/assets/stylesheets/rails_admin/bootstrap/_thumbnails.scss
rails_admin-2.2.0 vendor/assets/stylesheets/rails_admin/bootstrap/_thumbnails.scss
rails_admin-2.1.1 vendor/assets/stylesheets/rails_admin/bootstrap/_thumbnails.scss
rails_admin-2.1.0 vendor/assets/stylesheets/rails_admin/bootstrap/_thumbnails.scss
adhoq-1.0.2 app/assets/stylesheets/adhoq/bootstrap/_thumbnails.scss
adhoq-1.0.1 app/assets/stylesheets/adhoq/bootstrap/_thumbnails.scss
rails_admin-2.0.2 vendor/assets/stylesheets/rails_admin/bootstrap/_thumbnails.scss
rails_admin-1.4.3 app/assets/stylesheets/rails_admin/bootstrap/_thumbnails.scss
rails_admin-2.0.1 vendor/assets/stylesheets/rails_admin/bootstrap/_thumbnails.scss
rails_admin-2.0.0 vendor/assets/stylesheets/rails_admin/bootstrap/_thumbnails.scss
rails_admin-2.0.0.rc vendor/assets/stylesheets/rails_admin/bootstrap/_thumbnails.scss
rails_admin-2.0.0.beta app/assets/stylesheets/rails_admin/bootstrap/_thumbnails.scss
adhoq-1.0.0 app/assets/stylesheets/adhoq/bootstrap/_thumbnails.scss
adhoq-0.5.0 app/assets/stylesheets/adhoq/bootstrap/_thumbnails.scss
bootstrap-sass-3.2.0.4 assets/stylesheets/bootstrap/_thumbnails.scss
rails_admin-1.4.2 app/assets/stylesheets/rails_admin/bootstrap/_thumbnails.scss