aboutsummaryrefslogtreecommitdiff
path: root/dist/css/bootstrap.css
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-08-18 19:24:10 -0700
committerMark Otto <[email protected]>2013-08-18 19:24:10 -0700
commitd5cd040f57b5b1036a7a927332a3220cceefae43 (patch)
tree07c492e010fffbf7b4f90126c9482e5343db8652 /dist/css/bootstrap.css
parent5bd2d7ed7e5a2bae56de81bf550f2e4b1451ab25 (diff)
downloadbootstrap-d5cd040f57b5b1036a7a927332a3220cceefae43.tar.xz
bootstrap-d5cd040f57b5b1036a7a927332a3220cceefae43.zip
improve dependencies for image thumbnails and thumbnail component
Diffstat (limited to 'dist/css/bootstrap.css')
-rw-r--r--dist/css/bootstrap.css30
1 files changed, 18 insertions, 12 deletions
diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css
index b038592b4..6ce593647 100644
--- a/dist/css/bootstrap.css
+++ b/dist/css/bootstrap.css
@@ -354,6 +354,19 @@ img {
border-radius: 6px;
}
+.img-thumbnail {
+ display: inline-block;
+ height: auto;
+ max-width: 100%;
+ padding: 4px;
+ line-height: 1.428571429;
+ background-color: #ffffff;
+ border: 1px solid #dddddd;
+ border-radius: 4px;
+ -webkit-transition: all 0.2s ease-in-out;
+ transition: all 0.2s ease-in-out;
+}
+
.img-circle {
border-radius: 50%;
}
@@ -4884,8 +4897,11 @@ a.list-group-item.active > .badge,
}
}
-.thumbnail,
-.img-thumbnail {
+.thumbnail {
+ display: inline-block;
+ display: block;
+ height: auto;
+ max-width: 100%;
padding: 4px;
line-height: 1.428571429;
background-color: #ffffff;
@@ -4895,22 +4911,12 @@ a.list-group-item.active > .badge,
transition: all 0.2s ease-in-out;
}
-.thumbnail {
- display: block;
-}
-
.thumbnail > img {
display: block;
height: auto;
max-width: 100%;
}
-.img-thumbnail {
- display: inline-block;
- height: auto;
- max-width: 100%;
-}
-
a.thumbnail:hover,
a.thumbnail:focus {
border-color: #428bca;