0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-28 20:52:21 +01:00

addressing #9189 manually, part 7: thumbnails vars

This commit is contained in:
Mark Otto 2013-08-11 19:32:16 -07:00
parent bf4900072d
commit 0819cfc450
2 changed files with 6 additions and 3 deletions

View File

@ -10,7 +10,7 @@
// Can be `a`, `div`, or `img` // Can be `a`, `div`, or `img`
.thumbnail, .thumbnail,
.img-thumbnail { .img-thumbnail {
padding: 4px; padding: @thumbnail-padding;
line-height: @line-height-base; line-height: @line-height-base;
background-color: @thumbnail-bg; background-color: @thumbnail-bg;
border: 1px solid @thumbnail-border; border: 1px solid @thumbnail-border;
@ -37,6 +37,6 @@ a.thumbnail:focus {
margin-right: auto; margin-right: auto;
} }
.thumbnail .caption { .thumbnail .caption {
padding: 9px; padding: @thumbnail-caption-padding;
color: @thumbnail-caption-color; color: @thumbnail-caption-color;
} }

View File

@ -499,11 +499,14 @@
// Thumbnails // Thumbnails
// ------------------------- // -------------------------
@thumbnail-caption-color: @text-color; @thumbnail-padding: 4px;
@thumbnail-bg: @body-bg; @thumbnail-bg: @body-bg;
@thumbnail-border: #ddd; @thumbnail-border: #ddd;
@thumbnail-border-radius: @border-radius-base; @thumbnail-border-radius: @border-radius-base;
@thumbnail-caption-color: @text-color;
@thumbnail-caption-padding: 9px;
// Wells // Wells
// ------------------------- // -------------------------