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

29 lines
652 B
Plaintext
Raw Normal View History

2019-01-02 13:01:56 +00:00
@import '../../style/mixins/index';
2018-04-13 10:58:58 +00:00
2019-01-02 13:01:56 +00:00
@tree-prefix-cls: ~'@{ant-prefix}-tree';
@tree-select-prefix-cls: ~'@{ant-prefix}-select';
2018-04-13 10:58:58 +00:00
2019-01-02 13:01:56 +00:00
.antTreeSwitcherIcon(@type: 'tree-default-open-icon') {
2018-11-14 13:33:56 +00:00
.@{tree-prefix-cls}-switcher-icon,
.@{tree-select-prefix-cls}-switcher-icon {
2018-12-11 12:33:37 +00:00
.iconfont-size-under-12px(10px);
2018-04-13 10:58:58 +00:00
display: inline-block;
font-weight: bold;
2018-11-14 13:33:56 +00:00
svg {
2019-01-02 13:01:56 +00:00
transition: transform 0.3s;
2018-11-14 13:33:56 +00:00
}
2018-04-13 10:58:58 +00:00
}
}
.antTreeShowLineIcon(@type) {
2018-11-14 13:33:56 +00:00
.@{tree-prefix-cls}-switcher-icon,
.@{tree-select-prefix-cls}-switcher-icon {
2018-12-11 12:33:37 +00:00
font-size: 12px;
2018-04-13 10:58:58 +00:00
display: inline-block;
font-weight: normal;
2018-11-14 13:33:56 +00:00
svg {
2019-01-02 13:01:56 +00:00
transition: transform 0.3s;
2018-11-14 13:33:56 +00:00
}
2018-04-13 10:58:58 +00:00
}
}