ant-design/components/tree/style/mixin.less

29 lines
650 B
Plaintext
Raw Normal View History

@import "../../style/mixins/index";
2018-08-17 16:04:11 +08:00
@tree-prefix-cls: ~"@{ant-prefix}-tree";
2018-08-25 15:51:07 +08:00
@tree-select-prefix-cls: ~"@{ant-prefix}-select";
2017-03-28 17:51:45 +08:00
.antTreeSwitcherIcon(@type: "tree-default-open-icon") {
2018-08-25 15:51:07 +08:00
.@{tree-prefix-cls}-switcher-icon,
.@{tree-select-prefix-cls}-switcher-icon {
.iconfont-size-under-12px(10px);
display: inline-block;
font-weight: bold;
2018-08-25 15:51:07 +08:00
svg {
transition: transform .3s;
}
2017-03-28 17:51:45 +08:00
}
}
.antTreeShowLineIcon(@type) {
2018-08-25 15:51:07 +08:00
.@{tree-prefix-cls}-switcher-icon,
.@{tree-select-prefix-cls}-switcher-icon {
font-size: 12px;
2017-03-28 17:51:45 +08:00
display: inline-block;
font-weight: normal;
2018-08-25 15:51:07 +08:00
svg {
transition: transform .3s;
}
}
}