X-Git-Url: http://git.roojs.org/?p=bootswatch;a=blobdiff_plain;f=bower_components%2Fbootstrap%2Fless%2Fthumbnails.less;h=a09aa9b835b8bac1506cccfcf640ac5d085c0455;hp=1adee9e357797b1705646188a168df855c0df24b;hb=48c64127b37be4a692a70cb7b38ed9744163582b;hpb=620e501c3d804b1dc2c7d796d7ae378db5e1a040 diff --git a/bower_components/bootstrap/less/thumbnails.less b/bower_components/bootstrap/less/thumbnails.less index 1adee9e..a09aa9b 100755 --- a/bower_components/bootstrap/less/thumbnails.less +++ b/bower_components/bootstrap/less/thumbnails.less @@ -7,24 +7,24 @@ .thumbnail { .img-thumbnail(); display: block; // Override the inline-block from `.img-thumbnail` + margin-bottom: @line-height-computed; > img { .img-responsive(); + margin-left: auto; + margin-right: auto; } } // Add a hover state for linked versions only a.thumbnail:hover, -a.thumbnail:focus { +a.thumbnail:focus, +a.thumbnail.active { border-color: @link-color; } -// Images and captions -.thumbnail > img { - margin-left: auto; - margin-right: auto; -} +// Image captions .thumbnail .caption { padding: @thumbnail-caption-padding; color: @thumbnail-caption-color;