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.
54 lines
823 B
54 lines
823 B
@import '../../style/themes/index';
|
|
@import '../../style/mixins/index';
|
|
|
|
@carousel-prefix-cls: ~'@{ant-prefix}-carousel';
|
|
|
|
.@{carousel-prefix-cls} {
|
|
&-rtl {
|
|
direction: rtl;
|
|
}
|
|
|
|
.slick-track {
|
|
.@{carousel-prefix-cls}-rtl & {
|
|
right: 0;
|
|
left: auto;
|
|
}
|
|
}
|
|
|
|
.slick-prev {
|
|
.@{carousel-prefix-cls}-rtl & {
|
|
right: -25px;
|
|
left: auto;
|
|
|
|
&::before {
|
|
content: '→';
|
|
}
|
|
}
|
|
}
|
|
|
|
.slick-next {
|
|
.@{carousel-prefix-cls}-rtl & {
|
|
right: auto;
|
|
left: -25px;
|
|
|
|
&::before {
|
|
content: '←';
|
|
}
|
|
}
|
|
}
|
|
|
|
// Dots
|
|
.slick-dots {
|
|
.@{carousel-prefix-cls}-rtl& {
|
|
flex-direction: row-reverse;
|
|
}
|
|
}
|
|
}
|
|
|
|
.@{ant-prefix}-carousel-vertical {
|
|
.slick-dots {
|
|
.@{carousel-prefix-cls}-rtl& {
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
}
|
|
|