mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 01:29:11 +08:00
0e7e4fbef5
* refactor: move to css in js * move some styles * fix styles * add more styles * add variables * add rtl styles * use rootPrefixCls * fix rtl style * improve code style * use context * fix some issues * refactor: argument usage * refactor: argument usage * remove unused css code
55 lines
958 B
Plaintext
55 lines
958 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;
|
|
// }
|
|
// }
|
|
// }
|