mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 21:59:41 +08:00
d380a8d3e4
* style: add `@divider-text-left-width` less * fix: name
37 lines
711 B
Plaintext
37 lines
711 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: 100% - @divider-orientation-margin;
|
|
}
|
|
}
|
|
&::after {
|
|
.@{divider-prefix-cls}-rtl& {
|
|
width: @divider-orientation-margin;
|
|
}
|
|
}
|
|
}
|
|
|
|
&-horizontal&-with-text-right {
|
|
&::before {
|
|
.@{divider-prefix-cls}-rtl& {
|
|
width: @divider-orientation-margin;
|
|
}
|
|
}
|
|
&::after {
|
|
.@{divider-prefix-cls}-rtl& {
|
|
width: 100% - @divider-orientation-margin;
|
|
}
|
|
}
|
|
}
|
|
}
|