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

30 lines
706 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";
@tree-showline-icon-color: @text-color-secondary;
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;
2017-03-28 17:51:45 +08:00
color: @text-color;
transition: transform .3s ease;
}
}
.antTreeShowLineIcon(@type) {
&:after {
.iconfont-size-under-12px(12px);
display: inline-block;
.iconfont-font(@@type);
font-weight: normal;
color: @tree-showline-icon-color;
transition: transform .3s ease;
}
}