mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Fixes #7648: Thumbnail caption should use @text-color variable. Also adds other thumbnail vars
This commit is contained in:
parent
af63a4405d
commit
364f8330a1
3 changed files with 15 additions and 5 deletions
5
docs/assets/css/bootstrap.css
vendored
5
docs/assets/css/bootstrap.css
vendored
|
@ -4711,7 +4711,8 @@ button.close {
|
|||
.img-thumbnail {
|
||||
padding: 4px;
|
||||
line-height: 20px;
|
||||
border: 1px solid #ddd;
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #dddddd;
|
||||
border-radius: 4px;
|
||||
-webkit-transition: all 0.2s ease-in-out;
|
||||
-moz-transition: all 0.2s ease-in-out;
|
||||
|
@ -4741,7 +4742,7 @@ a.thumbnail:focus {
|
|||
|
||||
.thumbnail .caption {
|
||||
padding: 9px;
|
||||
color: #555555;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.media,
|
||||
|
|
|
@ -12,8 +12,9 @@
|
|||
.img-thumbnail {
|
||||
padding: 4px;
|
||||
line-height: @line-height-base;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: @border-radius-base;
|
||||
background-color: @thumbnail-bg;
|
||||
border: 1px solid @thumbnail-border;
|
||||
border-radius: @thumbnail-border-radius;
|
||||
.transition(all .2s ease-in-out);
|
||||
}
|
||||
.thumbnail {
|
||||
|
@ -38,5 +39,5 @@ a.thumbnail:focus {
|
|||
}
|
||||
.thumbnail .caption {
|
||||
padding: 9px;
|
||||
color: @gray;
|
||||
color: @thumbnail-caption-color;
|
||||
}
|
||||
|
|
|
@ -346,6 +346,14 @@
|
|||
@panel-info-heading-bg: @state-info-bg;
|
||||
|
||||
|
||||
// Thumbnails
|
||||
// -------------------------
|
||||
@thumbnail-caption-color: @text-color;
|
||||
@thumbnail-bg: @body-bg;
|
||||
@thumbnail-border: #ddd;
|
||||
@thumbnail-border-radius: @border-radius-base;
|
||||
|
||||
|
||||
// Wells
|
||||
// -------------------------
|
||||
@well-bg: #f5f5f5;
|
||||
|
|
Loading…
Reference in a new issue