ant-design-vue/components/vc-slick/assets/slick-theme.less

183 lines
2.9 KiB
Plaintext
Raw Normal View History

2018-07-20 08:13:21 +00:00
@charset 'UTF-8';
/* Slider */
2019-01-12 03:33:27 +00:00
.slick-loading .slick-list {
background: #fff url('./ajax-loader.gif') center center no-repeat;
2018-07-20 08:13:21 +00:00
}
/* Icons */
// @font-face
// {
// font-family: 'slick';
// font-weight: normal;
// font-style: normal;
// src: url('./fonts/slick.eot');
// src: url('./fonts/slick.eot?#iefix') format('embedded-opentype'), url('./fonts/slick.woff') format('woff'), url('./fonts/slick.ttf') format('truetype'), url('./fonts/slick.svg#slick') format('svg');
// }
/* Arrows */
.slick-prev,
2019-01-12 03:33:27 +00:00
.slick-next {
font-size: 0;
line-height: 0;
2018-07-20 08:13:21 +00:00
2019-01-12 03:33:27 +00:00
position: absolute;
top: 50%;
2018-07-20 08:13:21 +00:00
2019-01-12 03:33:27 +00:00
display: block;
2018-07-20 08:13:21 +00:00
2019-01-12 03:33:27 +00:00
width: 20px;
height: 20px;
padding: 0;
-webkit-transform: translate(0, -50%);
-ms-transform: translate(0, -50%);
transform: translate(0, -50%);
2018-07-20 08:13:21 +00:00
2019-01-12 03:33:27 +00:00
cursor: pointer;
2018-07-20 08:13:21 +00:00
2019-01-12 03:33:27 +00:00
color: transparent;
border: none;
outline: none;
background: transparent;
2018-07-20 08:13:21 +00:00
}
.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
2019-01-12 03:33:27 +00:00
.slick-next:focus {
color: transparent;
outline: none;
background: transparent;
2018-07-20 08:13:21 +00:00
}
.slick-prev:hover:before,
.slick-prev:focus:before,
.slick-next:hover:before,
2019-01-12 03:33:27 +00:00
.slick-next:focus:before {
opacity: 1;
2018-07-20 08:13:21 +00:00
}
.slick-prev.slick-disabled:before,
2019-01-12 03:33:27 +00:00
.slick-next.slick-disabled:before {
opacity: 0.25;
2018-07-20 08:13:21 +00:00
}
.slick-prev:before,
2019-01-12 03:33:27 +00:00
.slick-next:before {
// font-family: 'slick';
font-size: 20px;
line-height: 1;
2018-07-20 08:13:21 +00:00
2019-01-12 03:33:27 +00:00
opacity: 0.75;
color: white;
2018-07-20 08:13:21 +00:00
2019-01-12 03:33:27 +00:00
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
2018-07-20 08:13:21 +00:00
}
2019-01-12 03:33:27 +00:00
.slick-prev {
left: -25px;
2018-07-20 08:13:21 +00:00
}
2019-01-12 03:33:27 +00:00
[dir='rtl'] .slick-prev {
right: -25px;
left: auto;
2018-07-20 08:13:21 +00:00
}
2019-01-12 03:33:27 +00:00
.slick-prev:before {
content: '←';
2018-07-20 08:13:21 +00:00
}
2019-01-12 03:33:27 +00:00
[dir='rtl'] .slick-prev:before {
content: '→';
2018-07-20 08:13:21 +00:00
}
2019-01-12 03:33:27 +00:00
.slick-next {
right: -25px;
2018-07-20 08:13:21 +00:00
}
2019-01-12 03:33:27 +00:00
[dir='rtl'] .slick-next {
right: auto;
left: -25px;
2018-07-20 08:13:21 +00:00
}
2019-01-12 03:33:27 +00:00
.slick-next:before {
content: '→';
2018-07-20 08:13:21 +00:00
}
2019-01-12 03:33:27 +00:00
[dir='rtl'] .slick-next:before {
content: '←';
2018-07-20 08:13:21 +00:00
}
/* Dots */
2019-01-12 03:33:27 +00:00
.slick-dotted.slick-slider {
margin-bottom: 30px;
2018-07-20 08:13:21 +00:00
}
2019-01-12 03:33:27 +00:00
.slick-dots {
position: absolute;
bottom: -25px;
2018-07-20 08:13:21 +00:00
2019-01-12 03:33:27 +00:00
display: block;
2018-07-20 08:13:21 +00:00
2019-01-12 03:33:27 +00:00
width: 100%;
padding: 0;
margin: 0;
2018-07-20 08:13:21 +00:00
2019-01-12 03:33:27 +00:00
list-style: none;
2018-07-20 08:13:21 +00:00
2019-01-12 03:33:27 +00:00
text-align: center;
2018-07-20 08:13:21 +00:00
}
2019-01-12 03:33:27 +00:00
.slick-dots li {
position: relative;
2018-07-20 08:13:21 +00:00
2019-01-12 03:33:27 +00:00
display: inline-block;
2018-07-20 08:13:21 +00:00
2019-01-12 03:33:27 +00:00
width: 20px;
height: 20px;
margin: 0 5px;
padding: 0;
2018-07-20 08:13:21 +00:00
2019-01-12 03:33:27 +00:00
cursor: pointer;
2018-07-20 08:13:21 +00:00
}
2019-01-12 03:33:27 +00:00
.slick-dots li button {
font-size: 0;
line-height: 0;
2018-07-20 08:13:21 +00:00
2019-01-12 03:33:27 +00:00
display: block;
2018-07-20 08:13:21 +00:00
2019-01-12 03:33:27 +00:00
width: 20px;
height: 20px;
padding: 5px;
2018-07-20 08:13:21 +00:00
2019-01-12 03:33:27 +00:00
cursor: pointer;
2018-07-20 08:13:21 +00:00
2019-01-12 03:33:27 +00:00
color: transparent;
border: 0;
outline: none;
background: transparent;
2018-07-20 08:13:21 +00:00
}
.slick-dots li button:hover,
2019-01-12 03:33:27 +00:00
.slick-dots li button:focus {
outline: none;
2018-07-20 08:13:21 +00:00
}
.slick-dots li button:hover:before,
2019-01-12 03:33:27 +00:00
.slick-dots li button:focus:before {
opacity: 1;
2018-07-20 08:13:21 +00:00
}
2019-01-12 03:33:27 +00:00
.slick-dots li button:before {
// font-family: 'slick';
font-size: 40px;
line-height: 20px;
2018-07-20 08:13:21 +00:00
2019-01-12 03:33:27 +00:00
position: absolute;
top: 0;
left: 0;
2018-07-20 08:13:21 +00:00
2019-01-12 03:33:27 +00:00
width: 20px;
height: 20px;
2018-07-20 08:13:21 +00:00
2019-01-12 03:33:27 +00:00
content: '•';
text-align: center;
2018-07-20 08:13:21 +00:00
2019-01-12 03:33:27 +00:00
opacity: 0.25;
color: black;
2018-07-20 08:13:21 +00:00
2019-01-12 03:33:27 +00:00
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
2018-07-20 08:13:21 +00:00
}
2019-01-12 03:33:27 +00:00
.slick-dots li.slick-active button:before {
opacity: 0.75;
color: black;
2018-07-20 08:13:21 +00:00
}