2011-12-20 01:58:56 -05:00
|
|
|
// THUMBNAILS
|
|
|
|
// ----------
|
2011-11-17 02:58:36 -05:00
|
|
|
|
2011-12-20 01:58:56 -05:00
|
|
|
.thumbnails {
|
2011-11-17 02:58:36 -05:00
|
|
|
margin-left: -20px;
|
|
|
|
margin-bottom: 0;
|
2011-12-20 01:58:56 -05:00
|
|
|
list-style: none;
|
2011-11-17 02:58:36 -05:00
|
|
|
.clearfix();
|
2011-12-20 01:58:56 -05:00
|
|
|
}
|
|
|
|
.thumbnails > li {
|
|
|
|
float: left;
|
|
|
|
margin: 0 0 20px 20px;
|
|
|
|
}
|
|
|
|
.thumbnail {
|
|
|
|
display: block;
|
2011-12-21 19:21:55 -05:00
|
|
|
padding: 4px;
|
2011-12-20 01:58:56 -05:00
|
|
|
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;
|
2011-12-21 19:21:55 -05:00
|
|
|
max-width: 100%;
|
2011-12-20 01:58:56 -05:00
|
|
|
}
|
|
|
|
.thumbnail .caption {
|
|
|
|
padding: 9px;
|
2011-11-17 02:58:36 -05:00
|
|
|
}
|
2012-01-02 19:04:01 -05:00
|
|
|
|
2012-01-02 22:13:02 -05:00
|
|
|
.carousel {
|
2012-01-03 01:30:57 -05:00
|
|
|
|
2012-01-02 22:13:02 -05:00
|
|
|
position: relative;
|
2012-01-02 19:04:01 -05:00
|
|
|
|
2012-01-03 01:30:57 -05:00
|
|
|
.carousel-inner {
|
|
|
|
overflow: hidden;
|
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.item {
|
|
|
|
display: none;
|
|
|
|
position: relative;
|
2012-01-03 01:33:49 -05:00
|
|
|
.transition(.6s ease-in-out left);
|
2012-01-03 01:30:57 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.active, .next, .prev { display: block; }
|
|
|
|
|
2012-01-08 14:33:55 -05:00
|
|
|
.active { left: 0 }
|
|
|
|
|
2012-01-03 01:30:57 -05:00
|
|
|
.next, .prev {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.next { left: 100%; }
|
|
|
|
.prev { left: -100%; }
|
|
|
|
.next.left, .prev.right { left: 0% }
|
|
|
|
|
|
|
|
.active.left { left: -100% }
|
|
|
|
.active.right { left: 100% }
|
2012-01-02 22:13:02 -05:00
|
|
|
|
|
|
|
.nav {
|
2012-01-03 01:30:57 -05:00
|
|
|
width: auto;
|
|
|
|
.border-radius(0);
|
2012-01-02 22:13:02 -05:00
|
|
|
height: 50px;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
margin: -25px 0 0;
|
|
|
|
cursor: pointer;
|
|
|
|
background: rgba(0, 0, 0, 0.7);
|
|
|
|
color: white;
|
|
|
|
font-size: 42px;
|
|
|
|
left: 5px;
|
|
|
|
font-weight: 100;
|
|
|
|
padding: 0 15px;
|
|
|
|
&.right { right: 5px; left: auto; }
|
|
|
|
&:hover { text-decoration: none; background: rgba(0, 0, 0, 0.8); }
|
|
|
|
}
|
2012-01-02 19:04:01 -05:00
|
|
|
}
|