You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.1 KiB
51 lines
1.1 KiB
5 years ago
|
@import '../../style/themes/index';
|
||
|
@import '../../style/mixins/index';
|
||
|
@import '../../checkbox/style/mixin';
|
||
|
|
||
|
@tree-prefix-cls: ~'@{ant-prefix}-tree';
|
||
|
@tree-node-prefix-cls: ~'@{tree-prefix-cls}-treenode';
|
||
|
|
||
|
.antTreeFn(@tree-prefix-cls) {
|
||
|
.@{tree-prefix-cls} {
|
||
|
&-rtl {
|
||
|
direction: rtl;
|
||
|
}
|
||
|
|
||
|
// ===================== TreeNode =====================
|
||
|
.@{tree-node-prefix-cls} {
|
||
|
&-rtl {
|
||
|
direction: rtl;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// >>> Switcher
|
||
|
& &-switcher {
|
||
|
&_close {
|
||
|
.@{tree-prefix-cls}-switcher-icon {
|
||
|
svg {
|
||
|
.@{tree-prefix-cls}-rtl& {
|
||
|
transform: rotate(90deg);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
// ==================== Show Line =====================
|
||
|
&-show-line {
|
||
|
// ================ Indent lines ================
|
||
|
.@{tree-prefix-cls}-indent {
|
||
|
&-unit {
|
||
|
&::before {
|
||
|
.@{tree-prefix-cls}-rtl& {
|
||
|
right: auto;
|
||
|
left: -@tree-title-height / 2;
|
||
|
border-right: none;
|
||
|
border-left: 1px solid @border-color-base;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|