You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
218 lines
3.7 KiB
218 lines
3.7 KiB
9 years ago
|
@import "../../style/themes/default";
|
||
|
@import "../../style/mixins/index";
|
||
|
|
||
9 years ago
|
.ant-carousel {
|
||
9 years ago
|
.slick-slider {
|
||
|
position: relative;
|
||
|
display: block;
|
||
|
box-sizing: border-box;
|
||
|
-moz-box-sizing: border-box;
|
||
|
-webkit-touch-callout: none;
|
||
|
user-select: none;
|
||
|
-ms-touch-action: pan-y;
|
||
|
touch-action: pan-y;
|
||
|
-webkit-tap-highlight-color: transparent;
|
||
|
}
|
||
|
.slick-list {
|
||
|
position: relative;
|
||
|
overflow: hidden;
|
||
|
display: block;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
9 years ago
|
|
||
9 years ago
|
&:focus {
|
||
|
outline: none;
|
||
|
}
|
||
|
|
||
|
&.dragging {
|
||
|
cursor: pointer;
|
||
|
cursor: hand;
|
||
|
}
|
||
|
}
|
||
|
.slick-slider .slick-track,
|
||
|
.slick-slider .slick-list {
|
||
|
transform: translate3d(0, 0, 0);
|
||
|
}
|
||
|
|
||
|
.slick-track {
|
||
|
position: relative;
|
||
|
left: 0;
|
||
|
top: 0;
|
||
|
display: block;
|
||
|
|
||
|
&:before,
|
||
|
&:after {
|
||
|
content: "";
|
||
|
display: table;
|
||
|
}
|
||
|
|
||
|
&:after {
|
||
|
clear: both;
|
||
|
}
|
||
9 years ago
|
|
||
9 years ago
|
.slick-loading & {
|
||
|
visibility: hidden;
|
||
|
}
|
||
|
}
|
||
|
.slick-slide {
|
||
|
float: left;
|
||
|
height: 100%;
|
||
|
min-height: 1px;
|
||
|
[dir="rtl"] & {
|
||
|
float: right;
|
||
|
}
|
||
|
img {
|
||
|
display: block;
|
||
|
}
|
||
|
&.slick-loading img {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
display: none;
|
||
|
|
||
|
&.dragging img {
|
||
|
pointer-events: none;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.slick-initialized .slick-slide {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
.slick-loading .slick-slide {
|
||
|
visibility: hidden;
|
||
|
}
|
||
|
|
||
|
.slick-vertical .slick-slide {
|
||
|
display: block;
|
||
|
height: auto;
|
||
|
border: 1px solid transparent;
|
||
|
}
|
||
|
.slick-arrow.slick-hidden {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
// Arrows
|
||
9 years ago
|
.slick-prev,
|
||
|
.slick-next {
|
||
|
position: absolute;
|
||
|
display: block;
|
||
|
height: 20px;
|
||
|
width: 20px;
|
||
9 years ago
|
line-height: 0;
|
||
|
font-size: 0;
|
||
9 years ago
|
cursor: pointer;
|
||
9 years ago
|
background: transparent;
|
||
|
color: transparent;
|
||
9 years ago
|
top: 50%;
|
||
|
margin-top: -10px;
|
||
|
padding: 0;
|
||
9 years ago
|
border: 0;
|
||
9 years ago
|
outline: none;
|
||
9 years ago
|
&:hover,
|
||
|
&:focus {
|
||
9 years ago
|
outline: none;
|
||
|
background: transparent;
|
||
|
color: transparent;
|
||
|
&:before {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
}
|
||
|
&.slick-disabled:before {
|
||
|
opacity: 0.25;
|
||
9 years ago
|
}
|
||
|
}
|
||
|
|
||
9 years ago
|
.slick-prev {
|
||
|
left: -25px;
|
||
|
&:before {
|
||
|
content: "←";
|
||
|
}
|
||
9 years ago
|
}
|
||
|
|
||
9 years ago
|
.slick-next {
|
||
|
right: -25px;
|
||
|
&:before {
|
||
|
content: "→";
|
||
|
}
|
||
9 years ago
|
}
|
||
|
|
||
9 years ago
|
// Dots
|
||
9 years ago
|
|
||
9 years ago
|
.slick-slider {
|
||
|
padding-bottom: 45px;
|
||
|
}
|
||
9 years ago
|
|
||
9 years ago
|
.slick-dots {
|
||
|
position: absolute;
|
||
9 years ago
|
bottom: 0;
|
||
9 years ago
|
list-style: none;
|
||
|
display: block;
|
||
|
text-align: center;
|
||
9 years ago
|
padding: 0;
|
||
9 years ago
|
width: 100%;
|
||
|
li {
|
||
|
position: relative;
|
||
|
display: inline-block;
|
||
9 years ago
|
height: 20px;
|
||
|
width: 20px;
|
||
9 years ago
|
margin: 0 5px;
|
||
|
padding: 0;
|
||
9 years ago
|
cursor: pointer;
|
||
9 years ago
|
button {
|
||
|
border: 0;
|
||
|
background: transparent;
|
||
|
display: block;
|
||
|
height: 20px;
|
||
|
width: 20px;
|
||
9 years ago
|
outline: none;
|
||
9 years ago
|
line-height: 0;
|
||
|
font-size: 0;
|
||
9 years ago
|
color: transparent;
|
||
|
padding: 5px;
|
||
|
cursor: pointer;
|
||
9 years ago
|
&:hover,
|
||
|
&:focus {
|
||
9 years ago
|
outline: none;
|
||
|
&:before {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
}
|
||
9 years ago
|
&:before {
|
||
9 years ago
|
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;
|
||
9 years ago
|
transition: all .3s;
|
||
9 years ago
|
opacity: 0.25;
|
||
|
-webkit-font-smoothing: antialiased;
|
||
|
-moz-osx-font-smoothing: grayscale;
|
||
9 years ago
|
}
|
||
|
}
|
||
9 years ago
|
&.slick-active button:before {
|
||
|
color: black;
|
||
|
opacity: 0.75;
|
||
9 years ago
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.ant-carousel-vertical {
|
||
9 years ago
|
.slick-slider {
|
||
|
padding-bottom: 0;
|
||
|
}
|
||
9 years ago
|
.slick-dots {
|
||
|
width: 20px;
|
||
|
bottom: auto;
|
||
|
right: -35px;
|
||
|
top: 0;
|
||
|
}
|
||
|
}
|