Sha256: 4dc38c07d141a08d53e1cdf624c22d4a78c3248fc0f40596ab57e459f1d0bde0
Contents?: true
Size: 1.25 KB
Versions: 10
Compression:
Stored size: 1.25 KB
Contents
/* IMAGE STYLES */ img { width: 100%; height: auto; display: inline-block; } // Image blocks viewed within the CMS shouldn't be 100% width. img[data-type="image_block"] { width: auto; max-width: 100%; } // For multiple attachments in the table img[data-purpose='attachment'] { width:60px; } .img-rounded { @include border-radius(6px); } .img-circle { @include border-radius(50%); } .img-polaroid { border: 1px solid rgba(black,0.1); background: $light; @include rem(padding,0.3rem); } .thumbnails { list-style: none; *zoom: 1; &:before, &:after { display: table; line-height: 0; content: ""; } &:after { clear: both; } .row-fluid & { margin-left: 0; } & > li { float: left; @include rem(margin-bottom,1.5rem); &:before { display: none; content: ""; } } } .thumbnail { display: block; @include rem(padding,0.3rem); line-height: 20px; border: 1px solid rgba(black,0.1); background: $light; @include border-radius(2px); @include transition(background 0.25s); img { @include border-radius(1px); display: block; margin-right: auto; margin-left: auto; } &:hover, &:focus { background: rgba($primary,0.9); } .caption { padding: 9px; color: $dark; } }
Version data entries
10 entries across 10 versions & 2 rubygems