choerodon-ui
Version:
An enterprise-class UI design language and React-based implementation
28 lines (24 loc) • 623 B
text/less
@import '../../style/mixins/index';
@tree-default-open-icon: '\e606';
@tree-showline-open-icon: '\e621';
@tree-showline-close-icon: '\e645';
@tree-doc-icon: '\e664';
.antTreeSwitcherIcon(@type: 'tree-default-open-icon') {
&::after {
.iconfont-size-under-12px(0.07rem);
display: inline-block;
.iconfont-font(@type);
font-weight: bold;
transition: transform 0.3s;
}
}
.antTreeShowLineIcon(@type) {
&::after {
.iconfont-size-under-12px(0.12rem);
display: inline-block;
font-weight: normal;
vertical-align: baseline;
transition: transform 0.3s;
.iconfont-font(@type);
}
}