2020-04-29 10:17:37 +08:00
|
|
|
@import '../../style/themes/index';
|
|
|
|
@import '../../style/mixins/index';
|
|
|
|
|
|
|
|
@divider-prefix-cls: ~'@{ant-prefix}-divider';
|
|
|
|
|
|
|
|
.@{divider-prefix-cls} {
|
|
|
|
&-rtl {
|
|
|
|
direction: rtl;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-horizontal&-with-text-left {
|
|
|
|
&::before {
|
|
|
|
.@{divider-prefix-cls}-rtl& {
|
2020-06-10 09:37:48 +08:00
|
|
|
width: 100% - @divider-orientation-margin;
|
2020-04-29 10:17:37 +08:00
|
|
|
}
|
|
|
|
}
|
2021-10-13 15:38:59 +08:00
|
|
|
|
2020-04-29 10:17:37 +08:00
|
|
|
&::after {
|
|
|
|
.@{divider-prefix-cls}-rtl& {
|
2020-06-10 09:37:48 +08:00
|
|
|
width: @divider-orientation-margin;
|
2020-04-29 10:17:37 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-horizontal&-with-text-right {
|
|
|
|
&::before {
|
|
|
|
.@{divider-prefix-cls}-rtl& {
|
2020-06-10 09:37:48 +08:00
|
|
|
width: @divider-orientation-margin;
|
2020-04-29 10:17:37 +08:00
|
|
|
}
|
|
|
|
}
|
2021-10-13 15:38:59 +08:00
|
|
|
|
2020-04-29 10:17:37 +08:00
|
|
|
&::after {
|
|
|
|
.@{divider-prefix-cls}-rtl& {
|
2020-06-10 09:37:48 +08:00
|
|
|
width: 100% - @divider-orientation-margin;
|
2020-04-29 10:17:37 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|