UNPKG

choerodon-ui

Version:

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

742 lines (741 loc) 24.9 kB
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors */ .c7n-select { -webkit-box-sizing: border-box; box-sizing: border-box; margin: 0; padding: 0; list-style: none; position: relative; display: inline-block; } .c7n-select ul, .c7n-select ol { width: 100%; margin: 0; padding: 0; list-style: none; } .c7n-select > ul > li > a { padding: 0; background-color: #fff; } .c7n-select-label { padding: 0; color: inherit; line-height: 2.61538462; -webkit-transform-origin: inherit; -ms-transform-origin: inherit; transform-origin: inherit; -webkit-transition: inherit; transition: inherit; pointer-events: none; } .is-required .c7n-select-label::after { display: inline-block; width: 0.08rem; margin-left: 0.04rem; color: #d50000; font-size: 0.13rem; font-family: SimSun, sans-serif; line-height: 1; content: '*'; } .c7n-select-label-wrapper { position: absolute; top: 0; left: 0.1rem; height: 0; margin-left: -0.05rem; padding: 0 0.05rem; border-top: 0.02rem solid transparent; -webkit-transform-origin: 0.1rem -230%; -ms-transform-origin: 0.1rem -230%; transform-origin: 0.1rem -230%; -webkit-transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1); transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1); } .c7n-select-rendered-lg .c7n-select-label { font-size: 0.16rem; line-height: 0.4rem; } .c7n-select-rendered-sm .c7n-select-label { font-size: 0.12rem; line-height: 0.24rem; } .c7n-select-has-prefix .c7n-select-label-wrapper { left: 0; } .c7n-select-has-value .c7n-select-label-wrapper, .c7n-select-focused .c7n-select-label-wrapper { border-top-color: #fff; -webkit-transform: scaleX(0.8); -ms-transform: scaleX(0.8); transform: scaleX(0.8); } .c7n-select:-webkit-autofill + .c7n-select-label-wrapper { z-index: 1; border-top-color: #fff; -webkit-transform: scaleX(0.8); transform: scaleX(0.8); } .c7n-select-has-value .c7n-select-label, .c7n-select-focused .c7n-select-label { -webkit-transform: scaleY(0.8); -ms-transform: scaleY(0.8); transform: scaleY(0.8); } .c7n-select:-webkit-autofill + .c7n-select-label-wrapper .c7n-select-label { -webkit-transform: scaleY(0.8); transform: scaleY(0.8); } .c7n-select-focused .c7n-select-label { color: #3f51b5; } .has-error .c7n-select-label { color: #d50000; } .c7n-select-has-border.c7n-select::before { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: block; border: 0.01rem solid #d9d9d9; border-radius: 0.04rem; content: ' '; } .c7n-select-has-border.c7n-select:hover::before { border-color: #000000; } .c7n-select-has-border.c7n-select-focused.c7n-select::before, .has-error .c7n-select::before { border-width: 0.02rem; } .c7n-select-has-border.c7n-select-focused.c7n-select::before { border-color: #3f51b5; } .has-error .c7n-select-has-border.c7n-select::before { border-color: #d50000; } .c7n-select-has-border.c7n-select-disabled::before { border-color: #d9d9d9 !important; border-style: dashed; } .c7n-select-arrow { position: absolute !important; top: 0; right: 0; bottom: 0; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; margin: 0; cursor: pointer; -webkit-transition: opacity 0.15s ease; transition: opacity 0.15s ease; } .c7n-select-clear { position: absolute !important; top: 0; right: 0.2rem; bottom: 0; margin: auto; cursor: pointer; opacity: 1; -webkit-transition: opacity 0.15s ease; transition: opacity 0.15s ease; } .c7n-select:hover .c7n-select-clear { opacity: 1; } .c7n-select-multiple.c7n-select-open .c7n-select-selection-label { margin-top: 0 !important; color: #3f51b5; -webkit-transform: scale(0.75) translateY(-0.2rem) translateZ(0.00001rem); transform: scale(0.75) translateY(-0.2rem) translateZ(0.00001rem); -webkit-transition: color 100ms cubic-bezier(0.215, 0.61, 0.355, 1), background-color 300ms cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 300ms cubic-bezier(0.215, 0.61, 0.355, 1); transition: color 100ms cubic-bezier(0.215, 0.61, 0.355, 1), background-color 300ms cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 300ms cubic-bezier(0.215, 0.61, 0.355, 1); transition: transform 300ms cubic-bezier(0.215, 0.61, 0.355, 1), color 100ms cubic-bezier(0.215, 0.61, 0.355, 1), background-color 300ms cubic-bezier(0.215, 0.61, 0.355, 1); transition: transform 300ms cubic-bezier(0.215, 0.61, 0.355, 1), color 100ms cubic-bezier(0.215, 0.61, 0.355, 1), background-color 300ms cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 300ms cubic-bezier(0.215, 0.61, 0.355, 1); } .c7n-select.c7n-select-focused .c7n-select-selection-label { margin-top: 0 !important; color: #3f51b5; -webkit-transform: scale(0.75) translateY(-0.2rem) translateZ(0.00001rem); transform: scale(0.75) translateY(-0.2rem) translateZ(0.00001rem); -webkit-transition: color 100ms cubic-bezier(0.215, 0.61, 0.355, 1), background-color 300ms cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 300ms cubic-bezier(0.215, 0.61, 0.355, 1); transition: color 100ms cubic-bezier(0.215, 0.61, 0.355, 1), background-color 300ms cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 300ms cubic-bezier(0.215, 0.61, 0.355, 1); transition: transform 300ms cubic-bezier(0.215, 0.61, 0.355, 1), color 100ms cubic-bezier(0.215, 0.61, 0.355, 1), background-color 300ms cubic-bezier(0.215, 0.61, 0.355, 1); transition: transform 300ms cubic-bezier(0.215, 0.61, 0.355, 1), color 100ms cubic-bezier(0.215, 0.61, 0.355, 1), background-color 300ms cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 300ms cubic-bezier(0.215, 0.61, 0.355, 1); } .c7n-select.c7n-select-focused .c7n-select-selection__placeholder { display: inline-block; } .c7n-select.c7n-select-has-value .c7n-select-selection-label { margin-top: 0 !important; -webkit-transform: scale(0.75) translateY(-0.2rem) translateZ(0.00001rem); transform: scale(0.75) translateY(-0.2rem) translateZ(0.00001rem); } .c7n-select.c7n-select-has-value .c7n-select-selection__placeholder { display: none; } .c7n-select-selection { position: relative; display: block; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-sizing: content-box; box-sizing: content-box; width: 100%; min-width: 0.5rem; max-width: 100%; color: #000; letter-spacing: 0.01em; background-color: transparent; border: none; border-top-width: 0.0102rem; outline: none; cursor: pointer; -webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .c7n-select-selection--single { position: relative; cursor: pointer; } .c7n-select-selection__rendered { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; width: 100%; height: 0.36rem; padding-right: 0.24rem; padding-left: 0.1rem; line-height: 0.34rem; } .c7n-select-selection-selected-value { display: inline-block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; vertical-align: middle; } .c7n-select-selection-selected-value::after { display: inline-block; visibility: hidden; content: ''; } .c7n-select-selection-label { position: absolute; top: 0.15rem; left: 0; z-index: 1; width: 100%; margin-top: 0.02rem; color: inherit; -webkit-transform-origin: 0 0; -ms-transform-origin: 0 0; transform-origin: 0 0; -webkit-transition: color 400ms cubic-bezier(0.215, 0.61, 0.355, 1), background-color 400ms cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 400ms cubic-bezier(0.215, 0.61, 0.355, 1); transition: color 400ms cubic-bezier(0.215, 0.61, 0.355, 1), background-color 400ms cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 400ms cubic-bezier(0.215, 0.61, 0.355, 1); transition: transform 400ms cubic-bezier(0.215, 0.61, 0.355, 1), color 400ms cubic-bezier(0.215, 0.61, 0.355, 1), background-color 400ms cubic-bezier(0.215, 0.61, 0.355, 1); transition: transform 400ms cubic-bezier(0.215, 0.61, 0.355, 1), color 400ms cubic-bezier(0.215, 0.61, 0.355, 1), background-color 400ms cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 400ms cubic-bezier(0.215, 0.61, 0.355, 1); pointer-events: none; } .is-required .c7n-select-selection-label::after { display: inline-block; margin-left: 0.04rem; color: #d50000; font-size: 0.13rem; font-family: SimSun, sans-serif; line-height: 1; content: '*'; } .c7n-select-disabled { color: rgba(0, 0, 0, 0.54); } .c7n-select-disabled .c7n-select-selection { color: rgba(0, 0, 0, 0.54); cursor: not-allowed; } .c7n-select-disabled .c7n-select-selection:hover, .c7n-select-disabled .c7n-select-selection:focus, .c7n-select-disabled .c7n-select-selection:active { border-color: #e0e0e0; -webkit-box-shadow: none; box-shadow: none; } .c7n-select-disabled .c7n-select-selection-label, .c7n-select-disabled .c7n-select-selection__placeholder { color: rgba(0, 0, 0, 0.54); } .c7n-select-disabled .c7n-select-selection__choice__remove { display: none; color: rgba(0, 0, 0, 0.54); cursor: default; } .c7n-select-disabled .c7n-select-selection__choice__remove:hover { color: rgba(0, 0, 0, 0.54); } .c7n-select-disabled .c7n-select-clear { display: none; visibility: hidden; pointer-events: none; } .c7n-select-selection--multiple .c7n-select-disabled.c7n-select-tags-selection__choice, .c7n-select-selection--multiple .c7n-select-disabled.c7n-select-multiple-selection__choice { color: #ffffff; background: rgba(0, 0, 0, 0.26); } .c7n-select-lg { font-size: 0.16rem; } .c7n-select-lg .c7n-select-selection__rendered { height: 0.4rem; line-height: 0.38rem; } .c7n-select-lg i.icon { font-size: 0.24rem; } .c7n-select-lg.c7n-select-tags .c7n-select-selection__rendered, .c7n-select-lg.c7n-select-multiple .c7n-select-selection__rendered { min-height: 0.4rem; } .c7n-select-lg.c7n-select-tags .c7n-select-selection--multiple > ul > li, .c7n-select-lg.c7n-select-multiple .c7n-select-selection--multiple > ul > li, .c7n-select-lg.c7n-select-tags .c7n-select-selection--multiple .c7n-select-selection__rendered > ul > li, .c7n-select-lg.c7n-select-multiple .c7n-select-selection--multiple .c7n-select-selection__rendered > ul > li, .c7n-select-lg.c7n-select-tags .c7n-select-selection--multiple .c7n-select-selection__choice__remove > i.icon, .c7n-select-lg.c7n-select-multiple .c7n-select-selection--multiple .c7n-select-selection__choice__remove > i.icon { height: 0.3rem; line-height: 0.3rem; } .c7n-select-sm .c7n-select-selection__rendered { height: 0.24rem; line-height: 0.22rem; } .c7n-select-sm i.icon { font-size: 0.16rem; } .c7n-select-sm.c7n-select-tags .c7n-select-selection__rendered, .c7n-select-sm.c7n-select-multiple .c7n-select-selection__rendered { min-height: 0.24rem; } .c7n-select-sm.c7n-select-tags .c7n-select-selection--multiple > ul > li, .c7n-select-sm.c7n-select-multiple .c7n-select-selection--multiple > ul > li, .c7n-select-sm.c7n-select-tags .c7n-select-selection--multiple .c7n-select-selection__rendered > ul > li, .c7n-select-sm.c7n-select-multiple .c7n-select-selection--multiple .c7n-select-selection__rendered > ul > li, .c7n-select-sm.c7n-select-tags .c7n-select-selection--multiple .c7n-select-selection__choice__remove > i.icon, .c7n-select-sm.c7n-select-multiple .c7n-select-selection--multiple .c7n-select-selection__choice__remove > i.icon { height: 0.14rem; line-height: 0.14rem; } .c7n-select-search__field__wrap { position: relative; display: inline-block; } .c7n-select-selection__placeholder, .c7n-select-search__field__placeholder { position: absolute; left: 0.12rem; z-index: 1; width: 100%; margin-top: 0.02rem; color: #bfbfbf; pointer-events: none; } .c7n-select-search__field__placeholder { left: 0.12rem; } .c7n-select-search__field__mirror { position: absolute; top: 0; left: -99.99rem; white-space: pre; pointer-events: none; } .c7n-select-search--inline { display: inline-block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .c7n-select-search--inline .c7n-select-search__field__wrap { width: 100%; height: 100%; } .c7n-select-search--inline .c7n-select-search__field { width: 100%; height: 100%; font-size: 100%; background: transparent; border-width: 0; border-radius: 0.02rem; outline: 0; } .c7n-select-search--inline > i { float: right; } .c7n-select-tags .c7n-select-selection--multiple, .c7n-select-multiple .c7n-select-selection--multiple { cursor: text; zoom: 1; } .c7n-select-tags .c7n-select-selection--multiple::before, .c7n-select-multiple .c7n-select-selection--multiple::before, .c7n-select-tags .c7n-select-selection--multiple::after, .c7n-select-multiple .c7n-select-selection--multiple::after { display: table; white-space: initial; content: ' '; } .c7n-select-tags .c7n-select-selection--multiple::after, .c7n-select-multiple .c7n-select-selection--multiple::after { clear: both; height: 0; font-size: 0; visibility: hidden; } .c7n-select-tags .c7n-select-selection--multiple .c7n-select-search--inline, .c7n-select-multiple .c7n-select-selection--multiple .c7n-select-search--inline { position: static; float: left; width: auto; max-width: 100%; padding: 0; } .c7n-select-tags .c7n-select-selection--multiple .c7n-select-search--inline .c7n-select-search__field, .c7n-select-multiple .c7n-select-selection--multiple .c7n-select-search--inline .c7n-select-search__field { width: 0.75em; max-width: 100%; } .c7n-select-tags .c7n-select-selection--multiple .c7n-select-selection-label, .c7n-select-multiple .c7n-select-selection--multiple .c7n-select-selection-label { margin-top: 0.05rem; } .c7n-select-tags .c7n-select-selection--multiple .c7n-select-selection__rendered, .c7n-select-multiple .c7n-select-selection--multiple .c7n-select-selection__rendered { height: auto; min-height: 0.36rem; padding: 0.08rem 0.04rem 0 0.04rem; } .c7n-select-tags .c7n-select-selection--multiple .c7n-select-selection__placeholder, .c7n-select-multiple .c7n-select-selection--multiple .c7n-select-selection__placeholder, .c7n-select-tags .c7n-select-selection--multiple .c7n-select-search__field__placeholder, .c7n-select-multiple .c7n-select-selection--multiple .c7n-select-search__field__placeholder { margin-top: 0; line-height: 1.5; } .c7n-select-tags .c7n-select-selection--multiple > ul > li, .c7n-select-multiple .c7n-select-selection--multiple > ul > li, .c7n-select-tags .c7n-select-selection--multiple .c7n-select-selection__rendered > ul > li, .c7n-select-multiple .c7n-select-selection--multiple .c7n-select-selection__rendered > ul > li { -webkit-box-sizing: content-box; box-sizing: content-box; height: 0.2rem; line-height: 0.2rem; } .c7n-select-tags .c7n-select-selection--multiple .c7n-select-selection__choice, .c7n-select-multiple .c7n-select-selection--multiple .c7n-select-selection__choice { position: relative; float: left; max-width: 99%; margin: 0 0.08rem 0.03rem 0; overflow: hidden; border-radius: 0.1rem; cursor: default; -webkit-transition: padding 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); transition: padding 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); } .c7n-select-tags .c7n-select-selection--multiple .c7n-select-selection__choice__disabled, .c7n-select-multiple .c7n-select-selection--multiple .c7n-select-selection__choice__disabled { padding: 0 0.1rem; } .c7n-select-tags .c7n-select-selection--multiple .c7n-select-selection__choice__content, .c7n-select-multiple .c7n-select-selection--multiple .c7n-select-selection__choice__content { float: left; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; -webkit-transition: margin 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); transition: margin 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); } .c7n-select-tags .c7n-select-selection--multiple .c7n-select-selection__choice__content::after, .c7n-select-multiple .c7n-select-selection--multiple .c7n-select-selection__choice__content::after { content: none; } .c7n-select-tags .c7n-select-selection--multiple .c7n-select-selection__choice__remove, .c7n-select-multiple .c7n-select-selection--multiple .c7n-select-selection__choice__remove { margin-left: 0.08rem; color: #ffffff; cursor: pointer; } .c7n-select-tags .c7n-select-selection--multiple .c7n-select-selection__choice__remove > i.icon, .c7n-select-multiple .c7n-select-selection--multiple .c7n-select-selection__choice__remove > i.icon { float: right; height: 0.2rem; color: rgba(255, 255, 255, 0.72); font-size: 0.16rem; line-height: 0.2rem; } .c7n-select-multiple .c7n-select-selection--multiple .c7n-select-selection__choice { padding: 0 0.02rem 0 0.08rem; background-color: rgba(0, 0, 0, 0.08); } .c7n-select-multiple .c7n-select-selection--multiple .c7n-select-selection__choice__remove > i.icon { color: rgba(0, 0, 0, 0.54); } .c7n-select-multiple .c7n-select-selection--multiple .c7n-select-selection__choice.c7n-select-selection__max { background-color: rgba(0, 0, 0, 0); } .c7n-select-multiple.c7n-select-allow-clear .c7n-select-selection__rendered { padding-right: 0.44rem; } .c7n-select-multiple.c7n-select-allow-clear .c7n-select-selection__rendered .c7n-select-clear { right: 0.2rem; } .c7n-select-tags .c7n-select-selection--multiple .c7n-select-selection__choice { padding: 0 0.02rem 0 0.08rem; color: #ffffff; background-color: #3f51b5; } .c7n-select-tags.c7n-select-allow-clear .c7n-select-selection__rendered { padding-right: 0.24rem; } .c7n-select-tags.c7n-select-allow-clear .c7n-select-selection__rendered .c7n-select-clear { right: 0; } .c7n-select-tags .c7n-select-search__field { display: inline-block; } .c7n-select-open .c7n-select-arrow::before { -webkit-transform: rotate(180deg); -ms-transform: rotate(180deg); transform: rotate(180deg); } .c7n-select-open .c7n-select-selection { border-color: #6374c2; outline: 0; } .c7n-select-combobox .c7n-select-arrow { display: none; } .c7n-select-combobox .c7n-select-clear { right: 0; } .c7n-select-combobox.c7n-select-allow-clear .c7n-select-selection__rendered { padding-right: 0.24rem; } .c7n-select-combobox .c7n-select-search--inline { width: 100%; overflow: inherit; text-overflow: inherit; } .c7n-select-combobox .c7n-select-search__field__wrap { width: 100%; height: 100%; } .c7n-select-combobox .c7n-select-search__field { position: relative; z-index: 1; display: inline-block; width: 100%; height: 100%; -webkit-box-shadow: none; box-shadow: none; -webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); } .c7n-select-combobox .c7n-select-selection__placeholder, .c7n-select-combobox .c7n-select-search__field__placeholder { margin-top: 0; } .c7n-select-dropdown { margin: 0; padding: 0; list-style: none; position: absolute; top: -99.99rem; left: -99.99rem; z-index: 1050; -webkit-box-sizing: border-box; box-sizing: border-box; font-size: 0.13rem; background-color: #fff; border-radius: 0.02rem; outline: none; -webkit-box-shadow: 0 0.05rem 0.05rem -0.03rem rgba(0, 0, 0, 0.2), 0 0.08rem 0.1rem 0.01rem rgba(0, 0, 0, 0.14), 0 0.03rem 0.14rem 0.02rem rgba(0, 0, 0, 0.12); box-shadow: 0 0.05rem 0.05rem -0.03rem rgba(0, 0, 0, 0.2), 0 0.08rem 0.1rem 0.01rem rgba(0, 0, 0, 0.14), 0 0.03rem 0.14rem 0.02rem rgba(0, 0, 0, 0.12); } .c7n-select-dropdown.slide-up-enter.slide-up-enter-active.c7n-select-dropdown-placement-bottomLeft, .c7n-select-dropdown.slide-up-appear.slide-up-appear-active.c7n-select-dropdown-placement-bottomLeft { -webkit-animation-name: antSlideUpIn; animation-name: antSlideUpIn; } .c7n-select-dropdown.slide-up-enter.slide-up-enter-active.c7n-select-dropdown-placement-topLeft, .c7n-select-dropdown.slide-up-appear.slide-up-appear-active.c7n-select-dropdown-placement-topLeft { -webkit-animation-name: antSlideDownIn; animation-name: antSlideDownIn; } .c7n-select-dropdown.slide-up-leave.slide-up-leave-active.c7n-select-dropdown-placement-bottomLeft { -webkit-animation-name: antSlideUpOut; animation-name: antSlideUpOut; } .c7n-select-dropdown.slide-up-leave.slide-up-leave-active.c7n-select-dropdown-placement-topLeft { -webkit-animation-name: antSlideDownOut; animation-name: antSlideDownOut; } .c7n-select-dropdown-hidden { display: none; } .c7n-select-dropdown-filter { padding: 0.23rem 0.16rem 0.08rem 0.16rem; background-color: #fafafa; border-bottom: 0.01rem solid #e0e0e0; } .c7n-select-dropdown-filter .c7n-input-suffix { height: 0.24rem; } .c7n-select-dropdown-filter i.icon { color: rgba(0, 0, 0, 0.66); } .c7n-select-dropdown-filter-input { display: inline-block; width: 100%; } .c7n-select-dropdown-select-all-none { padding: 0.08rem 0.16rem; font-size: 0.12rem; border-bottom: 0.01rem solid #e0e0e0; } .c7n-select-dropdown-select-all-none span { color: #3f51b5; cursor: pointer; } .c7n-select-dropdown-select-all-none span + span { margin-left: 0.2rem; } .c7n-select-dropdown-footer { padding: 0.16rem; background-color: #fafafa; border-top: 0.01rem solid #e0e0e0; } .c7n-select-dropdown-menu { max-height: 2.5rem; margin-bottom: 0; padding: 0.08rem 0; overflow: auto; list-style: none; outline: none; } .c7n-select-dropdown-menu-item-group { padding-top: 0.04rem; padding-bottom: 0.04rem; } .c7n-select-dropdown-menu-item-group:not(:last-child) { border-bottom: 0.01rem solid #e0e0e0; } .c7n-select-dropdown-menu-item-group-list { margin: 0; padding: 0; } .c7n-select-dropdown-menu-item-group-list > .c7n-select-dropdown-menu-item { padding-left: 0.2rem; } .c7n-select-dropdown-menu-item-group-no-title > .c7n-select-dropdown-menu-item { padding-left: 0.12rem; } .c7n-select-dropdown-menu-item-group-title { height: 0.32rem; padding: 0 0.12rem; color: rgba(0, 0, 0, 0.45); font-size: 0.12rem; line-height: 0.32rem; } .c7n-select-dropdown-menu-item { position: relative; display: block; height: auto; padding: 0.04rem 0.12rem; overflow: hidden; color: #000000; font-weight: normal; line-height: 0.2rem; letter-spacing: 0.01em; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; -webkit-transition: background 0.3s ease; transition: background 0.3s ease; } .c7n-select-dropdown-menu-item:hover { background-color: rgba(0, 0, 0, 0.04); } .c7n-select-dropdown-menu-item:first-child { border-radius: 0.02rem 0.02rem 0 0; } .c7n-select-dropdown-menu-item:last-child { border-radius: 0 0 0.02rem 0.02rem; } .c7n-select-dropdown-menu-item-disabled { color: rgba(0, 0, 0, 0.54); cursor: not-allowed; } .c7n-select-dropdown-menu-item-disabled:hover { color: rgba(0, 0, 0, 0.54); background-color: #fff; cursor: not-allowed; } .c7n-select-dropdown-menu-item-selected { background-color: rgba(0, 0, 0, 0.04); } .c7n-select-dropdown-menu-item-active { background-color: rgba(0, 0, 0, 0.04); } .c7n-select-dropdown-menu-item-divider { height: 0.01rem; margin: 0.01rem 0; overflow: hidden; line-height: 0; background-color: #e8e8e8; } .c7n-select-dropdown.c7n-select-dropdown--multiple .c7n-select-dropdown-menu-item .c7n-checkbox-wrapper { margin-right: 0.08rem; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .c7n-select-dropdown.c7n-select-dropdown--multiple .c7n-select-dropdown-menu-item:hover { background-color: rgba(0, 0, 0, 0.04); } .c7n-select-dropdown.c7n-select-dropdown--multiple .c7n-select-dropdown-menu-item-active, .c7n-select-dropdown.c7n-select-dropdown--multiple .c7n-select-dropdown-menu-item:active { background-color: rgba(0, 0, 0, 0.04); } .c7n-select-dropdown.c7n-select-dropdown--multiple .c7n-select-dropdown-menu-item:focus { background-color: rgba(0, 0, 0, 0.04); } .c7n-select-dropdown.c7n-select-dropdown--multiple .c7n-select-dropdown-menu-item-selected { background-color: transparent; } .c7n-select-dropdown-container-open .c7n-select-dropdown, .c7n-select-dropdown-open .c7n-select-dropdown { display: block; }