tuskar-ui/openstack_dashboard/static/bootstrap/less/thumbnails.less
Gabriel Hurley 58983bf192 Moves bootstrap LESS back to openstack_dashboard.
Moving the entire bootstrap dir into the horizon module
caused some unexpected complexities. For the time being,
javascript will go into Horizon while CSS/LESS will
go into OpenStack Dashboard.

Change-Id: Ief3a48f2124667e936312f818baeddb6c7c290dc
2012-07-25 16:27:39 -07:00

36 lines
663 B
Plaintext

// THUMBNAILS
// ----------
.thumbnails {
margin-left: -@gridGutterWidth;
list-style: none;
.clearfix();
}
.thumbnails > li {
float: left;
margin: 0 0 @baseLineHeight @gridGutterWidth;
}
.thumbnail {
display: block;
padding: 4px;
line-height: 1;
border: 1px solid #ddd;
.border-radius(4px);
.box-shadow(0 1px 1px rgba(0,0,0,.075));
}
// Add a hover state for linked versions only
a.thumbnail:hover {
border-color: @linkColor;
.box-shadow(0 1px 4px rgba(0,105,214,.25));
}
// Images and captions
.thumbnail > img {
display: block;
max-width: 100%;
margin-left: auto;
margin-right: auto;
}
.thumbnail .caption {
padding: 9px;
}