2020-03-16 21:56:05 +08:00
|
|
|
@import '../../style/themes/index';
|
|
|
|
@import '../../style/mixins/index';
|
|
|
|
@import '../../input/style/mixin';
|
|
|
|
|
|
|
|
@pagination-prefix-cls: ~'@{ant-prefix}-pagination';
|
|
|
|
|
|
|
|
.@{pagination-prefix-cls} {
|
|
|
|
&-rtl {
|
|
|
|
direction: rtl;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-total-text {
|
|
|
|
.@{pagination-prefix-cls}-rtl & {
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-item {
|
|
|
|
.@{pagination-prefix-cls}-rtl & {
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-prev,
|
|
|
|
&-jump-prev,
|
|
|
|
&-jump-next {
|
|
|
|
.@{pagination-prefix-cls}-rtl & {
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-14 16:05:36 +08:00
|
|
|
&-slash {
|
|
|
|
.@{pagination-prefix-cls}-rtl & {
|
|
|
|
margin: 0 5px 0 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-16 21:56:05 +08:00
|
|
|
&-options {
|
|
|
|
.@{pagination-prefix-cls}-rtl & {
|
|
|
|
margin-right: 16px;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-size-changer.@{ant-prefix}-select {
|
|
|
|
.@{pagination-prefix-cls}-rtl & {
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
}
|
2020-11-06 19:50:46 +08:00
|
|
|
|
|
|
|
&-quick-jumper {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2020-03-16 21:56:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&-simple &-simple-pager {
|
|
|
|
.@{pagination-prefix-cls}-rtl& {
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
.@{pagination-prefix-cls}-rtl& {
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mini &-options {
|
|
|
|
.@{pagination-prefix-cls}-rtl& {
|
|
|
|
margin-right: 2px;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|