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

29 lines
652 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';
@tree-select-prefix-cls: ~'@{ant-prefix}-select';
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,
.@{tree-select-prefix-cls}-switcher-icon {
.iconfont-size-under-12px(10px);
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
}
}
}