mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
Change .img-polaroid to .img-thumbnail
* Same code, but different classes was confusing * Now .img-thumbnail just extends .thumbnail
This commit is contained in:
parent
89b6477bdc
commit
ca74b9882b
16
docs/assets/css/bootstrap.css
vendored
16
docs/assets/css/bootstrap.css
vendored
@ -262,13 +262,17 @@ img {
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.img-polaroid {
|
||||
.img-thumbnail {
|
||||
display: block;
|
||||
display: inline-block;
|
||||
padding: 4px;
|
||||
background-color: #fff;
|
||||
border: 1px solid #ccc;
|
||||
border: 1px solid rgba(0, 0, 0, 0.2);
|
||||
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
||||
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 {
|
||||
|
@ -1875,12 +1875,12 @@ For example, <code>&lt;section&gt;</code> should be wrapped
|
||||
<div class="bs-docs-example bs-docs-example-images">
|
||||
<img data-src="holder.js/140x140" class="img-rounded">
|
||||
<img data-src="holder.js/140x140" class="img-circle">
|
||||
<img data-src="holder.js/140x140" class="img-polaroid">
|
||||
<img data-src="holder.js/140x140" class="img-thumbnail">
|
||||
</div>
|
||||
<pre class="prettyprint linenums">
|
||||
<img src="..." class="img-rounded">
|
||||
<img src="..." class="img-circle">
|
||||
<img src="..." class="img-polaroid">
|
||||
<img src="..." class="img-thumbnail">
|
||||
</pre>
|
||||
|
||||
</section>
|
||||
|
4
docs/templates/pages/css.mustache
vendored
4
docs/templates/pages/css.mustache
vendored
@ -1814,12 +1814,12 @@ For example, <code>&lt;section&gt;</code> should be wrapped
|
||||
<div class="bs-docs-example bs-docs-example-images">
|
||||
<img data-src="holder.js/140x140" class="img-rounded">
|
||||
<img data-src="holder.js/140x140" class="img-circle">
|
||||
<img data-src="holder.js/140x140" class="img-polaroid">
|
||||
<img data-src="holder.js/140x140" class="img-thumbnail">
|
||||
</div>
|
||||
<pre class="prettyprint linenums">
|
||||
<img src="..." class="img-rounded">
|
||||
<img src="..." class="img-circle">
|
||||
<img src="..." class="img-polaroid">
|
||||
<img src="..." class="img-thumbnail">
|
||||
</pre>
|
||||
|
||||
</section>
|
||||
|
@ -77,13 +77,10 @@ img {
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
// Add polaroid-esque trim
|
||||
.img-polaroid {
|
||||
padding: 4px;
|
||||
background-color: #fff;
|
||||
border: 1px solid #ccc;
|
||||
border: 1px solid rgba(0,0,0,.2);
|
||||
.box-shadow(0 1px 3px rgba(0,0,0,.1));
|
||||
// Image thumbnails
|
||||
.img-thumbnail {
|
||||
.thumbnail();
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
// Perfect circle
|
||||
|
Loading…
Reference in New Issue
Block a user