mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-30 14:29:33 +08:00
14c1a58f4f
* style: add rtl.less of Steps\DatePicker * style: add rtl.less of Steps\DatePicker * style: remove datepicker
61 lines
1023 B
Plaintext
61 lines
1023 B
Plaintext
@import '../../style/themes/index';
|
|
@import '../../style/mixins/index';
|
|
|
|
@steps-prefix-cls: ~'@{ant-prefix}-steps';
|
|
|
|
.@{steps-prefix-cls} {
|
|
&-rtl {
|
|
direction: rtl;
|
|
}
|
|
}
|
|
|
|
.@{steps-prefix-cls}-item {
|
|
&-icon {
|
|
.@{steps-prefix-cls}-rtl & {
|
|
margin-right: 0;
|
|
margin-left: 8px;
|
|
}
|
|
}
|
|
|
|
&-tail {
|
|
.@{steps-prefix-cls}-rtl & {
|
|
right: 0;
|
|
left: auto;
|
|
}
|
|
}
|
|
|
|
&-title {
|
|
.@{steps-prefix-cls}-rtl & {
|
|
padding-right: 0;
|
|
padding-left: 16px;
|
|
}
|
|
|
|
&::after {
|
|
.@{steps-prefix-cls}-rtl & {
|
|
right: 100%;
|
|
left: auto;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.@{steps-prefix-cls}-horizontal:not(.@{steps-prefix-cls}-label-vertical) {
|
|
.@{steps-prefix-cls}-item {
|
|
.@{steps-prefix-cls}-rtl& {
|
|
margin-right: 0;
|
|
margin-left: 16px;
|
|
}
|
|
|
|
&:last-child {
|
|
.@{steps-prefix-cls}-rtl& {
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
&:last-child .@{steps-prefix-cls}-item-title {
|
|
.@{steps-prefix-cls}-rtl& {
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|