mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
37 lines
599 B
Plaintext
37 lines
599 B
Plaintext
|
@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& {
|
||
|
width: 95%;
|
||
|
}
|
||
|
}
|
||
|
&::after {
|
||
|
.@{divider-prefix-cls}-rtl& {
|
||
|
width: 5%;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&-horizontal&-with-text-right {
|
||
|
&::before {
|
||
|
.@{divider-prefix-cls}-rtl& {
|
||
|
width: 5%;
|
||
|
}
|
||
|
}
|
||
|
&::after {
|
||
|
.@{divider-prefix-cls}-rtl& {
|
||
|
width: 95%;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|