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

28 lines
614 B
Plaintext
Raw Normal View History

@import "../../style/mixins/index";
2017-03-28 17:51:45 +08:00
@tree-default-open-icon: "\e606";
@tree-showline-open-icon: "\e621";
@tree-showline-close-icon: "\e645";
@tree-doc-icon: "\e664";
2017-03-28 17:51:45 +08:00
.antTreeSwitcherIcon(@type: "tree-default-open-icon") {
&:after {
2017-03-28 17:51:45 +08:00
.iconfont-size-under-12px(7px);
display: inline-block;
.iconfont-font(@@type);
font-weight: bold;
transition: transform .3s;
2017-03-28 17:51:45 +08:00
}
}
.antTreeShowLineIcon(@type) {
&:after {
.iconfont-size-under-12px(12px);
display: inline-block;
.iconfont-font(@@type);
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;
}
}