mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-20 20:00:36 +03:00
Fixes #7648: Thumbnail caption should use @text-color variable. Also adds other thumbnail vars
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user