2020-04-30 10:55:54 +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-15 00:29:33 +08:00
|
|
|
width: 100% - @divider-orientation-margin;
|
2020-04-30 10:55:54 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&::after {
|
|
|
|
.@{divider-prefix-cls}-rtl& {
|
2020-06-15 00:29:33 +08:00
|
|
|
width: @divider-orientation-margin;
|
2020-04-30 10:55:54 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-horizontal&-with-text-right {
|
|
|
|
&::before {
|
|
|
|
.@{divider-prefix-cls}-rtl& {
|
2020-06-15 00:29:33 +08:00
|
|
|
width: @divider-orientation-margin;
|
2020-04-30 10:55:54 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&::after {
|
|
|
|
.@{divider-prefix-cls}-rtl& {
|
2020-06-15 00:29:33 +08:00
|
|
|
width: 100% - @divider-orientation-margin;
|
2020-04-30 10:55:54 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|