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:
commit
b6a083e77f
@ -14,18 +14,17 @@
|
|||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
// Add a hover state for linked versions only
|
||||||
|
a&:hover,
|
||||||
|
a&:focus,
|
||||||
|
a&.active {
|
||||||
|
border-color: @link-color;
|
||||||
|
}
|
||||||
|
|
||||||
// Add a hover state for linked versions only
|
// Image captions
|
||||||
a.thumbnail:hover,
|
.caption {
|
||||||
a.thumbnail:focus,
|
padding: @thumbnail-caption-padding;
|
||||||
a.thumbnail.active {
|
color: @thumbnail-caption-color;
|
||||||
border-color: @link-color;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Image captions
|
|
||||||
.thumbnail .caption {
|
|
||||||
padding: @thumbnail-caption-padding;
|
|
||||||
color: @thumbnail-caption-color;
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user