0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-20 17:54:23 +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-left: auto;
margin-right: auto; margin-right: auto;
} }
}
// Add a hover state for linked versions only // Add a hover state for linked versions only
a.thumbnail:hover, a&:hover,
a.thumbnail:focus, a&:focus,
a.thumbnail.active { a&.active {
border-color: @link-color; border-color: @link-color;
} }
// Image captions // Image captions
.thumbnail .caption { .caption {
padding: @thumbnail-caption-padding; padding: @thumbnail-caption-padding;
color: @thumbnail-caption-color; color: @thumbnail-caption-color;
} }
}