afc163
8 years ago
5 changed files with 43 additions and 23 deletions
@ -1,16 +1,29 @@ |
|||
@import "../../style/mixins/index"; |
|||
|
|||
@open: "\e621"; |
|||
@close: "\e645"; |
|||
@doc: "\e664"; |
|||
@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; |
|||
|
|||
.antTreeSwitcherIcon(@type) { |
|||
.antTreeSwitcherIcon(@type: "tree-default-open-icon") { |
|||
&:after { |
|||
.iconfont-size-under-12px(8px); |
|||
.iconfont-size-under-12px(7px); |
|||
display: inline-block; |
|||
.iconfont-font(@@type); |
|||
font-weight: bold; |
|||
color: @tree-icon-color; |
|||
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; |
|||
} |
|||
} |
|||
|
Loading…
Reference in new issue