@root-entry-name: 'default'; @import '~antd/es/style/themes/index.less'; @select-custom-prefix-cls: ~'@{ant-prefix}-select-custom'; @tree-select-custom-prefix-cls: ~'@{ant-prefix}-tree-select-custom'; .@{select-custom-prefix-cls} { position: relative; display: flex; align-items: center; &-icon { position: absolute; z-index: 1; padding-left: 10px; } } .@{select-custom-prefix-cls}-prefix { .@{select-custom-prefix-cls}-base { > .@{ant-prefix}-select-selector { padding-left: 30px; > .@{ant-prefix}-select-selection-search { left: 30px; } } } } .@{ant-prefix}-select-item-option-active:not(.@{ant-prefix}-select-item-option-disabled) { background-color: #f8f8f8; } .@{ant-prefix}-select-item-option-selected:not(.@{ant-prefix}-select-item-option-disabled) { background-color: #e7f3fd; } .@{ant-prefix}-select-tree { .@{ant-prefix}-select-tree-node-content-wrapper.@{ant-prefix}-select-tree-node-selected { background-color: #e7f3fd; } .@{ant-prefix}-select-tree-node-content-wrapper:hover { background-color: #f8f8f8; } }