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

30 lines
658 B
Plaintext
Raw Normal View History

2018-12-07 16:17:45 +08:00
@import '../../style/mixins/index';
2018-12-07 16:17:45 +08:00
@tree-prefix-cls: ~'@{ant-prefix}-tree';
@select-tree-prefix-cls: ~'@{ant-prefix}-select-tree';
2018-12-07 16:17:45 +08:00
.antTreeSwitcherIcon(@type: 'tree-default-open-icon') {
2018-08-25 15:51:07 +08:00
.@{tree-prefix-cls}-switcher-icon,
.@{select-tree-prefix-cls}-switcher-icon {
.iconfont-size-under-12px(10px);
2019-04-15 10:52:00 +08:00
display: inline-block;
font-weight: bold;
2018-08-25 15:51:07 +08:00
svg {
2018-12-07 16:17:45 +08:00
transition: transform 0.3s;
2018-08-25 15:51:07 +08:00
}
2017-03-28 17:51:45 +08:00
}
}
.antTreeShowLineIcon(@type) {
2018-08-25 15:51:07 +08:00
.@{tree-prefix-cls}-switcher-icon,
.@{tree-select-prefix-cls}-switcher-icon {
2017-03-28 17:51:45 +08:00
display: inline-block;
font-weight: normal;
font-size: 12px;
2018-08-25 15:51:07 +08:00
svg {
2018-12-07 16:17:45 +08:00
transition: transform 0.3s;
2018-08-25 15:51:07 +08:00
}
}
}