2015-08-03 17:45:58 +08:00
|
|
|
.ant-carousel {
|
2015-08-03 14:52:26 +08:00
|
|
|
|
2015-08-20 16:55:42 +08:00
|
|
|
// Arrows
|
2015-08-03 17:45:58 +08:00
|
|
|
|
|
|
|
.slick-prev,
|
|
|
|
.slick-next {
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
2015-08-20 16:55:42 +08:00
|
|
|
line-height: 0;
|
|
|
|
font-size: 0;
|
2015-08-03 17:45:58 +08:00
|
|
|
cursor: pointer;
|
2015-08-03 14:52:26 +08:00
|
|
|
background: transparent;
|
|
|
|
color: transparent;
|
2015-08-03 17:45:58 +08:00
|
|
|
top: 50%;
|
|
|
|
margin-top: -10px;
|
|
|
|
padding: 0;
|
2015-11-26 19:32:55 +08:00
|
|
|
border: 0;
|
2015-08-03 17:45:58 +08:00
|
|
|
outline: none;
|
2015-11-26 19:32:55 +08:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2015-08-03 17:45:58 +08:00
|
|
|
outline: none;
|
|
|
|
background: transparent;
|
|
|
|
color: transparent;
|
|
|
|
&:before {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.slick-disabled:before {
|
|
|
|
opacity: 0.25;
|
2015-08-03 14:52:26 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-08-03 17:45:58 +08:00
|
|
|
.slick-prev {
|
|
|
|
left: -25px;
|
|
|
|
&:before {
|
|
|
|
content: "←";
|
|
|
|
}
|
2015-08-03 14:52:26 +08:00
|
|
|
}
|
|
|
|
|
2015-08-03 17:45:58 +08:00
|
|
|
.slick-next {
|
|
|
|
right: -25px;
|
|
|
|
&:before {
|
|
|
|
content: "→";
|
|
|
|
}
|
2015-08-03 14:52:26 +08:00
|
|
|
}
|
|
|
|
|
2015-08-20 16:55:42 +08:00
|
|
|
// Dots
|
2015-08-03 14:52:26 +08:00
|
|
|
|
2015-08-03 17:45:58 +08:00
|
|
|
.slick-slider {
|
|
|
|
padding-bottom: 45px;
|
|
|
|
}
|
2015-08-03 14:52:26 +08:00
|
|
|
|
2015-08-03 17:45:58 +08:00
|
|
|
.slick-dots {
|
|
|
|
position: absolute;
|
2015-08-20 16:55:42 +08:00
|
|
|
bottom: 0;
|
2015-08-03 17:45:58 +08:00
|
|
|
list-style: none;
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
2015-08-03 14:52:26 +08:00
|
|
|
padding: 0;
|
2015-08-03 17:45:58 +08:00
|
|
|
width: 100%;
|
|
|
|
li {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
2015-08-03 14:52:26 +08:00
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
2015-08-03 17:45:58 +08:00
|
|
|
margin: 0 5px;
|
|
|
|
padding: 0;
|
2015-08-03 14:52:26 +08:00
|
|
|
cursor: pointer;
|
2015-08-03 17:45:58 +08:00
|
|
|
button {
|
|
|
|
border: 0;
|
|
|
|
background: transparent;
|
|
|
|
display: block;
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
2015-08-03 14:52:26 +08:00
|
|
|
outline: none;
|
2015-08-20 16:55:42 +08:00
|
|
|
line-height: 0;
|
|
|
|
font-size: 0;
|
2015-08-03 17:45:58 +08:00
|
|
|
color: transparent;
|
|
|
|
padding: 5px;
|
|
|
|
cursor: pointer;
|
2015-11-26 19:32:55 +08:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2015-08-03 17:45:58 +08:00
|
|
|
outline: none;
|
|
|
|
&:before {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2015-08-03 14:52:26 +08:00
|
|
|
&:before {
|
2015-08-03 17:45:58 +08:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
content: "•";
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
font-size: 18px;
|
|
|
|
font-family: arial, sans-serif;
|
|
|
|
line-height: 20px;
|
|
|
|
text-align: center;
|
|
|
|
color: gray;
|
2016-04-13 23:34:56 +08:00
|
|
|
transition: all .3s;
|
2015-08-03 17:45:58 +08:00
|
|
|
opacity: 0.25;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
2015-08-03 14:52:26 +08:00
|
|
|
}
|
|
|
|
}
|
2015-08-03 17:45:58 +08:00
|
|
|
&.slick-active button:before {
|
|
|
|
color: black;
|
|
|
|
opacity: 0.75;
|
2015-08-03 14:52:26 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ant-carousel-vertical {
|
|
|
|
|
2015-08-03 17:01:42 +08:00
|
|
|
.slick-slider {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2015-08-03 14:52:26 +08:00
|
|
|
.slick-dots {
|
|
|
|
width: 20px;
|
|
|
|
bottom: auto;
|
|
|
|
right: -35px;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
}
|