bootstrap-source/bootstrap-3.0.3/less Kopie/thumbnails.less
author stetrabby <info@trabucchi.de>
Fri, 20 Dec 2013 22:49:16 +0100
changeset 54 0ded9d7748b7
permissions -rwxr-xr-x
initial less based on the pymove3d.css
info@54
     1
//
info@54
     2
// Thumbnails
info@54
     3
// --------------------------------------------------
info@54
     4
info@54
     5
info@54
     6
// Mixin and adjust the regular image class
info@54
     7
.thumbnail {
info@54
     8
  display: block;
info@54
     9
  padding: @thumbnail-padding;
info@54
    10
  margin-bottom: @line-height-computed;
info@54
    11
  line-height: @line-height-base;
info@54
    12
  background-color: @thumbnail-bg;
info@54
    13
  border: 1px solid @thumbnail-border;
info@54
    14
  border-radius: @thumbnail-border-radius;
info@54
    15
  .transition(all .2s ease-in-out);
info@54
    16
info@54
    17
  > img,
info@54
    18
  a > img {
info@54
    19
    .img-responsive();
info@54
    20
    margin-left: auto;
info@54
    21
    margin-right: auto;
info@54
    22
  }
info@54
    23
info@54
    24
  // Add a hover state for linked versions only
info@54
    25
  a&:hover,
info@54
    26
  a&:focus,
info@54
    27
  a&.active {
info@54
    28
    border-color: @link-color;
info@54
    29
  }
info@54
    30
info@54
    31
  // Image captions
info@54
    32
  .caption {
info@54
    33
    padding: @thumbnail-caption-padding;
info@54
    34
    color: @thumbnail-caption-color;
info@54
    35
  }
info@54
    36
}
Impressum Datenschutzerklärung