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:
parent
bf4900072d
commit
0819cfc450
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user