mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-04 08:59:40 +08:00
29 lines
665 B
Plaintext
29 lines
665 B
Plaintext
@import "../../style/mixins/index";
|
|
|
|
@tree-prefix-cls: ~"@{ant-prefix}-tree";
|
|
@tree-select-prefix-cls: ~"@{ant-prefix}-select";
|
|
|
|
.antTreeSwitcherIcon(@type: "tree-default-open-icon") {
|
|
.@{tree-prefix-cls}-switcher-icon,
|
|
.@{tree-select-prefix-cls}-switcher-icon {
|
|
.iconfont-size-under-12px(7px);
|
|
display: inline-block;
|
|
font-weight: bold;
|
|
svg {
|
|
transition: transform .3s;
|
|
}
|
|
}
|
|
}
|
|
|
|
.antTreeShowLineIcon(@type) {
|
|
.@{tree-prefix-cls}-switcher-icon,
|
|
.@{tree-select-prefix-cls}-switcher-icon {
|
|
.iconfont-size-under-12px(12px);
|
|
display: inline-block;
|
|
font-weight: normal;
|
|
svg {
|
|
transition: transform .3s;
|
|
}
|
|
}
|
|
}
|