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

23 lines
526 B
Plaintext
Raw Normal View History

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