Untitled diff
1 removal
198 lines
31 additions
228 lines
.carousel-inner > .item > img,
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
.carousel-inner > .item > a > img {
display: block;
display: block;
width: 100% \9;
max-width: 100%;
max-width: 100%;
height: auto;
height: auto;
}
}
.carousel {
.carousel {
position: relative;
position: relative;
}
}
.carousel-inner {
.carousel-inner {
position: relative;
position: relative;
width: 100%;
width: 100%;
overflow: hidden;
overflow: hidden;
}
}
.carousel-inner > .item {
.carousel-inner > .item {
position: relative;
position: relative;
display: none;
display: none;
-webkit-transition: .6s ease-in-out left;
-webkit-transition: .6s ease-in-out left;
-o-transition: .6s ease-in-out left;
-o-transition: .6s ease-in-out left;
transition: .6s ease-in-out left;
transition: .6s ease-in-out left;
}
}
.carousel-inner > .item > img,
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
.carousel-inner > .item > a > img {
line-height: 1;
line-height: 1;
}
}
@media all and (transform-3d), (-webkit-transform-3d) {
.carousel-inner > .item {
-webkit-transition: -webkit-transform .6s ease-in-out;
-o-transition: -o-transform .6s ease-in-out;
transition: transform .6s ease-in-out;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-perspective: 1000;
perspective: 1000;
}
.carousel-inner > .item.next,
.carousel-inner > .item.active.right {
left: 0;
-webkit-transform: translate3d(100%, 0, 0);
transform: translate3d(100%, 0, 0);
}
.carousel-inner > .item.prev,
.carousel-inner > .item.active.left {
left: 0;
-webkit-transform: translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0);
}
.carousel-inner > .item.next.left,
.carousel-inner > .item.prev.right,
.carousel-inner > .item.active {
left: 0;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
.carousel-inner > .active,
.carousel-inner > .active,
.carousel-inner > .next,
.carousel-inner > .next,
.carousel-inner > .prev {
.carousel-inner > .prev {
display: block;
display: block;
}
}
.carousel-inner > .active {
.carousel-inner > .active {
left: 0;
left: 0;
}
}
.carousel-inner > .next,
.carousel-inner > .next,
.carousel-inner > .prev {
.carousel-inner > .prev {
position: absolute;
position: absolute;
top: 0;
top: 0;
width: 100%;
width: 100%;
}
}
.carousel-inner > .next {
.carousel-inner > .next {
left: 100%;
left: 100%;
}
}
.carousel-inner > .prev {
.carousel-inner > .prev {
left: -100%;
left: -100%;
}
}
.carousel-inner > .next.left,
.carousel-inner > .next.left,
.carousel-inner > .prev.right {
.carousel-inner > .prev.right {
left: 0;
left: 0;
}
}
.carousel-inner > .active.left {
.carousel-inner > .active.left {
left: -100%;
left: -100%;
}
}
.carousel-inner > .active.right {
.carousel-inner > .active.right {
left: 100%;
left: 100%;
}
}
.carousel-control {
.carousel-control {
position: absolute;
position: absolute;
top: 0;
top: 0;
bottom: 0;
bottom: 0;
left: 0;
left: 0;
width: 15%;
width: 15%;
font-size: 20px;
font-size: 20px;
color: #fff;
color: #fff;
text-align: center;
text-align: center;
text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
filter: alpha(opacity=50);
filter: alpha(opacity=50);
opacity: .5;
opacity: .5;
}
}
.carousel-control.left {
.carousel-control.left {
background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);
background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);
background-image: -o-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);
background-image: -o-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);
background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, .0001)));
background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, .0001)));
background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);
background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
background-repeat: repeat-x;
background-repeat: repeat-x;
}
}
.carousel-control.right {
.carousel-control.right {
right: 0;
right: 0;
left: auto;
left: auto;
background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);
background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);
background-image: -o-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);
background-image: -o-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);
background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .5)));
background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .5)));
background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);
background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
background-repeat: repeat-x;
background-repeat: repeat-x;
}
}
.carousel-control:hover,
.carousel-control:hover,
.carousel-control:focus {
.carousel-control:focus {
color: #fff;
color: #fff;
text-decoration: none;
text-decoration: none;
filter: alpha(opacity=90);
filter: alpha(opacity=90);
outline: 0;
outline: 0;
opacity: .9;
opacity: .9;
}
}
.carousel-control .icon-prev,
.carousel-control .icon-prev,
.carousel-control .icon-next,
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
.carousel-control .glyphicon-chevron-right {
position: absolute;
position: absolute;
top: 50%;
top: 50%;
z-index: 5;
z-index: 5;
display: inline-block;
display: inline-block;
}
}
.carousel-control .icon-prev,
.carousel-control .icon-prev,
.carousel-control .glyphicon-chevron-left {
.carousel-control .glyphicon-chevron-left {
left: 50%;
left: 50%;
margin-left: -10px;
margin-left: -10px;
}
}
.carousel-control .icon-next,
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-right {
.carousel-control .glyphicon-chevron-right {
right: 50%;
right: 50%;
margin-right: -10px;
margin-right: -10px;
}
}
.carousel-control .icon-prev,
.carousel-control .icon-prev,
.carousel-control .icon-next {
.carousel-control .icon-next {
width: 20px;
width: 20px;
height: 20px;
height: 20px;
margin-top: -10px;
margin-top: -10px;
font-family: serif;
font-family: serif;
}
}
.carousel-control .icon-prev:before {
.carousel-control .icon-prev:before {
content: '\2039';
content: '\2039';
}
}
.carousel-control .icon-next:before {
.carousel-control .icon-next:before {
content: '\203a';
content: '\203a';
}
}
.carousel-indicators {
.carousel-indicators {
position: absolute;
position: absolute;
bottom: 10px;
bottom: 10px;
left: 50%;
left: 50%;
z-index: 15;
z-index: 15;
width: 60%;
width: 60%;
padding-left: 0;
padding-left: 0;
margin-left: -30%;
margin-left: -30%;
text-align: center;
text-align: center;
list-style: none;
list-style: none;
}
}
.carousel-indicators li {
.carousel-indicators li {
display: inline-block;
display: inline-block;
width: 10px;
width: 10px;
height: 10px;
height: 10px;
margin: 1px;
margin: 1px;
text-indent: -999px;
text-indent: -999px;
cursor: pointer;
cursor: pointer;
background-color: #000 \9;
background-color: #000 \9;
background-color: rgba(0, 0, 0, 0);
background-color: rgba(0, 0, 0, 0);
border: 1px solid #fff;
border: 1px solid #fff;
border-radius: 10px;
border-radius: 10px;
}
}
.carousel-indicators .active {
.carousel-indicators .active {
width: 12px;
width: 12px;
height: 12px;
height: 12px;
margin: 0;
margin: 0;
background-color: #fff;
background-color: #fff;
}
}
.carousel-caption {
.carousel-caption {
position: absolute;
position: absolute;
right: 15%;
right: 15%;
bottom: 20px;
bottom: 20px;
left: 15%;
left: 15%;
z-index: 10;
z-index: 10;
padding-top: 20px;
padding-top: 20px;
padding-bottom: 20px;
padding-bottom: 20px;
color: #fff;
color: #fff;
text-align: center;
text-align: center;
text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
}
}
.carousel-caption .btn {
.carousel-caption .btn {
text-shadow: none;
text-shadow: none;
}
}
@media screen and (min-width: 768px) {
@media screen and (min-width: 768px) {
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right,
.carousel-control .glyphicon-chevron-right,
.carousel-control .icon-prev,
.carousel-control .icon-prev,
.carousel-control .icon-next {
.carousel-control .icon-next {
width: 30px;
width: 30px;
height: 30px;
height: 30px;
margin-top: -15px;
margin-top: -15px;
font-size: 30px;
font-size: 30px;
}
}
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-left,
.carousel-control .icon-prev {
.carousel-control .icon-prev {
margin-left: -15px;
margin-left: -15px;
}
}
.carousel-control .glyphicon-chevron-right,
.carousel-control .glyphicon-chevron-right,
.carousel-control .icon-next {
.carousel-control .icon-next {
margin-right: -15px;
margin-right: -15px;
}
}
.carousel-caption {
.carousel-caption {
right: 20%;
right: 20%;
left: 20%;
left: 20%;
padding-bottom: 30px;
padding-bottom: 30px;
}
}
.carousel-indicators {
.carousel-indicators {
bottom: 20px;
bottom: 20px;
}
}
}
}