UNPKG

antdv-eoi

Version:

An enterprise-class UI design language and Vue-based implementation

845 lines (844 loc) 28.4 kB
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ /************************* 全局灰度 *********************/ /*所有阴影*/ /************************* 全局主题色 *********************/ /************************* 全局不变的颜色 *********************/ /* group color */ /* standard */ /* light */ /* dark */ /* 状态色 */ /* -state- Functional Color */ /* 状态色边框 */ /************************* 自定义变量 *********************/ /************************* 修改ant-design-vue变量 *********************/ .ant-select-single .ant-select-selector { display: flex; } .ant-select-single .ant-select-selector .ant-select-selection-search { position: absolute; top: 0; right: 6px; bottom: 0; left: 6px; } .ant-select-single .ant-select-selector .ant-select-selection-search-input { width: 100%; } .ant-select-single .ant-select-selector .ant-select-selection-item, .ant-select-single .ant-select-selector .ant-select-selection-placeholder { padding: 0; line-height: 22px; transition: all 0.3s; } @supports (-moz-appearance: meterbar) { .ant-select-single .ant-select-selector .ant-select-selection-item, .ant-select-single .ant-select-selector .ant-select-selection-placeholder { line-height: 22px; } } .ant-select-single .ant-select-selector .ant-select-selection-item { position: relative; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .ant-select-single .ant-select-selector .ant-select-selection-placeholder { pointer-events: none; } .ant-select-single .ant-select-selector::after, .ant-select-single .ant-select-selector .ant-select-selection-item::after, .ant-select-single .ant-select-selector .ant-select-selection-placeholder::after { display: inline-block; width: 0; visibility: hidden; content: '\a0'; } .ant-select-single.ant-select-show-arrow .ant-select-selection-search { right: 18px; } .ant-select-single.ant-select-show-arrow .ant-select-selection-item, .ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder { padding-right: 15px; } .ant-select-single.ant-select-open .ant-select-selection-item { color: var(--color-neutrals-6, #adadad); } .ant-select-single:not(.ant-select-customize-input) .ant-select-selector { width: 100%; height: 24px; padding: 0 6px; } .ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input { height: 22px; } .ant-select-single:not(.ant-select-customize-input) .ant-select-selector::after { line-height: 22px; } .ant-select-single.ant-select-customize-input .ant-select-selector::after { display: none; } .ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-search { position: static; width: 100%; } .ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-placeholder { position: absolute; right: 0; left: 0; padding: 0 6px; } .ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-placeholder::after { display: none; } .ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector { height: 40px; } .ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector::after, .ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-item, .ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder { line-height: 38px; } .ant-select-single.ant-select-lg:not(.ant-select-customize-input):not(.ant-select-customize-input) .ant-select-selection-search-input { height: 38px; } .ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector { height: 16px; } .ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector::after, .ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-item, .ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder { line-height: 14px; } .ant-select-single.ant-select-sm:not(.ant-select-customize-input):not(.ant-select-customize-input) .ant-select-selection-search-input { height: 14px; } .ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selection-search { right: 6px; left: 6px; } .ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector { padding: 0 6px; } .ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-search { right: 24px; } .ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-item, .ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-placeholder { padding-right: 18px; } .ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector { padding: 0 6px; } /** * Do not merge `height` & `line-height` under style with `selection` & `search`, * since chrome may update to redesign with its align logic. */ .ant-select-selection-overflow { position: relative; display: flex; flex: auto; flex-wrap: wrap; max-width: 100%; } .ant-select-selection-overflow-item { flex: none; align-self: center; max-width: 100%; } .ant-select-multiple .ant-select-selector { display: flex; flex-wrap: wrap; align-items: center; padding: 0px 2px; } .ant-select-show-search.ant-select-multiple .ant-select-selector { cursor: text; } .ant-select-disabled.ant-select-multiple .ant-select-selector { background: var(--color-input-background-disabled); cursor: not-allowed; } .ant-select-multiple .ant-select-selector::after { display: inline-block; width: 0; margin: 1px 0; line-height: 20px; content: '\a0'; } .ant-select-multiple.ant-select-show-arrow .ant-select-selector, .ant-select-multiple.ant-select-allow-clear .ant-select-selector { padding-right: 20px; } .ant-select-multiple .ant-select-selection-item { position: relative; display: flex; flex: none; box-sizing: border-box; max-width: 100%; height: 20px; margin-top: 1px; margin-bottom: 1px; line-height: 18px; background: #f5f5f5; border: 1px solid var(--color-input-border); border-radius: 1px; cursor: default; transition: font-size 0.3s, line-height 0.3s, height 0.3s; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-margin-end: 2px; margin-inline-end: 2px; -webkit-padding-start: 8px; padding-inline-start: 8px; -webkit-padding-end: 4px; padding-inline-end: 4px; } .ant-select-disabled.ant-select-multiple .ant-select-selection-item { color: #bfbfbf; border-color: var(--color-input-border); cursor: not-allowed; } .ant-select-multiple .ant-select-selection-item-content { display: inline-block; margin-right: 4px; overflow: hidden; white-space: pre; text-overflow: ellipsis; } .ant-select-multiple .ant-select-selection-item-remove { color: inherit; font-style: normal; line-height: 0; text-align: center; text-transform: none; vertical-align: -0.125em; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; display: inline-block; color: rgba(0, 0, 0, 0.45); font-weight: bold; font-size: 10px; line-height: inherit; cursor: pointer; } .ant-select-multiple .ant-select-selection-item-remove > * { line-height: 1; } .ant-select-multiple .ant-select-selection-item-remove svg { display: inline-block; } .ant-select-multiple .ant-select-selection-item-remove::before { display: none; } .ant-select-multiple .ant-select-selection-item-remove .ant-select-multiple .ant-select-selection-item-remove-icon { display: block; } .ant-select-multiple .ant-select-selection-item-remove > .anticon { vertical-align: -0.2em; } .ant-select-multiple .ant-select-selection-item-remove:hover { color: rgba(0, 0, 0, 0.75); } .ant-select-multiple .ant-select-selection-overflow-item + .ant-select-selection-overflow-item .ant-select-selection-search { -webkit-margin-start: 0; margin-inline-start: 0; } .ant-select-multiple .ant-select-selection-search { position: relative; max-width: 100%; margin-top: 1px; margin-bottom: 1px; -webkit-margin-start: 4px; margin-inline-start: 4px; } .ant-select-multiple .ant-select-selection-search-input, .ant-select-multiple .ant-select-selection-search-mirror { height: 20px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; line-height: 20px; transition: all 0.3s; } .ant-select-multiple .ant-select-selection-search-input { width: 100%; min-width: 4.1px; } .ant-select-multiple .ant-select-selection-search-mirror { position: absolute; top: 0; left: 0; z-index: 999; white-space: pre; visibility: hidden; } .ant-select-multiple .ant-select-selection-placeholder { position: absolute; top: 50%; right: 6px; left: 6px; transform: translateY(-50%); transition: all 0.3s; } .ant-select-multiple.ant-select-lg .ant-select-selector::after { line-height: 28px; } .ant-select-multiple.ant-select-lg .ant-select-selection-item { height: 28px; line-height: 26px; } .ant-select-multiple.ant-select-lg .ant-select-selection-search { height: 28px; line-height: 28px; } .ant-select-multiple.ant-select-lg .ant-select-selection-search-input, .ant-select-multiple.ant-select-lg .ant-select-selection-search-mirror { height: 28px; line-height: 26px; } .ant-select-multiple.ant-select-sm .ant-select-selector::after { line-height: 12px; } .ant-select-multiple.ant-select-sm .ant-select-selection-item { height: 12px; line-height: 10px; } .ant-select-multiple.ant-select-sm .ant-select-selection-search { height: 12px; line-height: 12px; } .ant-select-multiple.ant-select-sm .ant-select-selection-search-input, .ant-select-multiple.ant-select-sm .ant-select-selection-search-mirror { height: 12px; line-height: 10px; } .ant-select-multiple.ant-select-sm .ant-select-selection-placeholder { left: 6px; } .ant-select-multiple.ant-select-sm .ant-select-selection-search { -webkit-margin-start: 3px; margin-inline-start: 3px; } .ant-select-multiple.ant-select-lg .ant-select-selection-item { height: 32px; line-height: 32px; } .ant-select-disabled .ant-select-selection-item-remove { display: none; } /* Reset search input style */ .ant-select { box-sizing: border-box; margin: 0; padding: 0; color: var(--color-neutrals-7, #8f8f8f); font-size: 12px; font-variant: tabular-nums; line-height: 1.5715; list-style: none; font-feature-settings: 'tnum'; position: relative; display: inline-block; cursor: pointer; } .ant-select:not(.ant-select-customize-input) .ant-select-selector { position: relative; background-color: var(--color-input-background); border: 1px solid var(--color-input-border); border-radius: 1px; transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); display: flex; outline: 0; } .ant-select:not(.ant-select-customize-input) .ant-select-selector ul, .ant-select:not(.ant-select-customize-input) .ant-select-selector ol { margin: 0; padding: 0; list-style: none; } .ant-select:not(.ant-select-customize-input) .ant-select-selector > ul > li > a { padding: 0; background-color: var(--color-component-background); } .ant-select:not(.ant-select-customize-input) .ant-select-selector-arrow { display: inline-block; color: inherit; font-style: normal; line-height: 0; text-align: center; text-transform: none; vertical-align: -0.125em; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; position: absolute; top: 50%; right: 7px; margin-top: -12px / 2; color: var(--color-neutrals-8, #707070); font-size: 12px; line-height: 1; transform-origin: 50% 50%; } .ant-select:not(.ant-select-customize-input) .ant-select-selector-arrow > * { line-height: 1; } .ant-select:not(.ant-select-customize-input) .ant-select-selector-arrow svg { display: inline-block; } .ant-select:not(.ant-select-customize-input) .ant-select-selector-arrow::before { display: none; } .ant-select:not(.ant-select-customize-input) .ant-select-selector-arrow .ant-select:not(.ant-select-customize-input) .ant-select-selector-arrow-icon { display: block; } .ant-select:not(.ant-select-customize-input) .ant-select-selector input { cursor: pointer; } .ant-select-show-search.ant-select:not(.ant-select-customize-input) .ant-select-selector { cursor: text; } .ant-select-show-search.ant-select:not(.ant-select-customize-input) .ant-select-selector input { cursor: auto; } .ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector { border-color: #2592b3; border-right-width: 1px !important; outline: 0; box-shadow: 0 0 0 2px rgba(9, 123, 166, 0.2); } .ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector { color: var(--color-neutrals-8, #707070); background-color: var(--color-input-background-disabled); border-color: var(--color-neutrals-4, #dbdbdb); cursor: not-allowed; opacity: 0.8; } .ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector:hover { border-color: var(--color-neutrals-4, #dbdbdb); border-right-width: 1px !important; } .ant-select-multiple.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector { background: var(--color-input-background-disabled); } .ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector input { cursor: not-allowed; } .ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector input-disabled .ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector input-selection--multiple .ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector input-selection__choice { padding-right: 10px; color: var(--color-neutrals-8, #707070); background: var(--color-neutrals-2, #f0f0f0); } .ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector input__remove { display: none; } .ant-select:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input { margin: 0; padding: 0; background: transparent; border: none; outline: none; -webkit-appearance: none; -moz-appearance: none; appearance: none; } .ant-select:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input::-webkit-search-cancel-button { display: none; -webkit-appearance: none; } .ant-select:not(.ant-select-disabled):hover .ant-select-selector { border-color: var(--color-input-border-hover); border-right-width: 1px !important; } .ant-select-selection-item { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } @media all and (-ms-high-contrast: none) { .ant-select-selection-item *::-ms-backdrop, .ant-select-selection-item { flex: auto; } } .ant-select-selection-placeholder { flex: 1; } .ant-select-selection-placeholder-disabled .ant-select-selection-placeholder-selection__choice__remove { color: var(--color-component-color-disabled); cursor: default; } .ant-select-selection-placeholder-disabled .ant-select-selection-placeholder-selection__choice__remove:hover { color: var(--color-component-color-disabled); } .ant-select-disabled .ant-select-arrow { color: var(--color-component-color-disabled); } .ant-select-search__field__wrap { position: relative; display: inline-block; } .ant-select-selection__placeholder, .ant-select-search__field__placeholder { position: absolute; top: 50%; right: 9px; left: 0; max-width: 100%; height: 20px; margin-top: -10px; overflow: hidden; color: var(--color-neutrals-6, #adadad); white-space: nowrap; text-overflow: ellipsis; pointer-events: none; } @media all and (-ms-high-contrast: none) { .ant-select-selection__placeholder *::-ms-backdrop, .ant-select-search__field__placeholder *::-ms-backdrop, .ant-select-selection__placeholder, .ant-select-search__field__placeholder { flex: auto; } } .ant-select-arrow { display: inline-block; color: inherit; font-style: normal; line-height: 0; text-transform: none; vertical-align: -0.125em; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; position: absolute; top: 53%; right: 7px; width: 12px; height: 12px; margin-top: -6px; color: var(--color-component-color-disabled); font-size: 12px; line-height: 1; text-align: center; pointer-events: none; } .ant-select-arrow > * { line-height: 1; } .ant-select-arrow svg { display: inline-block; } .ant-select-arrow::before { display: none; } .ant-select-arrow .ant-select-arrow-icon { display: block; } .ant-select-arrow .anticon { vertical-align: top; transition: transform 0.3s; } .ant-select-arrow .anticon > svg { vertical-align: top; } .ant-select-arrow .anticon:not(.ant-select-suffix) { pointer-events: auto; } .ant-select-disabled .ant-select-arrow { cursor: not-allowed; } .ant-select-clear { position: absolute; top: 50%; right: 7px; z-index: 1; display: inline-block; width: 12px; height: 12px; margin-top: -6px; color: var(--color-component-color-disabled); font-size: 12px; font-style: normal; line-height: 1; text-align: center; text-transform: none; background: var(--color-input-background); cursor: pointer; opacity: 0; transition: color 0.3s ease, opacity 0.15s ease; text-rendering: auto; } .ant-select-clear::before { display: block; } .ant-select-clear:hover { color: rgba(0, 0, 0, 0.45); } .ant-select:hover .ant-select-clear { opacity: 1; } .ant-select-dropdown { margin: 0; padding: 0; color: var(--color-neutrals-7, #8f8f8f); font-variant: tabular-nums; line-height: 1.5715; list-style: none; font-feature-settings: 'tnum'; position: absolute; top: -9999px; left: -9999px; z-index: 1050; box-sizing: border-box; padding: 4px 0; overflow: hidden; font-size: 12px; font-variant: initial; background-color: var(--color-input-background); border-radius: 1px; outline: none; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); } .ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-bottomLeft, .ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-bottomLeft { -webkit-animation-name: antSlideUpIn; animation-name: antSlideUpIn; } .ant-select-dropdown .ant-select-selection__choice { position: relative; float: left; max-width: 99%; margin-right: 4px; padding: 0 20px 0 10px; overflow: hidden; color: var(--color-neutrals-8, #707070); background-color: var(--color-neutrals-2, #f0f0f0); border: 1px solid var(--color-neutrals-5, #cccccc); border-radius: 1px; cursor: default; transition: padding 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); } .ant-select-dropdown .ant-select-selection__choice__disabled { padding: 0 10px; } .ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-topLeft, .ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-topLeft { -webkit-animation-name: antSlideDownIn; animation-name: antSlideDownIn; } .ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-topLeft .ant-select-selection__choice__remove, .ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-topLeft .ant-select-selection__choice__remove { color: inherit; font-style: normal; line-height: 0; text-align: center; text-transform: none; vertical-align: -0.125em; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; position: absolute; right: 4px; color: var(--color-neutrals-7, #8f8f8f); font-weight: bold; line-height: inherit; cursor: pointer; transition: all 0.3s; display: inline-block; font-size: 12px; font-size: 10px \9; transform: scale(0.83333333) rotate(0deg); } .ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-topLeft .ant-select-selection__choice__remove > *, .ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-topLeft .ant-select-selection__choice__remove > * { line-height: 1; } .ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-topLeft .ant-select-selection__choice__remove svg, .ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-topLeft .ant-select-selection__choice__remove svg { display: inline-block; } .ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-topLeft .ant-select-selection__choice__remove::before, .ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-topLeft .ant-select-selection__choice__remove::before { display: none; } .ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-topLeft .ant-select-selection__choice__remove .ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-topLeft .ant-select-selection__choice__remove-icon, .ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-topLeft .ant-select-selection__choice__remove .ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-topLeft .ant-select-selection__choice__remove-icon, .ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-topLeft .ant-select-selection__choice__remove .ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-topLeft .ant-select-selection__choice__remove-icon, .ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-topLeft .ant-select-selection__choice__remove .ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-topLeft .ant-select-selection__choice__remove-icon { display: block; } :root .ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-topLeft .ant-select-selection__choice__remove, :root .ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-topLeft .ant-select-selection__choice__remove { font-size: 12px; } .ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-topLeft .ant-select-selection__choice__remove:hover, .ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-topLeft .ant-select-selection__choice__remove:hover { color: var(--color-neutrals-8, #707070); } .ant-select-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-select-dropdown-placement-bottomLeft { -webkit-animation-name: antSlideUpOut; animation-name: antSlideUpOut; } .ant-select-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-select-dropdown-placement-topLeft { -webkit-animation-name: antSlideDownOut; animation-name: antSlideDownOut; } .ant-select-dropdown-hidden { display: none; } .ant-select-dropdown-empty { color: var(--color-component-color-disabled); } .ant-select-item-empty { position: relative; display: block; min-height: 32px; padding: 5px 8px; color: var(--color-neutrals-7, #8f8f8f); font-weight: normal; font-size: 12px; line-height: 22px; color: var(--color-component-color-disabled); } .ant-select-item { position: relative; display: block; min-height: 32px; padding: 5px 8px; color: var(--color-neutrals-7, #8f8f8f); font-weight: normal; font-size: 12px; line-height: 22px; cursor: pointer; transition: background 0.3s ease; } .ant-select-item-group { color: rgba(0, 0, 0, 0.45); font-size: 12px; cursor: default; } .ant-select-item-option { display: flex; } .ant-select-item-option-content { flex: auto; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .ant-select-item-option-state { flex: none; } .ant-select-item-option-active:not(.ant-select-item-option-disabled) { background-color: var(--color-primary-1); } .ant-select-item-option-selected:not(.ant-select-item-option-disabled) { color: var(--color-neutrals-7, #8f8f8f); font-weight: 600; background-color: var(--color-select-item-background-selected); } .ant-select-item-option-selected:not(.ant-select-item-option-disabled) .ant-select-item-option-state { color: #097BA6; } .ant-select-item-option-disabled { color: var(--color-component-color-disabled); cursor: not-allowed; } .ant-select-item-option-grouped { padding-left: 16px; } .ant-select-item-option-grouped:hover .ant-select-selected-icon { color: var(--color-neutrals-8, #707070); } .ant-select-item-option-grouped-disabled .ant-select-selected-icon { display: none; } .ant-select-item-option-grouped-selected .ant-select-selected-icon, .ant-select-item-option-grouped-selected:hover .ant-select-selected-icon { display: inline-block; color: var(--color-neutrals-8, #707070); } .ant-select-lg { font-size: 14px; } .ant-select-sm { line-height: 1; } .ant-select-borderless .ant-select-selector { background-color: transparent !important; border-color: transparent !important; box-shadow: none !important; } .ant-select-rtl { direction: rtl; } .ant-select-rtl .ant-select-arrow { right: initial; left: 7px; } .ant-select-rtl .ant-select-clear { right: initial; left: 7px; } .ant-select-dropdown-rtl { direction: rtl; } .ant-select-dropdown-rtl .ant-select-item-option-grouped { padding-right: 16px; padding-left: 8px; } .ant-select-rtl.ant-select-multiple.ant-select-show-arrow .ant-select-selector, .ant-select-rtl.ant-select-multiple.ant-select-allow-clear .ant-select-selector { padding-right: 2px; padding-left: 20px; } .ant-select-rtl.ant-select-multiple .ant-select-selection-item { text-align: right; } .ant-select-rtl.ant-select-multiple .ant-select-selection-item-content { margin-right: 0; margin-left: 4px; text-align: right; } .ant-select-rtl.ant-select-multiple .ant-select-selection-search-mirror { right: 0; left: auto; } .ant-select-rtl.ant-select-multiple .ant-select-selection-placeholder { right: 6px; left: auto; } .ant-select-rtl.ant-select-multiple.ant-select-sm .ant-select-selection-placeholder { right: 6px; } .ant-select-rtl.ant-select-single .ant-select-selector .ant-select-selection-item, .ant-select-rtl.ant-select-single .ant-select-selector .ant-select-selection-placeholder { right: 0; left: 9px; text-align: right; } .ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-search { right: 6px; left: 18px; } .ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-item, .ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder { padding-right: 0; padding-left: 15px; } .ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-search { right: 5px; } .ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-item, .ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-placeholder { padding-right: 0; padding-left: 18px; }