Files
PartsInquiry/admin/node_modules/element-plus/theme-chalk/src/tree-select.scss
2025-09-24 20:35:15 +08:00

42 lines
999 B
SCSS

@use 'mixins/mixins' as *;
@use 'mixins/var' as *;
@use 'common/var' as *;
@include b(tree-select) {
@include set-component-css-var('tree', $tree);
}
@include b(tree-select) {
@include e(popper) {
// padding-left same with select option
.#{$namespace}-tree-node__expand-icon {
margin-left: 8px;
}
// remove icon when show checkbox
.#{$namespace}-tree-node.is-checked
> .#{$namespace}-tree-node__content
.#{$namespace}-select-dropdown__item.selected::after {
content: none;
}
.#{$namespace}-select-dropdown__list
> .#{$namespace}-select-dropdown__item {
padding-left: 32px;
}
.#{$namespace}-select-dropdown__item {
flex: 1;
background: transparent !important;
// padding-left move to `el-tree-node__expand-icon`
padding-left: 0;
// fix: select height > tree node height
// https://github.com/yujinpan/el-select-tree/pull/33
height: 20px;
line-height: 20px;
}
}
}