mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-23 13:43:11 +02:00
Combine .thumbnail and .img-thumbnail into simpler selectors
This commit is contained in:
25
docs/assets/css/bootstrap.css
vendored
25
docs/assets/css/bootstrap.css
vendored
@@ -262,19 +262,6 @@ img {
|
||||
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;
|
||||
}
|
||||
@@ -3932,8 +3919,8 @@ button.close {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.thumbnail {
|
||||
display: block;
|
||||
.thumbnail,
|
||||
.img-thumbnail {
|
||||
padding: 4px;
|
||||
line-height: 20px;
|
||||
border: 1px solid #ddd;
|
||||
@@ -3944,6 +3931,14 @@ button.close {
|
||||
transition: all 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.thumbnail {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.img-thumbnail {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
a.thumbnail:hover {
|
||||
border-color: #428bca;
|
||||
}
|
||||
|
Reference in New Issue
Block a user