mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 17:19:11 +08:00
b445baa001
* chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2 Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier) from 8.0.2 to 9.0.2. - [Release notes](https://github.com/prettier/stylelint-config-prettier/releases) - [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.2) --- updated-dependencies: - dependency-name: stylelint-config-prettier dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * chore: autofix stylelint errors * chore: autofix stylelint errors Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: afc163 <afc163@gmail.com>
55 lines
823 B
Plaintext
55 lines
823 B
Plaintext
@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;
|
|
}
|
|
}
|
|
}
|