xrkffgg
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
40 additions and
2 deletions
-
components/table/style/rtl.less
|
|
@ -2,6 +2,7 @@ |
|
|
|
@import '../../style/mixins/index'; |
|
|
|
|
|
|
|
@table-prefix-cls: ~'@{ant-prefix}-table'; |
|
|
|
@table-wrapepr-cls: ~'@{table-prefix-cls}-wrapper'; |
|
|
|
@table-wrapepr-rtl-cls: ~'@{table-prefix-cls}-wrapper-rtl'; |
|
|
|
|
|
|
|
.@{table-prefix-cls}-wrapper { |
|
|
@ -51,10 +52,29 @@ |
|
|
|
} |
|
|
|
|
|
|
|
// ========================== Pagination ========================== |
|
|
|
&-pagination.@{ant-prefix}-pagination { |
|
|
|
.@{table-wrapepr-rtl-cls} & { |
|
|
|
&-pagination { |
|
|
|
.@{table-wrapepr-cls}.@{table-wrapepr-rtl-cls} & { |
|
|
|
float: left; |
|
|
|
} |
|
|
|
|
|
|
|
&-left { |
|
|
|
.@{table-wrapepr-cls}.@{table-wrapepr-rtl-cls} & { |
|
|
|
float: left; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
&-right { |
|
|
|
.@{table-wrapepr-cls}.@{table-wrapepr-rtl-cls} & { |
|
|
|
float: right; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
&-center { |
|
|
|
.@{table-wrapepr-cls}.@{table-wrapepr-rtl-cls} & { |
|
|
|
float: initial; |
|
|
|
text-align: center; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// ================================================================ |
|
|
@ -129,5 +149,23 @@ |
|
|
|
margin-left: @padding-xs; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
&::after { |
|
|
|
.@{table-wrapepr-rtl-cls} & { |
|
|
|
transform: rotate(-90deg); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
&-collapsed::before { |
|
|
|
.@{table-wrapepr-rtl-cls} & { |
|
|
|
transform: rotate(180deg); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
&-collapsed::after { |
|
|
|
.@{table-wrapepr-rtl-cls} & { |
|
|
|
transform: rotate(0deg); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|