xrkffgg
5 years ago
committed by
GitHub
6 changed files with 83 additions and 46 deletions
@ -0,0 +1,52 @@ |
|||
@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; |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,18 @@ |
|||
@import '../../style/themes/default'; |
|||
@import '../../style/mixins/index'; |
|||
|
|||
@descriptions-prefix-cls: ~'@{ant-prefix}-descriptions'; |
|||
|
|||
.@{descriptions-prefix-cls} { |
|||
&-rtl { |
|||
direction: rtl; |
|||
} |
|||
|
|||
&-item-label { |
|||
&::after { |
|||
.@{descriptions-prefix-cls}-rtl & { |
|||
margin: 0 2px 0 8px; |
|||
} |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,10 @@ |
|||
@import '../../style/themes/index'; |
|||
@import '../../style/mixins/index'; |
|||
|
|||
@empty-prefix-cls: ~'@{ant-prefix}-empty'; |
|||
|
|||
.@{empty-prefix-cls} { |
|||
&-rtl { |
|||
direction: rtl; |
|||
} |
|||
} |
Loading…
Reference in new issue