mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-26 04:00:13 +08:00
6936599aef
* rename .stylelintrc to .stylelintrc.json for explicit file type * add new npm script lint-fix:style * fix pseudo-element with double colon * function name should be lower except ignored functions * support stylelint declaration-block-no-ignored-properties rule * support sorted CSS properties order for readability and consistency * autofix order of all styles by lint-fix:style script * remove double slash comments after selector * replace .stylelintignore with ignoreFiles in .stylelintrc.json
29 lines
652 B
Plaintext
29 lines
652 B
Plaintext
@import '../../style/mixins/index';
|
|
|
|
@tree-prefix-cls: ~'@{ant-prefix}-tree';
|
|
@tree-select-prefix-cls: ~'@{ant-prefix}-select';
|
|
|
|
.antTreeSwitcherIcon(@type: 'tree-default-open-icon') {
|
|
.@{tree-prefix-cls}-switcher-icon,
|
|
.@{tree-select-prefix-cls}-switcher-icon {
|
|
.iconfont-size-under-12px(10px);
|
|
display: inline-block;
|
|
font-weight: bold;
|
|
svg {
|
|
transition: transform 0.3s;
|
|
}
|
|
}
|
|
}
|
|
|
|
.antTreeShowLineIcon(@type) {
|
|
.@{tree-prefix-cls}-switcher-icon,
|
|
.@{tree-select-prefix-cls}-switcher-icon {
|
|
display: inline-block;
|
|
font-weight: normal;
|
|
font-size: 12px;
|
|
svg {
|
|
transition: transform 0.3s;
|
|
}
|
|
}
|
|
}
|