0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-18 15:54:26 +01:00

Merge pull request #11327 from ZDroid/nestnail

Use nesting for thumbnail styles
This commit is contained in:
Chris Rebert 2013-11-05 16:20:53 -08:00
commit b6a083e77f

View File

@ -14,18 +14,17 @@
margin-left: auto;
margin-right: auto;
}
}
// Add a hover state for linked versions only
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
a&:hover,
a&:focus,
a&.active {
border-color: @link-color;
}
// Image captions
.thumbnail .caption {
.caption {
padding: @thumbnail-caption-padding;
color: @thumbnail-caption-color;
}
}