wetrade-design
Version:
一款多语言支持Vue3的UI框架
1,143 lines (1,142 loc) • 33.8 kB
CSS
/* 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 */
/** gray-sp */
/** blue-sp */
/** green-sp */
/** red-sp */
/** orange-sp */
/** 品牌橙 */
/** 日落黄 */
/** 柠檬黄 */
/** 新生绿 */
/** 绿色 */
/** 碧涛青 */
/** 海蔚蓝 */
/** 品牌蓝色 */
/** 宝石蓝 */
/** 星空紫 */
/** 罗兰紫 */
/** 青春紫 */
/** 品红 */
/** 红色 */
/** 灰色 */
/** 保留ant色板 */
/** 绿色 */
/** 品牌蓝 */
.wd-select-single .wd-select-selector {
display: flex;
}
.wd-select-single .wd-select-selector .wd-select-selection-search {
position: absolute;
top: 0;
right: 11px;
bottom: 0;
left: 11px;
}
.wd-select-single .wd-select-selector .wd-select-selection-search-input {
width: 100%;
}
.wd-select-single .wd-select-selector .wd-select-selection-item,
.wd-select-single .wd-select-selector .wd-select-selection-placeholder {
padding: 0;
line-height: 30px;
transition: all 0.3s;
}
@supports (-moz-appearance: meterbar) {
.wd-select-single .wd-select-selector .wd-select-selection-item,
.wd-select-single .wd-select-selector .wd-select-selection-placeholder {
line-height: 30px;
}
}
.wd-select-single .wd-select-selector .wd-select-selection-item {
position: relative;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
.wd-select-single .wd-select-selector .wd-select-selection-placeholder {
transition: none;
pointer-events: none;
}
.wd-select-single .wd-select-selector::after,
.wd-select-single .wd-select-selector .wd-select-selection-item::after,
.wd-select-single .wd-select-selector .wd-select-selection-placeholder::after {
display: inline-block;
width: 0;
visibility: hidden;
content: '\a0';
}
.wd-select-single.wd-select-show-prefix .wd-select-selection-search {
left: 29px;
}
.wd-select-single.wd-select-show-prefix .wd-select-selection-item,
.wd-select-single.wd-select-show-prefix .wd-select-selection-placeholder {
padding-left: 18px;
}
.wd-select-single.wd-select-show-arrow .wd-select-selection-search {
right: 37px;
}
.wd-select-single.wd-select-show-arrow .wd-select-selection-item,
.wd-select-single.wd-select-show-arrow .wd-select-selection-placeholder {
padding-right: 18px;
}
.wd-select-single.wd-select-open .wd-select-selection-item {
color: #818799;
}
.wd-select-single:not(.wd-select-customize-input) .wd-select-selector {
width: 100%;
height: 32px;
padding: 0 11px;
}
.wd-select-single:not(.wd-select-customize-input) .wd-select-selector .wd-select-selection-search-input {
height: 30px;
}
.wd-select-single:not(.wd-select-customize-input) .wd-select-selector::after {
line-height: 30px;
}
.wd-select-single.wd-select-customize-input .wd-select-selector::after {
display: none;
}
.wd-select-single.wd-select-customize-input .wd-select-selector .wd-select-selection-search {
position: static;
width: 100%;
}
.wd-select-single.wd-select-customize-input .wd-select-selector .wd-select-selection-placeholder {
position: absolute;
right: 0;
left: 0;
padding: 0 11px;
}
.wd-select-single.wd-select-customize-input .wd-select-selector .wd-select-selection-placeholder::after {
display: none;
}
.wd-select-single.wd-select-lg:not(.wd-select-customize-input) .wd-select-selector {
height: 40px;
border-radius: 6px;
}
.wd-select-single.wd-select-lg:not(.wd-select-customize-input) .wd-select-selector::after,
.wd-select-single.wd-select-lg:not(.wd-select-customize-input) .wd-select-selector .wd-select-selection-item,
.wd-select-single.wd-select-lg:not(.wd-select-customize-input) .wd-select-selector .wd-select-selection-placeholder {
line-height: 38px;
}
.wd-select-single.wd-select-lg:not(.wd-select-customize-input):not(.wd-select-customize-input) .wd-select-selection-search-input {
height: 38px;
}
.wd-select-single.wd-select-sm:not(.wd-select-customize-input) .wd-select-selector {
height: 28px;
border-radius: 4px;
}
.wd-select-single.wd-select-sm:not(.wd-select-customize-input) .wd-select-selector::after,
.wd-select-single.wd-select-sm:not(.wd-select-customize-input) .wd-select-selector .wd-select-selection-item,
.wd-select-single.wd-select-sm:not(.wd-select-customize-input) .wd-select-selector .wd-select-selection-placeholder {
line-height: 26px;
}
.wd-select-single.wd-select-sm:not(.wd-select-customize-input):not(.wd-select-customize-input) .wd-select-selection-search-input {
height: 26px;
}
.wd-select-single.wd-select-bg:not(.wd-select-customize-input) .wd-select-selector {
height: 36px;
border-radius: 6px;
}
.wd-select-single.wd-select-bg:not(.wd-select-customize-input) .wd-select-selector::after,
.wd-select-single.wd-select-bg:not(.wd-select-customize-input) .wd-select-selector .wd-select-selection-item,
.wd-select-single.wd-select-bg:not(.wd-select-customize-input) .wd-select-selector .wd-select-selection-placeholder {
line-height: 34px;
}
.wd-select-single.wd-select-bg:not(.wd-select-customize-input):not(.wd-select-customize-input) .wd-select-selection-search-input {
height: 34px;
}
.wd-select-single.wd-select-xs:not(.wd-select-customize-input) .wd-select-selector {
height: 24px;
border-radius: 4px;
}
.wd-select-single.wd-select-xs:not(.wd-select-customize-input) .wd-select-selector::after,
.wd-select-single.wd-select-xs:not(.wd-select-customize-input) .wd-select-selector .wd-select-selection-item,
.wd-select-single.wd-select-xs:not(.wd-select-customize-input) .wd-select-selector .wd-select-selection-placeholder {
line-height: 22px;
}
.wd-select-single.wd-select-xs:not(.wd-select-customize-input):not(.wd-select-customize-input) .wd-select-selection-search-input {
height: 22px;
}
.wd-select-single.wd-select-sm:not(.wd-select-customize-input) .wd-select-selection-search {
right: 11px;
left: 11px;
}
.wd-select-single.wd-select-sm:not(.wd-select-customize-input) .wd-select-selector {
padding: 0 11px;
}
.wd-select-single.wd-select-sm:not(.wd-select-customize-input).wd-select-show-prefix .wd-select-selection-search {
left: 32px;
}
.wd-select-single.wd-select-sm:not(.wd-select-customize-input).wd-select-show-prefix .wd-select-selection-item,
.wd-select-single.wd-select-sm:not(.wd-select-customize-input).wd-select-show-prefix .wd-select-selection-placeholder {
padding-left: 21px;
}
.wd-select-single.wd-select-sm:not(.wd-select-customize-input).wd-select-show-arrow .wd-select-selection-search {
right: 32px;
}
.wd-select-single.wd-select-sm:not(.wd-select-customize-input).wd-select-show-arrow .wd-select-selection-item,
.wd-select-single.wd-select-sm:not(.wd-select-customize-input).wd-select-show-arrow .wd-select-selection-placeholder {
padding-right: 21px;
}
.wd-select-single.wd-select-lg:not(.wd-select-customize-input) .wd-select-selector {
padding: 0 15px;
}
.wd-select-single.wd-select-bg:not(.wd-select-customize-input) .wd-select-selector {
padding: 0 15px;
}
.wd-select-single.wd-select-sm:not(.wd-select-customize-input) .wd-select-selector {
padding: 0 11px;
}
.wd-select-single.wd-select-xs:not(.wd-select-customize-input) .wd-select-selector {
padding: 0 7px;
}
.wd-select-xs.wd-select-single .wd-select-selector .wd-select-selection-search {
left: 7px;
}
/**
* Do not merge `height` & `line-height` under style with `selection` & `search`,
* since chrome may update to redesign with its align logic.
*/
.wd-select-selection-overflow {
position: relative;
display: flex;
flex: auto;
flex-wrap: wrap;
max-width: 100%;
}
.wd-select-selection-overflow-item {
flex: none;
align-self: center;
max-width: 100%;
}
.wd-select-multiple .wd-select-selector {
display: flex;
flex-wrap: wrap;
align-items: center;
padding: 1px 3px;
}
.wd-select-show-search.wd-select-multiple .wd-select-selector {
cursor: text;
}
.wd-select-disabled.wd-select-multiple .wd-select-selector {
background: #FBFCFD;
cursor: not-allowed;
}
.wd-select-multiple .wd-select-selector::after {
display: inline-block;
width: 0;
margin: 3px 0;
line-height: 22px;
content: '\a0';
}
.wd-select-multiple.wd-select-show-arrow .wd-select-selector,
.wd-select-multiple.wd-select-allow-clear .wd-select-selector {
padding-right: 24px;
}
.wd-select-multiple .wd-select-selection-item {
position: relative;
display: flex;
flex: none;
box-sizing: border-box;
max-width: 100%;
height: 24px;
margin-top: 2px;
margin-bottom: 2px;
line-height: 24px;
background: #F8F9FB;
border-radius: 2px;
cursor: default;
transition: font-size 0.3s, line-height 0.3s, height 0.3s;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
-webkit-margin-end: 4px;
margin-inline-end: 4px;
-webkit-padding-start: 8px;
padding-inline-start: 8px;
-webkit-padding-end: 8px;
padding-inline-end: 8px;
}
.wd-select-disabled.wd-select-multiple .wd-select-selection-item {
color: #C7CBD6;
border-color: #EBEDF2;
cursor: not-allowed;
background-color: #F5F6F8;
}
.wd-select-disabled.wd-select-multiple .wd-select-selection-item:hover {
background-color: #F5F6F8;
}
.wd-select-multiple .wd-select-selection-item-content {
display: inline-block;
overflow: hidden;
white-space: pre;
text-overflow: ellipsis;
}
.wd-select-multiple .wd-select-selection-item-remove {
color: inherit;
font-style: normal;
line-height: 0;
text-align: center;
text-transform: none;
text-rendering: optimizelegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
display: inline-block;
color: #575E73;
font-weight: bold;
font-size: 10px;
line-height: inherit;
cursor: pointer;
}
.wd-select-multiple .wd-select-selection-item-remove > * {
line-height: 1;
}
.wd-select-multiple .wd-select-selection-item-remove svg {
display: inline-block;
}
.wd-select-multiple .wd-select-selection-item-remove::before {
display: none;
}
.wd-select-multiple .wd-select-selection-item-remove .wd-select-multiple .wd-select-selection-item-remove-icon {
display: block;
}
.wd-select-multiple .wd-select-selection-item-remove > .wdicon {
line-height: 22px;
vertical-align: 0;
color: #818799;
font-size: 12px;
margin-left: 4px;
}
.wd-select-multiple .wd-select-selection-item-remove:hover {
color: rgba(0, 0, 0, 0.75);
}
.wd-select-multiple .wd-select-selection-item:hover {
background-color: #ECF3FD;
color: #0F3CB7;
border-color: transparent;
}
.wd-select-multiple .wd-select-selection-item:hover .wd-select-selection-item-remove {
display: block;
}
.wd-select-multiple .wd-select-selection-item:hover .wdicon {
color: #0F3CB7;
}
.wd-select-multiple .wd-select-selection-overflow-item + .wd-select-selection-overflow-item .wd-select-selection-search {
-webkit-margin-start: 0;
margin-inline-start: 0;
}
.wd-select-multiple .wd-select-selection-search {
position: relative;
max-width: 100%;
-webkit-margin-start: 5px;
margin-inline-start: 5px;
}
.wd-select-multiple .wd-select-selection-search-input,
.wd-select-multiple .wd-select-selection-search-mirror {
height: 24px;
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: 24px;
transition: all 0.3s;
}
.wd-select-multiple .wd-select-selection-search-input {
width: 100%;
min-width: 0;
}
.wd-select-multiple .wd-select-selection-search-mirror {
position: absolute;
top: 0;
left: 0;
z-index: 999;
white-space: pre;
visibility: hidden;
}
.wd-select-multiple .wd-select-selection-placeholder {
position: absolute;
top: 50%;
right: 11px;
left: 8px;
transform: translateY(-50%);
transition: all 0.3s;
}
.wd-select-multiple.wd-select-focused .wd-select-selector .wd-select-selection-overflow-item .wd-select-selection-item {
background-color: #ECF3FD;
color: #0F3CB7;
border-color: transparent;
}
.wd-select-multiple.wd-select-focused .wd-select-selector .wd-select-selection-overflow-item .wd-select-selection-item .wdicon {
color: #0F3CB7;
}
.wd-select-multiple.wd-select-condition {
line-height: 20px;
}
.wd-select-multiple.wd-select-condition .wd-select-selector {
width: 100%;
}
.wd-select-multiple.wd-select-condition .wd-select-selector .wd-select-selection-item {
background-color: #D4D9E3;
border: 1px solid #EBEDF2;
border-radius: 3px;
}
.wd-select-multiple.wd-select-condition .wd-select-selector .wd-select-selection-item:hover .wdicon {
color: #2469F2;
}
.wd-select-multiple.wd-select-condition .wd-select-selector .wd-select-selection-item-content {
max-width: 90px;
white-space: nowrap;
}
.wd-select-multiple.wd-select-condition .wd-select-selector::after {
line-height: 24px;
}
.wd-select-multiple.wd-select-condition .wd-select-selection-placeholder {
left: 0;
}
.wd-select-multiple.wd-select-condition.wd-select-lg .wd-select-selection-item {
line-height: 30px;
}
.wd-select-multiple.wd-select-condition.wd-select-lg .wd-select-selection-item .wdicon {
line-height: 30px;
}
.wd-select-multiple.wd-select-condition.wd-select-lg .wd-select-selector::after {
line-height: 32px;
}
.wd-select-multiple.wd-select-condition.wd-select-bg .wd-select-selection-item {
line-height: 26px;
}
.wd-select-multiple.wd-select-condition.wd-select-bg .wd-select-selection-item .wdicon {
line-height: 26px;
}
.wd-select-multiple.wd-select-condition.wd-select-bg .wd-select-selector::after {
line-height: 28px;
}
.wd-select-multiple.wd-select-condition.wd-select-sm .wd-select-selection-item {
line-height: 18px;
}
.wd-select-multiple.wd-select-condition.wd-select-sm .wd-select-selection-item .wdicon {
line-height: 18px;
}
.wd-select-multiple.wd-select-condition.wd-select-sm .wd-select-selector::after {
line-height: 20px;
}
.wd-select-multiple.wd-select-condition.wd-select-xs .wd-select-selection-item {
line-height: 16px;
}
.wd-select-multiple.wd-select-condition.wd-select-xs .wd-select-selection-item .wdicon {
line-height: 16px;
}
.wd-select-multiple.wd-select-condition.wd-select-xs .wd-select-selector::after {
line-height: 16px;
}
.wd-select-multiple.wd-select-lg .wd-select-selector::after {
line-height: 30px;
}
.wd-select-multiple.wd-select-lg .wd-select-selection-item {
height: 28px;
line-height: 26px;
}
.wd-select-multiple.wd-select-lg .wd-select-selection-search {
height: 28px;
line-height: 28px;
}
.wd-select-multiple.wd-select-lg .wd-select-selection-search-input,
.wd-select-multiple.wd-select-lg .wd-select-selection-search-mirror {
height: 28px;
line-height: 26px;
}
.wd-select-multiple.wd-select-bg .wd-select-selector::after {
line-height: 26px;
}
.wd-select-multiple.wd-select-bg .wd-select-selection-item {
height: 24px;
line-height: 22px;
}
.wd-select-multiple.wd-select-bg .wd-select-selection-search {
height: 24px;
line-height: 24px;
}
.wd-select-multiple.wd-select-bg .wd-select-selection-search-input,
.wd-select-multiple.wd-select-bg .wd-select-selection-search-mirror {
height: 24px;
line-height: 22px;
}
.wd-select-multiple.wd-select-sm .wd-select-selector::after {
line-height: 18px;
}
.wd-select-multiple.wd-select-sm .wd-select-selection-item {
height: 16px;
line-height: 14px;
}
.wd-select-multiple.wd-select-sm .wd-select-selection-search {
height: 16px;
line-height: 16px;
}
.wd-select-multiple.wd-select-sm .wd-select-selection-search-input,
.wd-select-multiple.wd-select-sm .wd-select-selection-search-mirror {
height: 16px;
line-height: 14px;
}
.wd-select-multiple.wd-select-xs .wd-select-selector::after {
line-height: 14px;
}
.wd-select-multiple.wd-select-xs .wd-select-selection-item {
height: 12px;
line-height: 10px;
}
.wd-select-multiple.wd-select-xs .wd-select-selection-search {
height: 12px;
line-height: 12px;
}
.wd-select-multiple.wd-select-xs .wd-select-selection-search-input,
.wd-select-multiple.wd-select-xs .wd-select-selection-search-mirror {
height: 12px;
line-height: 10px;
}
.wd-select-multiple.wd-select-sm .wd-select-selection-placeholder {
left: 11px;
}
.wd-select-multiple.wd-select-sm .wd-select-selection-search {
-webkit-margin-start: 3px;
margin-inline-start: 3px;
}
.wd-select-multiple.wd-select-sm .wd-select-selection-item {
height: 20px;
line-height: 20px;
border-radius: 2px;
}
.wd-select-multiple.wd-select-sm .wd-select-selection-item .wdicon {
line-height: 20px;
}
.wd-select-multiple.wd-select-lg .wd-select-selection-item {
height: 32px;
line-height: 32px;
border-radius: 3px;
}
.wd-select-multiple.wd-select-lg .wd-select-selection-item .wdicon {
line-height: 32px;
}
.wd-select-multiple.wd-select-bg .wd-select-selection-item {
height: 28px;
line-height: 28px;
border-radius: 3px;
}
.wd-select-multiple.wd-select-bg .wd-select-selection-item .wdicon {
line-height: 28px;
}
.wd-select-multiple.wd-select-xs .wd-select-selector::after {
line-height: 14px;
}
.wd-select-multiple.wd-select-xs .wd-select-selection-item {
height: 18px;
line-height: 18px;
border-radius: 2px;
margin-top: 1px;
margin-bottom: 1px;
}
.wd-select-multiple.wd-select-xs .wd-select-selection-item .wdicon {
line-height: 18px;
}
.wd-select-disabled .wd-select-multiple .wd-select-selection-item {
background-color: #F5F6F8;
}
.wd-select-disabled .wd-select-multiple .wd-select-selection-item:hover {
background-color: transparent;
}
.wd-select-disabled .wd-select-selection-item-remove {
display: none;
}
/* Reset search input style */
.wd-select {
box-sizing: border-box;
margin: 0;
padding: 0;
color: #1E1E29;
font-size: 14px;
font-variant: tabular-nums;
line-height: 18px;
list-style: none;
font-feature-settings: 'tnum';
font-size: 12px;
position: relative;
display: inline-block;
cursor: pointer;
}
.wd-select:not(.wd-select-customize-input) .wd-select-selector {
position: relative;
background-color: transparent;
border: 1px solid #EBEDF2;
border-radius: 4px;
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.wd-select:not(.wd-select-customize-input) .wd-select-selector input {
cursor: pointer;
}
.wd-select-show-search.wd-select:not(.wd-select-customize-input) .wd-select-selector {
cursor: text;
}
.wd-select-show-search.wd-select:not(.wd-select-customize-input) .wd-select-selector input {
cursor: auto;
}
.wd-select-open:not(.wd-select-disabled).wd-select:not(.wd-select-customize-input) .wd-select-selector,
.wd-select-focused:not(.wd-select-disabled).wd-select:not(.wd-select-customize-input) .wd-select-selector {
border-right-width: 1px ;
outline: 0;
background-color: transparent;
border-color: #2469F2;
}
.wd-select-disabled.wd-select:not(.wd-select-customize-input) .wd-select-selector {
color: #C7CBD6 ;
background: #fff;
cursor: not-allowed;
}
.wd-select-multiple.wd-select-disabled.wd-select:not(.wd-select-customize-input) .wd-select-selector {
background: #FBFCFD;
}
.wd-select-disabled.wd-select:not(.wd-select-customize-input) .wd-select-selector input {
cursor: not-allowed;
}
.wd-select:not(.wd-select-customize-input) .wd-select-selector .wd-select-selection-search-input {
margin: 0;
padding: 0;
background: transparent;
border: none;
outline: none;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.wd-select:not(.wd-select-customize-input) .wd-select-selector .wd-select-selection-search-input::-webkit-search-cancel-button {
display: none;
/* stylelint-disable-next-line property-no-vendor-prefix */
-webkit-appearance: none;
}
.wd-select:not(.wd-select-disabled):not(.wd-select-borderless):not(.wd-select-condition):hover .wd-select-selector {
border-color: #4f90ff;
border-right-width: 1px ;
}
.wd-select-allow-clear:not(.wd-select-disabled).wd-select-fill:hover .wd-select-arrow {
opacity: 0;
}
.wd-select-condition {
width: 260px;
display: flex;
align-items: center;
background-color: #FBFCFD;
border-radius: 4px;
}
.wd-select-condition .wd-select-selector {
background-color: #FBFCFD;
}
.wd-select-condition:not(.wd-select-customize-input) .wd-select-selector {
border-color: transparent;
padding: 0 12px;
font-size: 12px;
}
.wd-select-condition.wd-select-condition:not(.wd-select-customize-input):not(.wd-select-focused):not( .wd-select-disabled):hover .wd-select-selector {
background-color: rgba(129, 135, 153, 0.2);
}
.wd-select-condition.wd-select .wd-select-selection-item {
color: #0F3CB7;
}
.wd-select-condition.wd-select:not(.wd-select-focused) .wd-select-selection-search-input {
color: #0F3CB7;
}
.wd-select-condition:not(.wd-select-disabled):hover .wd-select-selector {
border-color: transparent;
}
.wd-select-condition.wd-select.wd-select-open:not(.wd-select-customize-input) {
background-color: #13151b;
}
.wd-select-condition.wd-select.wd-select-open:not(.wd-select-customize-input) .wd-select-selector {
background-color: #13151b;
border-color: #2469F2;
}
.wd-select-selection-item {
flex: 1;
overflow: hidden;
font-weight: normal;
white-space: nowrap;
text-overflow: ellipsis;
}
@media all and (-ms-high-contrast: none) {
.wd-select-selection-item *::-ms-backdrop,
.wd-select-selection-item {
flex: auto;
}
}
.wd-select-condition.wd-select-multiple .wd-select-selection-item {
line-height: 22px;
}
.wd-select-selection-placeholder {
flex: 1;
overflow: hidden;
color: #818799;
white-space: nowrap;
text-overflow: ellipsis;
pointer-events: none;
}
@media all and (-ms-high-contrast: none) {
.wd-select-selection-placeholder *::-ms-backdrop,
.wd-select-selection-placeholder {
flex: auto;
}
}
.wd-select-disabled .wd-select-selection-placeholder {
color: #C7CBD6;
}
.wd-select-label {
display: flex;
align-items: center;
font-size: 12px;
color: #656B80;
white-space: nowrap;
margin-right: 8px;
}
.wd-select-arrow,
.wd-select-prefix {
display: inline-block;
color: inherit;
font-style: normal;
line-height: 0;
text-transform: none;
text-rendering: optimizelegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
position: absolute;
top: 50%;
right: 11px;
width: 16px;
height: 16px;
margin-top: -8px;
color: #818799;
font-size: 16px;
line-height: 1;
text-align: center;
pointer-events: none;
}
.wd-select-arrow > *,
.wd-select-prefix > * {
line-height: 1;
}
.wd-select-arrow svg,
.wd-select-prefix svg {
display: inline-block;
}
.wd-select-arrow::before,
.wd-select-prefix::before {
display: none;
}
.wd-select-arrow .wd-select-arrow-icon,
.wd-select-arrow .wd-select-prefix-icon,
.wd-select-prefix .wd-select-arrow-icon,
.wd-select-prefix .wd-select-prefix-icon {
display: block;
}
.wd-select-arrow .wdicon,
.wd-select-prefix .wdicon {
vertical-align: top;
transition: transform 0.3s;
}
.wd-select-arrow .wdicon > svg,
.wd-select-prefix .wdicon > svg {
vertical-align: top;
}
.wd-select-arrow .wdicon:not(.wd-select-suffix),
.wd-select-prefix .wdicon:not(.wd-select-suffix) {
pointer-events: auto;
}
.wd-select-disabled .wd-select-arrow,
.wd-select-disabled .wd-select-prefix {
cursor: not-allowed;
color: #C7CBD6;
}
.wd-select-prefix {
right: 0;
left: 11px;
z-index: 9;
}
.wd-select-clear {
position: absolute;
top: 50%;
right: 11px;
z-index: 1;
display: inline-block;
width: 16px;
height: 16px;
margin-top: -8px;
color: #818799;
font-size: 16px;
font-style: normal;
line-height: 1;
text-align: center;
text-transform: none;
background: transparent;
cursor: pointer;
opacity: 0;
transition: color 0.3s ease, opacity 0.15s ease;
text-rendering: auto;
}
.wd-select-clear::before {
display: block;
}
.wd-select-clear:hover {
color: #575E73;
}
.wd-select:hover .wd-select-clear {
opacity: 1;
}
.wd-select-dropdown {
margin: 0;
padding: 0;
color: #1E1E29;
font-variant: tabular-nums;
line-height: 18px;
list-style: none;
font-feature-settings: 'tnum';
position: absolute;
top: -9999px;
left: -9999px;
z-index: 2000;
box-sizing: border-box;
padding: 8px 2px 8px 8px;
overflow: hidden;
font-size: 14px;
font-variant: initial;
background-color: #FBFCFD;
border-radius: 4px;
outline: none;
box-shadow: 0px 0px 1px 0px rgba(255, 255, 255, 0.6), 0px 6px 28px 0px rgba(0, 0, 0, 0.3), 0px 6px 12px 0px rgba(0, 0, 0, 0.24);
}
.wd-select-dropdown.wd-slide-up-enter.wd-slide-up-enter-active.wd-select-dropdown-placement-bottomLeft,
.wd-select-dropdown.wd-slide-up-appear.wd-slide-up-appear-active.wd-select-dropdown-placement-bottomLeft {
animation-name: antSlideUpIn;
}
.wd-select-dropdown.wd-slide-up-enter.wd-slide-up-enter-active.wd-select-dropdown-placement-topLeft,
.wd-select-dropdown.wd-slide-up-appear.wd-slide-up-appear-active.wd-select-dropdown-placement-topLeft {
animation-name: antSlideDownIn;
}
.wd-select-dropdown.wd-slide-up-leave.wd-slide-up-leave-active.wd-select-dropdown-placement-bottomLeft {
animation-name: antSlideUpOut;
}
.wd-select-dropdown.wd-slide-up-leave.wd-slide-up-leave-active.wd-select-dropdown-placement-topLeft {
animation-name: antSlideDownOut;
}
.wd-select-dropdown-hidden {
display: none;
}
.wd-select-dropdown-empty {
color: #C7CBD6;
}
.wd-select-dropdown-checkall {
width: calc(100% - 6px);
padding: 0 8px;
margin-top: 8px;
height: 28px;
position: relative;
}
.wd-select-dropdown-checkall::after {
position: absolute;
top: -4px;
left: 0;
width: 100%;
height: 1px;
background-color: #EDEFF3;
content: '';
}
.wd-select-dropdown-checkall .wd-checkbox-text {
padding-left: 8px;
}
.wd-select-dropdown-stock-search,
.wd-select-dropdown-stock-search-no-header {
width: 260px ;
min-width: 260px ;
border-radius: 8px;
}
.wd-select-dropdown-stock-search .wd-empty,
.wd-select-dropdown-stock-search-no-header .wd-empty {
display: flex;
justify-content: center;
flex-direction: column;
}
.wd-select-dropdown-stock-search .rc-virtual-list-holder,
.wd-select-dropdown-stock-search-no-header .rc-virtual-list-holder {
max-height: 320px ;
height: 320px ;
padding-right: 0 ;
}
.wd-select-dropdown-stock-search .rc-virtual-list-holder .wd-select-item,
.wd-select-dropdown-stock-search-no-header .rc-virtual-list-holder .wd-select-item {
margin-bottom: 0;
padding: 5px 8px;
}
.wd-select-dropdown-stock-search {
padding: 0;
padding-bottom: 8px;
}
.wd-select-dropdown-stock-search-header .wd-tabs-nav .wd-tabs-nav-list {
width: 100%;
justify-content: space-between;
}
.wd-select-dropdown-stock-search-header .wd-tabs-nav .wd-tabs-nav-list .wd-tabs-nav-add-wrapper {
display: none ;
}
.wd-select-dropdown-stock-search-history {
color: #818799;
line-height: 18px;
padding: 6px 16px;
font-size: 12px;
}
.wd-select-dropdown-stock-search-place {
height: 8px;
}
.wd-select-dropdown-stock-search-place:hover {
background-color: #FBFCFD;
}
.wd-select-dropdown-stock-search-no-header {
padding-top: 8px;
padding-bottom: 8px;
}
.wd-select-item-empty {
position: relative;
display: block;
min-height: 28px;
padding: 0 8px;
color: #1E1E29;
font-weight: normal;
font-size: 12px;
line-height: 22px;
margin-bottom: 4px;
border-radius: 3px;
color: #C7CBD6;
display: flex;
align-items: center;
justify-content: center;
}
.wd-select-item-empty:last-of-type {
margin-bottom: 0;
}
.wd-select-item {
position: relative;
display: block;
min-height: 28px;
padding: 0 8px;
color: #1E1E29;
font-weight: normal;
font-size: 12px;
line-height: 22px;
margin-bottom: 4px;
border-radius: 3px;
cursor: pointer;
transition: background 0.3s ease;
}
.wd-select-item:last-of-type {
margin-bottom: 0;
}
.wd-select-item-group {
color: #575E73;
font-size: 12px;
cursor: default;
}
.wd-select-item-option {
display: flex;
align-items: center;
}
.wd-select-item-option-content {
flex: auto;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.wd-select-item-option-option-multiple {
padding: 0 8px 0 0;
}
.wd-select-item-option-content-stock-search {
display: flex;
align-items: center;
justify-content: flex-start;
margin: 0 8px;
}
.wd-select-item-option-content-stock-search-content {
display: flex;
align-items: center;
justify-content: center;
flex: 1;
}
.wd-select-item-option-content-stock-search-content__code {
width: 68px;
margin-right: 8px;
overflow: hidden;
color: #818799;
text-align: right;
text-overflow: ellipsis;
word-break: keep-all;
white-space: nowrap;
}
.wd-select-item-option-content-stock-search-content__name {
display: -webkit-box;
flex: 1;
overflow: hidden;
line-height: 18px;
color: #1E1E29;
text-overflow: ellipsis;
word-break: break-word;
white-space: wrap;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
margin-left: 8px;
}
.wd-select-item-option-state {
flex: none;
}
.wd-select-item-option-selected:not(.wd-select-item-option-disabled) {
color: #0F3CB7;
font-weight: 600;
background-color: rgba(18, 81, 229, 0.07);
}
.wd-select-item-option-selected:not(.wd-select-item-option-disabled) .wd-select-item-option-state {
color: #2469F2;
}
.wd-select-item-option-disabled {
color: #C7CBD6;
cursor: not-allowed;
}
.wd-select-item-option-disabled.wd-select-item-option-selected {
background-color: #fff;
}
.wd-select-item-option-grouped {
padding-left: 24px;
}
.wd-select-item-option:not(.wd-select-item-option-disabled):not(.wd-select-item-option-selected):hover {
background-color: rgba(129, 135, 153, 0.1);
}
.wd-select-item-option .wd-checkbox-wrapper {
pointer-events: none;
}
.wd-select-lg {
font-size: 14px;
}
.wd-select-bg {
font-size: 14px;
}
.wd-select-sm {
font-size: 12px;
}
.wd-select-xs {
font-size: 12px;
}
.wd-select-disabled.wd-select:not(.wd-select-customize-input) .wd-select-selector,
.wd-select-borderless:not(.wd-select-customize-input) .wd-select-selector {
background-color: #FBFCFD;
color: #1E1E29;
box-shadow: none;
}
.wd-select-disabled.wd-select:not(.wd-select-customize-input) .wd-select-selector .wd-select-label,
.wd-select-disabled.wd-select:not(.wd-select-customize-input) .wd-select-selector .wd-select-selection .wd-select-selection-placeholder,
.wd-select-disabled.wd-select:not(.wd-select-customize-input) .wd-select-selector .wd-select-selection-item {
color: #C7CBD6;
}
.wd-select-borderless:not(.wd-select-customize-input) .wd-select-selector {
border-color: transparent;
}
.wd-select-borderless:not(.wd-select-customize-input):not(.wd-select-disabled):not( .wd-select-focused):hover .wd-select-selector {
background-color: rgba(129, 135, 153, 0.2);
}
.wd-select-max-tag-count .wd-select-selection-item-remove {
display: none;
}
.wd-select-flex-no-wrap:not(.wd-select-customize-input) .wd-select-selector {
padding: 0 12px;
}
.wd-select-flex-no-wrap .wd-select-selector {
flex-wrap: nowrap;
}
.wd-select-flex-no-wrap .wd-select-selection-overflow {
flex-wrap: nowrap;
font-weight: normal;
white-space: nowrap;
text-overflow: ellipsis;
padding-right: 12px;
}
.wd-select-flex-no-wrap .wd-select-selection-overflow .wd-select-selection-overflow-item .wd-select-selection-item-content {
max-width: -moz-max-content;
max-width: max-content;
}
.wd-select-flex-no-wrap .wd-select-selection-overflow .wd-select-selection-overflow-item:first-child {
max-width: -moz-max-content;
max-width: max-content;
overflow-x: hidden;
font-weight: normal;
white-space: nowrap;
text-overflow: ellipsis;
flex: 1;
opacity: 1;
}
.wd-select-fill.wd-select-flex-no-wrap .wd-select-selection-overflow {
overflow-x: hidden;
}
.wd-select-rtl {
direction: rtl;
}
.wd-select-rtl .wd-select-arrow {
right: initial;
left: 11px;
}
.wd-select-rtl .wd-select-clear {
right: initial;
left: 11px;
}
.wd-select-dropdown-rtl {
direction: rtl;
}
.wd-select-dropdown-rtl .wd-select-item-option-grouped {
padding-right: 24px;
padding-left: 12px;
}
.wd-select-rtl.wd-select-multiple.wd-select-show-arrow .wd-select-selector,
.wd-select-rtl.wd-select-multiple.wd-select-allow-clear .wd-select-selector {
padding-right: 6px;
padding-left: 24px;
}
.wd-select-rtl.wd-select-multiple .wd-select-selection-item {
text-align: right;
}
.wd-select-rtl.wd-select-multiple .wd-select-selection-item-content {
margin-right: 0;
margin-left: 4px;
text-align: right;
}
.wd-select-rtl.wd-select-multiple .wd-select-selection-search-mirror {
right: 0;
left: auto;
}
.wd-select-rtl.wd-select-multiple .wd-select-selection-placeholder {
right: 11px;
left: auto;
}
.wd-select-rtl.wd-select-multiple.wd-select-sm .wd-select-selection-placeholder {
right: 11px;
}
.wd-select-rtl.wd-select-single .wd-select-selector .wd-select-selection-item,
.wd-select-rtl.wd-select-single .wd-select-selector .wd-select-selection-placeholder {
right: 0;
left: 9px;
text-align: right;
}
.wd-select-rtl.wd-select-single.wd-select-show-arrow .wd-select-selection-search {
right: 11px;
left: 25px;
}
.wd-select-rtl.wd-select-single.wd-select-show-arrow .wd-select-selection-item,
.wd-select-rtl.wd-select-single.wd-select-show-arrow .wd-select-selection-placeholder {
padding-right: 0;
padding-left: 18px;
}
.wd-select-rtl.wd-select-single.wd-select-sm:not(.wd-select-customize-input).wd-select-show-arrow .wd-select-selection-search {
right: 10px;
}
.wd-select-rtl.wd-select-single.wd-select-sm:not(.wd-select-customize-input).wd-select-show-arrow .wd-select-selection-item,
.wd-select-rtl.wd-select-single.wd-select-sm:not(.wd-select-customize-input).wd-select-show-arrow .wd-select-selection-placeholder {
padding-right: 0;
padding-left: 21px;
}