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

116 lines
1.8 KiB
Plaintext
Raw Normal View History

2018-07-20 16:13:21 +08:00
h3 {
2019-01-12 11:33:27 +08:00
background: #00558b;
2018-07-20 16:13:21 +08:00
color: #fff;
font-size: 36px;
line-height: 100px;
margin: 10px;
padding: 2%;
position: relative;
text-align: center;
}
.variable-width .slick-slide p {
2019-01-12 11:33:27 +08:00
background: #00558b;
2018-07-20 16:13:21 +08:00
height: 100px;
color: #fff;
margin: 5px;
line-height: 100px;
text-align: center;
}
.center .slick-center h3 {
color: #e67e22;
opacity: 1;
transform: scale(1.08);
}
2019-01-12 11:33:27 +08:00
.center h3 {
2018-07-20 16:13:21 +08:00
opacity: 0.8;
transition: all 300ms ease;
}
.content {
padding: 20px;
margin: auto;
}
@media (min-width: 701px) {
.content {
width: 80%;
}
}
@media (max-width: 700px) {
.content {
width: 70%;
}
}
.slick-slide .image {
padding: 10px;
}
.slick-slide img {
2019-01-12 11:33:27 +08:00
border: 5px solid #fff;
2018-07-20 16:13:21 +08:00
display: block;
margin: auto;
max-width: 80%;
}
.slick-slide img.slick-loading {
2019-01-12 11:33:27 +08:00
border: 0;
2018-07-20 16:13:21 +08:00
}
.slick-slider {
margin: 30px auto 50px;
}
.slick-dots {
margin-left: 0;
}
.slick-thumb {
bottom: -45px;
}
.slick-thumb li {
width: 60px;
height: 45px;
}
.slick-thumb li img {
width: 100%;
height: 100%;
filter: grayscale(100%);
}
2019-01-12 11:33:27 +08:00
.slick-thumb li.slick-active img {
filter: grayscale(0%);
2018-07-20 16:13:21 +08:00
}
@media (max-width: 768px) {
h3 {
2019-01-12 11:33:27 +08:00
font-size: 24px;
2018-07-20 16:13:21 +08:00
}
.center {
margin-left: -40px;
margin-right: -40px;
}
.center .slick-center h3 {
color: #e67e22;
opacity: 1;
transform: scale(1);
}
.center h3 {
opacity: 0.8;
transform: scale(0.95);
transition: all 300ms ease;
}
}
.slick-vertical .slick-slide {
height: 180px;
}
.slick-arrow {
background-color: grey;
}
.slick-arrow:hover {
background-color: grey;
}
.slick-arrow:focus {
background-color: grey;
}
.button {
2019-01-12 11:33:27 +08:00
background-color: #00558b;
2018-07-20 16:13:21 +08:00
padding: 10px 20px;
margin: 0px 20px;
border: none;
color: white;
font-size: 20px;
border-radius: 5px;
2019-01-12 11:33:27 +08:00
min-height: 45px;
2018-07-20 16:13:21 +08:00
}