border-radius: 6px;
}
-.img-thumbnail {
- display: block;
- display: inline-block;
- padding: 4px;
- line-height: 20px;
- border: 1px solid #ddd;
- border-radius: 4px;
- -webkit-transition: all 0.2s ease-in-out;
- -moz-transition: all 0.2s ease-in-out;
- -o-transition: all 0.2s ease-in-out;
- transition: all 0.2s ease-in-out;
-}
-
.img-circle {
border-radius: 500px;
}
margin-top: 5px;
}
-.thumbnail {
- display: block;
+.thumbnail,
+.img-thumbnail {
padding: 4px;
line-height: 20px;
border: 1px solid #ddd;
transition: all 0.2s ease-in-out;
}
+.thumbnail {
+ display: block;
+}
+
+.img-thumbnail {
+ display: inline-block;
+}
+
a.thumbnail:hover {
border-color: #428bca;
}
// --------------------------------------------------
-// The actual thumbnail (can be `a` or `div`)
-.thumbnail {
- display: block;
+// 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 {
border-color: @link-color;