Sha256: 70f3a08960abde673d9d113a8716417f010bbecdecbd28edd03d1f65627774d7

Contents?: true

Size: 785 Bytes

Versions: 4

Compression:

Stored size: 785 Bytes

Contents

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


// Base classes
// For thumbnail block-level composite components and simple image styles

// The actual thumbnailed element
// Can be `a`, `div`, or `img`
.thumbnail,
.img-thumbnail {
  padding: 4px;
  line-height: @line-height-base;
  border: 1px solid #ddd;
  border-radius: @border-radius-base;
  .transition(all .2s ease-in-out);
}
.thumbnail {
  display: block;
}
.img-thumbnail {
  display: inline-block;
}

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

// Images and captions
.thumbnail > img {
  display: block;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.thumbnail .caption {
  padding: 9px;
  color: @gray;
}

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
padrino-admin-0.11.2 lib/padrino-admin/bootstrap-less/thumbnails.less
bootstrap3-wip-rails-0.1.2 vendor/assets/stylesheets/thumbnails.less
padrino-admin-0.11.1 lib/padrino-admin/bootstrap-less/thumbnails.less
padrino-admin-0.11.0 lib/padrino-admin/bootstrap-less/thumbnails.less