choerodon-ui
Version:
An enterprise-class UI design language and React-based implementation
67 lines (50 loc) • 1.21 kB
text/less
@import '../../../../lib/style/themes/default';
@import '../../../../lib/style/mixins/index';
@import '../../trigger-field/style/mixin';
@import '../../field/style/mixin';
@import '../../../../lib/select/style/mixin';
@tree-select-prefix: ~'@{c7n-pro-prefix}-tree-select';
.@{tree-select-prefix} {
.trigger-field;
margin: 0;
&-disabled {
i {
color: @input-border-color;
}
}
&-trigger {
transition: transform @animation-duration-slow;
}
&-expand &-trigger {
&.icon-search {
transform: none;
}
&-common-item-wrapper {
display: none ;
}
}
&-dropdown-menu {
&-item {
width: 100%;
&.@{c7n-prefix}-tree-treenode-selected {
background-color: @item-focus-bg;
}
&.@{c7n-prefix}-tree-treenode-active {
background-color: @item-active-bg;
}
.@{c7n-prefix}-tree-node-content-wrapper {
background-color: transparent ;
}
&-more {
justify-content: center;
.@{c7n-prefix}-tree-switcher-noop,
.@{c7n-prefix}-tree-checkbox {
display: none;
}
}
}
.dropdown-menu;
}
.select-all;
.common-item;
}