summaryrefslogtreecommitdiffstats
path: root/less/bootstrap/thumbnails.less
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2014-01-27 18:15:12 +0100
committerSimo Sorce <simo@redhat.com>2014-02-17 09:45:15 -0500
commitfa5bb8dca04e2876d9def529a77b5273b5243169 (patch)
tree398cd64ee3d78fcbd9876ca73b3443be9726ccce /less/bootstrap/thumbnails.less
parent630b85e06018fb3d9f8c34685a406b3770d58b54 (diff)
downloadipsilon.git-fa5bb8dca04e2876d9def529a77b5273b5243169.tar.gz
ipsilon.git-fa5bb8dca04e2876d9def529a77b5273b5243169.tar.xz
ipsilon.git-fa5bb8dca04e2876d9def529a77b5273b5243169.zip
Add Boostrap files
Signed-off-by: Petr Vobornik <pvoborni@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'less/bootstrap/thumbnails.less')
-rw-r--r--less/bootstrap/thumbnails.less36
1 files changed, 36 insertions, 0 deletions
diff --git a/less/bootstrap/thumbnails.less b/less/bootstrap/thumbnails.less
new file mode 100644
index 0000000..11aa283
--- /dev/null
+++ b/less/bootstrap/thumbnails.less
@@ -0,0 +1,36 @@
+//
+// 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;
+ .transition(all .2s ease-in-out);
+
+ > img,
+ a > img {
+ .img-responsive();
+ margin-left: auto;
+ margin-right: auto;
+ }
+
+ // Add a hover state for linked versions only
+ a&:hover,
+ a&:focus,
+ a&.active {
+ border-color: @link-color;
+ }
+
+ // Image captions
+ .caption {
+ padding: @thumbnail-caption-padding;
+ color: @thumbnail-caption-color;
+ }
+}