mirror of
https://github.com/jasny/bootstrap.git
synced 2026-04-24 03:00:49 -04:00
move carousel to separate stylesheet, update popovers to fix ie7 bug, fix pagination, fix alerts
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
|
||||
.thumbnails {
|
||||
margin-left: -20px;
|
||||
margin-bottom: 0;
|
||||
list-style: none;
|
||||
.clearfix();
|
||||
}
|
||||
@@ -32,55 +31,3 @@ a.thumbnail:hover {
|
||||
.thumbnail .caption {
|
||||
padding: 9px;
|
||||
}
|
||||
|
||||
.carousel {
|
||||
|
||||
position: relative;
|
||||
|
||||
.carousel-inner {
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.item {
|
||||
display: none;
|
||||
position: relative;
|
||||
.transition(.6s ease-in-out left);
|
||||
}
|
||||
|
||||
.active, .next, .prev { display: block; }
|
||||
|
||||
.active { left: 0 }
|
||||
|
||||
.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% }
|
||||
|
||||
.nav {
|
||||
width: auto;
|
||||
.border-radius(0);
|
||||
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); }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user