UNPKG

@alifd/next

Version:

A configurable component library for web built on React.

1,207 lines (1,165 loc) 645 kB
/*! * @alifd/next@1.25.36 (https://fusion.design) * Copyright 2018-present Alibaba Group, * Licensed under MIT (https://github.com/alibaba-fusion/next/blob/master/LICENSE) */ .next-form-item.next-large .next-rating, .next-form-item.next-large .next-checkbox-wrapper, .next-form-item.next-large .next-checkbox-group, .next-form-item.next-large .next-radio-wrapper, .next-form-item.next-large .next-radio-group { line-height: 39px; line-height: calc(var(--form-element-large-height, 40px) - 1px); } .next-form-item.next-large .next-form-preview { font-size: 16px; font-size: var(--form-element-large-preview-font-size, 16px); line-height: 40px; line-height: var(--form-element-large-preview-height, 40px); } .next-form-item.next-large .next-form-preview.next-input-textarea > p { font-size: 16px; font-size: var(--form-element-large-preview-font-size, 16px); text-align: justify; min-height: 22.4px; min-height: calc(var(--form-element-large-preview-font-size, 16px)*1.4); line-height: 1.4; margin-top: 8.8px; margin-top: calc(var(--form-element-large-preview-height, 40px)/2 - var(--form-element-large-preview-font-size, 16px)*1.4/2); } .next-form-item.next-large .next-switch { margin-top: 7px; margin-top: calc(var(--form-element-large-height, 40px)/2 - 13px); } .next-form-item.next-large .next-form-item-label { font-size: 16px; font-size: var(--form-element-large-font-size, 16px); } .next-form-item.next-small { margin-bottom: 12px; margin-bottom: var(--form-item-s-margin-b, 12px); } .next-form-item.next-small .next-form-item-label, .next-form-item.next-small .next-form-text-align, .next-form-item.next-small p { line-height: 20px; line-height: var(--form-element-small-height, 20px); } .next-form-item.next-small .next-rating, .next-form-item.next-small .next-checkbox-wrapper, .next-form-item.next-small .next-checkbox-group, .next-form-item.next-small .next-radio-wrapper, .next-form-item.next-small .next-radio-group { line-height: 20px; line-height: var(--form-element-small-height, 20px); } .next-form-item.next-small .next-form-preview { font-size: 12px; font-size: var(--form-element-small-preview-font-size, 12px); line-height: 20px; line-height: var(--form-element-small-preview-height, 20px); } .next-form-item.next-small .next-form-preview.next-input-textarea > p { font-size: 12px; font-size: var(--form-element-small-preview-font-size, 12px); text-align: justify; min-height: 16.8px; min-height: calc(var(--form-element-small-preview-font-size, 12px)*1.4); line-height: 1.4; margin-top: 1.6px; margin-top: calc(var(--form-element-small-preview-height, 20px)/2 - var(--form-element-small-preview-font-size, 12px)*1.4/2); } .next-form-item.next-small .next-form-item-label { font-size: 12px; font-size: var(--form-element-small-font-size, 12px); } .next-form-item.next-top > .next-form-item-label { margin-bottom: 2px; margin-bottom: var(--form-top-label-margin-b, 2px); } .next-form-item.next-inset .next-form-item-label { padding-right: 0; padding-left: 0; line-height: inherit; } .next-form-item-control .next-form-text-align { margin: 0; } .next-form-item-control > .next-input-group, .next-form-item-control > .next-input { width: 100%; } .next-form-item-fullwidth .next-form-item-control > .next-input-group, .next-form-item-fullwidth .next-form-item-control > .next-input, .next-form-item-fullwidth .next-form-item-control > .next-select, .next-form-item-fullwidth .next-form-item-control > .next-date-picker, .next-form-item-fullwidth .next-form-item-control > .next-month-picker, .next-form-item-fullwidth .next-form-item-control > .next-year-picker, .next-form-item-fullwidth .next-form-item-control > .next-range-picker, .next-form-item-fullwidth .next-form-item-control > .next-time-picker { width: 100%; } .next-form-item-fullwidth .next-form-item-control > .next-date-picker2 .next-date-picker2-input input { width: inherit; } .next-form-item-label { display: inline-block; vertical-align: top; color: #666666; color: var(--form-label-color, #666666); text-align: right; padding-right: 12px; padding-right: var(--form-label-padding-r, 12px); } .next-form-item-label label[required]:before { margin-right: 4px; content: "*"; color: #FF3000; color: var(--form-error-color, #FF3000); } .next-form-item-label.has-colon label::after { content: ":"; position: relative; top: -.5px; margin: 0 0 0 2px; } .next-form-item-label.next-left { text-align: left; } .next-form-item-label.next-left > label[required]::before { display: none; } .next-form-item-label.next-left > label[required]::after { margin-left: 4px; content: "*"; color: #FF3000; color: var(--form-error-color, #FF3000); } .next-form-item-help { margin-top: 4px; margin-top: var(--form-help-margin-top, 4px); font-size: 12px; font-size: var(--form-help-font-size, 12px); line-height: 1.5; line-height: var(--font-lineheight-2, 1.5); color: #999999; color: var(--form-help-color, #999999); } .next-form.next-inline .next-form-item { display: inline-block; vertical-align: top; /* label on left */ } .next-form.next-inline .next-form-item.next-left .next-form-item-control { display: inline-block; vertical-align: top; line-height: 0; } .next-form.next-inline .next-form-item:not(:last-child) { margin-right: 20px; margin-right: var(--form-inline-m-item-margin-r, 20px); } .next-form.next-inline .next-form-item.next-large:not(:last-child) { margin-right: 24px; margin-right: var(--form-inline-l-item-margin-r, 24px); } .next-form.next-inline .next-form-item.next-small:not(:last-child) { margin-right: 16px; margin-right: var(--form-inline-s-item-margin-r, 16px); } @media screen and (min-width: 0\0) and (min-resolution: 0.001dpcm) { .next-form-item.next-left > .next-form-item-label { display: table-cell; } .next-form.next-inline .next-form-item.next-left .next-form-item-control { display: table-cell; } } .next-form[dir="rtl"] .next-form-item-label { text-align: left; padding-left: 12px; padding-left: var(--form-label-padding-r, 12px); padding-right: 0; } .next-form[dir="rtl"].next-inline .next-form-item:not(:last-child) { margin-left: 20px; margin-left: var(--form-inline-m-item-margin-r, 20px); margin-right: 0; } .next-form[dir="rtl"].next-inline .next-form-item.next-large:not(:last-child) { margin-left: 24px; margin-left: var(--form-inline-l-item-margin-r, 24px); margin-right: 0; } .next-form[dir="rtl"].next-inline .next-form-item.next-small:not(:last-child) { margin-left: 16px; margin-left: var(--form-inline-s-item-margin-r, 16px); margin-right: 0; } .next-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; top: 0; margin: -1px; } /* put your code here */ .next-avatar { position: relative; display: inline-block; overflow: hidden; color: #FFFFFF; color: var(--avatar-color, #FFFFFF); white-space: nowrap; text-align: center; vertical-align: middle; background: #E2E4E8; background: var(--avatar-default-bg, #E2E4E8); width: 40px; width: var(--avatar-size-medium, 40px); height: 40px; height: var(--avatar-size-medium, 40px); line-height: 40px; line-height: var(--avatar-size-medium, 40px); border-radius: 50%; } .next-avatar-image { background: transparent; } .next-avatar-string { position: absolute; left: 50%; transform-origin: 0 center; } .next-avatar-large { width: 52px; width: var(--avatar-size-large, 52px); height: 52px; height: var(--avatar-size-large, 52px); line-height: 52px; line-height: var(--avatar-size-large, 52px); border-radius: 50%; } .next-avatar-large-string { position: absolute; left: 50%; transform-origin: 0 center; } .next-avatar-small { width: 28px; width: var(--avatar-size-small, 28px); height: 28px; height: var(--avatar-size-small, 28px); line-height: 28px; line-height: var(--avatar-size-small, 28px); border-radius: 50%; } .next-avatar-small-string { position: absolute; left: 50%; transform-origin: 0 center; } .next-avatar-square { border-radius: 3px; border-radius: var(--avatar-border-radius, 3px); } .next-avatar > img { display: block; width: 100%; height: 100%; object-fit: cover; } .next-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; top: 0; margin: -1px; } .next-select { box-sizing: border-box; display: inline-block; position: relative; font-size: 0; vertical-align: middle; /* Select trigger */ /* 在搜索框未激活时,将 input 的 color 置为透明 */ /* ISSUE: 在 IE11 中,<input readonly/> 仍然会显示光标, 要隐藏掉 */ /* &.next-no-search { .next-select-trigger-search input { color: $color-transparent; } } */ /* 弹层 */ /* 全选按钮 */ /* -------------- IE polyfill -------------- */ /* 根据最新的数据,在中国,PC 端的 IE9 份额为 2%, */ /* 所以不应该因为 IE9 而不使用 flex,而是应该做降级 polyfill */ /* @see http://gs.statcounter.com/ */ /* IE10、IE11 虽然支持 flex,但还是会有各种各样奇奇怪怪的问题 */ } .next-select *, .next-select *:before, .next-select *:after { box-sizing: border-box; } .next-select-trigger { min-width: 100px; outline: 0; transition: all 100ms linear; transition: all var(--motion-duration-immediately, 100ms) var(--motion-linear, linear); } .next-select-trigger .next-input-label { flex: 0 0 auto; width: auto; } .next-select-trigger .next-select-values { display: block; width: 100%; flex: 1 1 0; overflow: hidden; } .next-select-trigger .next-select-values > em { font-style: inherit; } .next-select-trigger .next-select-values input { padding-left: 0; padding-right: 0; } .next-select-trigger .next-input-control { flex: 0 0 auto; width: auto; } .next-select-trigger .next-input-control > * { display: inline-block; width: auto; } .next-select-trigger .next-input-control > .next-select-arrow { padding-right: 0; } .next-select-trigger .next-input.next-disabled em { color: #CCCCCC; color: var(--input-disabled-color, #CCCCCC); } .next-select-trigger .next-input.next-disabled .next-select-arrow { cursor: not-allowed; } .next-select-trigger .next-select-clear { display: none; } .next-select-trigger.next-has-clear:hover .next-select-clear { display: inline-block; } .next-select-trigger.next-has-clear:hover .next-select-arrow { display: none; } .next-select .next-select-inner { display: inline-flex; align-items: center; width: 100%; min-width: 100px; outline: 0; color: #333333; color: var(--select-color, #333333); } .next-select .next-select-inner .next-tag { line-height: 1; margin-right: 4px; margin-right: var(--select-tag-spacing-lr, 4px); margin-bottom: 3px; margin-bottom: var(--select-tag-spacing-tb, 3px); padding-left: 0px; padding-left: var(--select-tag-padding-lr, 0px); padding-right: 0px; padding-right: var(--select-tag-padding-lr, 0px); } .next-select .next-select-inner .next-input-inner { width: auto; } .next-select-trigger-search { position: relative; display: inline-block; vertical-align: top; overflow: hidden; width: 100%; max-width: 100%; } .next-select-trigger-search > input, .next-select-trigger-search > span { display: block; font-size: inherit; font-family: inherit; letter-spacing: inherit; white-space: nowrap; overflow: hidden; } .next-select-trigger-search input { position: absolute; background-color: transparent; width: 100%; height: 100% !important; z-index: 1; left: 0; border: 0; outline: 0; margin: 0; padding: 0; cursor: inherit; } .next-select-trigger-search > span { position: relative; visibility: hidden; white-space: pre; max-width: 100%; /* 在 table 布局中,100% 并没有什么x用 */ z-index: -1; } .next-select-single { /* 搜索框激活时,展开后不显示值,只显示搜索框 */ /* 搜索框未激活,或者menu未展开,如果有值,则不显示搜索(placeholder) */ } .next-select-single.next-no-search { cursor: pointer; } .next-select-single.next-has-search.next-active .next-select-values > em { display: none; } .next-select-single.next-no-search .next-select-values > em + .next-select-trigger-search, .next-select-single.next-inactive .next-select-values > em + .next-select-trigger-search { width: 1px; opacity: 0; /* stylelint-disable */ filter: alpha(opacity=0); /* for IE 9 */ /* stylelint-enable */ } .next-select-single .next-select-values { display: inline-flex; align-items: center; } .next-select-single .next-select-values > em { vertical-align: middle; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .next-select-multiple .next-select-compact { position: relative; white-space: nowrap; } .next-select-multiple .next-select-compact .next-select-trigger-search { width: auto; } .next-select-multiple .next-select-compact .next-select-tag-compact { position: absolute; top: 0; right: 0; z-index: 1; padding: 0 4px 0 16px; color: #333333; color: var(--input-text-color, #333333); background: linear-gradient(90deg, transparent, #FFFFFF 10px); background: linear-gradient(90deg, transparent, var(--input-bg-color, #FFFFFF) 10px); } .next-select-multiple .next-disabled .next-select-tag-compact { background: linear-gradient(90deg, transparent, #F7F8FA 10px); background: linear-gradient(90deg, transparent, var(--input-disabled-bg-color, #F7F8FA) 10px); } .next-select-multiple, .next-select-tag { /* 如果有值,则搜索框变为1px */ } .next-select-multiple .next-select-values, .next-select-tag .next-select-values { /* Tag 有 3px 的 margin-bottom,所以包裹 Tag 的容器要作一下处理 */ margin-bottom: -3px; margin-bottom: calc(0px - var(--select-tag-spacing-tb, 3px)); height: auto !important; } .next-select-multiple .next-select-trigger-search, .next-select-tag .next-select-trigger-search { margin-bottom: 3px; margin-bottom: var(--select-tag-spacing-tb, 3px); } .next-select-multiple .next-tag + .next-select-trigger-search, .next-select-tag .next-tag + .next-select-trigger-search { width: auto; min-width: 1px; /* 保留一个光标的宽度 */ } .next-select-multiple .next-input, .next-select-tag .next-input { height: auto; align-items: start; } .next-select-multiple.next-small .next-select-values, .next-select-tag.next-small .next-select-values { min-height: 18px; min-height: calc(var(--form-element-small-height, 20px) - 2px); padding-top: 2px; padding-top: calc(var(--form-element-small-height, 20px)/2 - var(--select-s-lineheight, 14px)/2 - 1px); padding-bottom: 2px; padding-bottom: calc(var(--form-element-small-height, 20px)/2 - var(--select-s-lineheight, 14px)/2 - 1px); line-height: 14px; line-height: var(--select-s-lineheight, 14px); } .next-select-multiple.next-small .next-select-values-compact, .next-select-tag.next-small .next-select-values-compact { height: 20px !important; height: var(--form-element-small-height, 20px) !important; } .next-select-multiple.next-small .next-tag, .next-select-tag.next-small .next-tag { border: 0; padding-top: 0px; padding-top: calc(var(--select-s-lineheight, 14px)/2 - var(--s-4, 16px)/2 + 1px); padding-bottom: 0px; padding-bottom: calc(var(--select-s-lineheight, 14px)/2 - var(--s-4, 16px)/2 + 1px); height: 14px; height: var(--select-s-lineheight, 14px); } .next-select-multiple.next-small .next-tag .next-tag-body, .next-select-multiple.next-small .next-tag .next-tag-close-btn, .next-select-tag.next-small .next-tag .next-tag-body, .next-select-tag.next-small .next-tag .next-tag-close-btn { line-height: 14px; line-height: calc(var(--select-s-lineheight, 14px) - var(--select-s-lineheight, 14px)/2*2 + var(--s-4, 16px)/2*2 - 2px); } .next-select-multiple.next-small .next-tag-body, .next-select-tag.next-small .next-tag-body { line-height: 14px; line-height: var(--select-s-lineheight, 14px); } .next-select-multiple.next-small .next-input-label, .next-select-multiple.next-small .next-input-inner, .next-select-multiple.next-small .next-input-control, .next-select-multiple.next-small .next-select-tag-compact, .next-select-tag.next-small .next-input-label, .next-select-tag.next-small .next-input-inner, .next-select-tag.next-small .next-input-control, .next-select-tag.next-small .next-select-tag-compact { line-height: 18px; line-height: calc(var(--form-element-small-height, 20px) - 2px); } .next-select-multiple.next-medium .next-select-values, .next-select-tag.next-medium .next-select-values { min-height: 26px; min-height: calc(var(--form-element-medium-height, 28px) - 2px); padding-top: 3px; padding-top: calc(var(--form-element-medium-height, 28px)/2 - var(--select-m-lineheight, 20px)/2 - 1px); padding-bottom: 3px; padding-bottom: calc(var(--form-element-medium-height, 28px)/2 - var(--select-m-lineheight, 20px)/2 - 1px); line-height: 20px; line-height: var(--select-m-lineheight, 20px); } .next-select-multiple.next-medium .next-select-values-compact, .next-select-tag.next-medium .next-select-values-compact { height: 28px !important; height: var(--form-element-medium-height, 28px) !important; } .next-select-multiple.next-medium .next-tag, .next-select-tag.next-medium .next-tag { padding-top: 1px; padding-top: calc(var(--select-m-lineheight, 20px)/2 - var(--s-4, 16px)/2 - 1px); padding-bottom: 1px; padding-bottom: calc(var(--select-m-lineheight, 20px)/2 - var(--s-4, 16px)/2 - 1px); height: 20px; height: var(--select-m-lineheight, 20px); } .next-select-multiple.next-medium .next-tag .next-tag-body, .next-select-multiple.next-medium .next-tag .next-tag-close-btn, .next-select-tag.next-medium .next-tag .next-tag-body, .next-select-tag.next-medium .next-tag .next-tag-close-btn { line-height: 18px; line-height: calc(var(--select-m-lineheight, 20px) - var(--select-m-lineheight, 20px)/2*2 + var(--s-4, 16px)/2*2 + 2px); } .next-select-multiple.next-medium .next-input-label, .next-select-multiple.next-medium .next-input-inner, .next-select-multiple.next-medium .next-input-control, .next-select-multiple.next-medium .next-select-tag-compact, .next-select-tag.next-medium .next-input-label, .next-select-tag.next-medium .next-input-inner, .next-select-tag.next-medium .next-input-control, .next-select-tag.next-medium .next-select-tag-compact { line-height: 26px; line-height: calc(var(--form-element-medium-height, 28px) - 2px); } .next-select-multiple.next-large .next-select-values, .next-select-tag.next-large .next-select-values { min-height: 38px; min-height: calc(var(--form-element-large-height, 40px) - 2px); padding-top: 7px; padding-top: calc(var(--form-element-large-height, 40px)/2 - var(--select-l-lineheight, 24px)/2 - 1px); padding-bottom: 7px; padding-bottom: calc(var(--form-element-large-height, 40px)/2 - var(--select-l-lineheight, 24px)/2 - 1px); line-height: 24px; line-height: var(--select-l-lineheight, 24px); } .next-select-multiple.next-large .next-select-values-compact, .next-select-tag.next-large .next-select-values-compact { height: 40px !important; height: var(--form-element-large-height, 40px) !important; } .next-select-multiple.next-large .next-tag, .next-select-tag.next-large .next-tag { padding-top: 3px; padding-top: calc(var(--select-l-lineheight, 24px)/2 - var(--s-4, 16px)/2 - 1px); padding-bottom: 3px; padding-bottom: calc(var(--select-l-lineheight, 24px)/2 - var(--s-4, 16px)/2 - 1px); height: 24px; height: var(--select-l-lineheight, 24px); } .next-select-multiple.next-large .next-tag .next-tag-body, .next-select-multiple.next-large .next-tag .next-tag-close-btn, .next-select-tag.next-large .next-tag .next-tag-body, .next-select-tag.next-large .next-tag .next-tag-close-btn { line-height: 18px; line-height: calc(var(--select-l-lineheight, 24px) - var(--select-l-lineheight, 24px)/2*2 + var(--s-4, 16px)/2*2 + 2px); } .next-select-multiple.next-large .next-input-label, .next-select-multiple.next-large .next-input-inner, .next-select-multiple.next-large .next-input-control, .next-select-multiple.next-large .next-select-tag-compact, .next-select-tag.next-large .next-input-label, .next-select-tag.next-large .next-input-inner, .next-select-tag.next-large .next-input-control, .next-select-tag.next-large .next-select-tag-compact { line-height: 38px; line-height: calc(var(--form-element-large-height, 40px) - 2px); } .next-select-auto-complete { width: 160px; } .next-select-auto-complete .next-input { width: 100%; /* table-cell 下 margin 无效 */ } .next-select-auto-complete .next-input .next-input-hint-wrap { padding-right: 1px; } .next-select-auto-complete .next-input .next-select-arrow { padding-left: 0; } .next-select.next-active .next-select-arrow .next-icon-arrow-down { transform: rotate(180deg); } .next-select .next-select-unfold-icon::before { content: ""; content: var(--select-unfold-icon-content, ""); } .next-select-symbol-fold::before { content: "\E63D"; content: var(--select-fold-icon-content, "\E63D"); } .next-select-arrow { cursor: pointer; width: auto !important; text-align: center; transition: all 100ms linear; transition: all var(--motion-duration-immediately, 100ms) var(--motion-linear, linear); /* transform-origin: center 41.8%; // icon 图像中心 */ } .next-select-popup-wrap { animation-duration: 300ms; animation-duration: var(--motion-duration-standard, 300ms); animation-timing-function: ease; animation-timing-function: var(--motion-ease, ease); padding: 0px 0; padding: var(--popup-spacing-tb, 0px) 0; } .next-select-spacing-tb { padding: 0px 0; padding: var(--popup-spacing-tb, 0px) 0; } .next-select-menu-wrapper { max-height: 260px; overflow: auto; border: 1px solid #DCDEE3; border: var(--popup-local-border-width, 1px) var(--popup-local-border-style, solid) var(--popup-local-border-color, #DCDEE3); border-radius: 3px; border-radius: var(--popup-local-corner, 3px); box-shadow: none; box-shadow: var(--popup-local-shadow, none); } .next-select-menu-wrapper .next-select-menu { max-height: none; border: none; } .next-select-menu { max-height: 260px; overflow: auto; /* autoComplete 没有选项时 menu 不显示 */ } .next-select-menu .next-select-menu-empty-content { padding-left: 8px; padding-left: var(--s-2, 8px); padding-right: 8px; padding-right: var(--s-2, 8px); color: #999999; color: var(--select-hint-color, #999999); } .next-select-menu.next-select-auto-complete-menu.next-select-menu-empty { display: none; } .next-select-menu .next-menu-item-text .next-icon { vertical-align: middle; } .next-select-all { display: block; cursor: pointer; padding: 0 8px; padding: 0 var(--s-2, 8px); margin: 0 12px 8px; margin: 0 var(--s-3, 12px) var(--s-2, 8px); border-bottom: 1px solid #DCDEE3; border-bottom: 1px solid var(--color-line1-2, #DCDEE3); } .next-select-all:hover { color: #3E71F7; color: var(--color-link-3, #3E71F7); } .next-select-all .next-menu-icon-selected.next-icon { display: inline-block !important; top: initial; color: #5584FF; color: var(--select-menu-icon-color, #5584FF); } .next-select-highlight { color: #5584FF; color: var(--select-highlight-color, #5584FF); font-size: 12px; font-size: var(--select-highlight-font, 12px); } .next-select-in-ie.next-select-trigger .next-select-values { /* 在 table 布局中,overflow: hidden 会导致负的 margin 失效 */ overflow: visible; } .next-select-in-ie.next-select-trigger .next-input-control, .next-select-in-ie.next-select-trigger .next-input-label { width: 1px; } .next-select-in-ie.next-select-trigger .next-input-control > * { display: table-cell; width: 1%; } .next-select-in-ie.next-select-trigger .next-select-arrow { display: table-cell; } .next-select-in-ie.next-select-trigger .next-select-clear { display: none; } .next-select-in-ie.next-select-trigger.next-select-multiple .next-select-inner, .next-select-in-ie.next-select-trigger.next-select-tag .next-select-inner { vertical-align: top; } .next-select-in-ie.next-select-trigger .next-select-inner { display: inline-table; } .next-select-in-ie.next-select-trigger.next-select-single .next-select-values { display: inline-table; } .next-select-in-ie.next-select-trigger.next-select-single .next-input.next-small .next-select-values { line-height: 20px; line-height: var(--form-element-small-height, 20px); } .next-select-in-ie.next-select-trigger.next-select-single .next-input.next-medium .next-select-values { line-height: 28px; line-height: var(--form-element-medium-height, 28px); } .next-select-in-ie.next-select-trigger.next-select-single .next-input.next-large .next-select-values { line-height: 40px; line-height: var(--form-element-large-height, 40px); } .next-select-in-ie.next-select-trigger .next-select-trigger-search > span { max-width: 100px; } .next-select-in-ie.next-select-trigger.next-select-single { /* 搜索框未激活,或者menu未展开,如果有值,则不显示搜索(placeholder) */ } .next-select-in-ie.next-select-trigger.next-select-single.next-select-in-ie-fixwidth .next-select-values { position: relative; } .next-select-in-ie.next-select-trigger.next-select-single.next-select-in-ie-fixwidth .next-select-values > em { position: absolute; display: inline-block; height: 100%; line-height: 1; vertical-align: middle; overflow: hidden; left: 4px; right: 0; top: 30%; } .next-select-in-ie.next-select-trigger.next-select-single.next-no-search .next-select-values > em + .next-select-trigger-search, .next-select-in-ie.next-select-trigger.next-select-single.next-inactive .next-select-values > em + .next-select-trigger-search { /* stylelint-disable */ filter: alpha(opacity=0); /* for IE 9 */ /* stylelint-enable */ font-size: 0; } .next-select-in-ie.next-select-trigger.next-no-search .next-select-trigger-search input { color: inherit; } @media screen and (-webkit-min-device-pixel-ratio: 0) { .next-select-multiple .next-select-compact .next-select-tag-compact { background: linear-gradient(90deg, rgba(255, 255, 255, 0), #FFFFFF 10px); background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--input-bg-color, #FFFFFF) 10px); } .next-select-multiple .next-disabled .next-select-tag-compact { background: linear-gradient(90deg, rgba(255, 255, 255, 0), #F7F8FA 10px); background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--input-disabled-bg-color, #F7F8FA) 10px); } } .next-select.next-select-multiple[dir='rtl'] .next-select-compact .next-select-tag-compact { left: 0; right: auto; padding: 0 16px 0 4px; background: linear-gradient(270deg, rgba(255, 255, 255, 0), #FFFFFF 10px); background: linear-gradient(270deg, rgba(255, 255, 255, 0), var(--input-bg-color, #FFFFFF) 10px); } .next-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; top: 0; margin: -1px; } /* put your code here */ .next-list-header { border-bottom: 1px solid #DCDEE3; border-bottom: var(--line-1, 1px) solid var(--list-divider-color, #DCDEE3); color: #333333; color: var(--list-title-color, #333333); } .next-list-footer { border-top: 1px solid #DCDEE3; border-top: var(--line-1, 1px) solid var(--list-divider-color, #DCDEE3); color: #666666; color: var(--list-content-color, #666666); } .next-list-loading.next-loading { display: block; } .next-list-empty { font-size: 12px; font-size: var(--font-size-body-1, 12px); color: #A0A2AD; color: var(--color-line1-4, #A0A2AD); padding: 32px 0; padding: var(--s-8, 32px) 0; text-align: center; } .next-list-items { margin: 0; padding: 0; list-style: none; } .next-list-item { display: table; /* 兼容ie9 */ display: flex; width: 100%; color: #666666; color: var(--list-content-color, #666666); } .next-list-item-media { display: table-cell; /* 兼容ie9 */ display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; min-width: 1px; flex-shrink: 0; vertical-align: top; } .next-list-item-extra { display: table-cell; /* 兼容ie9 */ display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; min-width: 1px; flex-shrink: 0; vertical-align: top; color: #999999; color: var(--list-extra-color, #999999); } .next-list-item-content { display: table-cell; /* 兼容ie9 */ display: flex; flex-direction: column; align-items: flex-start; justify-content: center; flex: 1; width: 100%; vertical-align: middle; } .next-list-item-title { color: #333333; color: var(--list-title-color, #333333); } .next-list-medium .next-list-header { padding: 16px 0px; padding: var(--list-size-m-item-padding-tb, 16px) var(--list-size-m-item-padding-lr, 0px); font-size: 20px; font-size: var(--list-size-m-title-font-size, 20px); font-weight: bold; font-weight: var(--list-size-m-title-font-weight, bold); } .next-list-medium .next-list-footer { padding: 16px 0px; padding: var(--list-size-m-item-padding-tb, 16px) var(--list-size-m-item-padding-lr, 0px); } .next-list-medium .next-list-item-media { padding-right: 8px; padding-right: var(--list-size-m-item-media-margin, 8px); } .next-list-medium .next-list-item-extra { padding-left: 8px; padding-left: var(--list-size-m-item-media-margin, 8px); } .next-list-medium .next-list-item { font-size: 14px; font-size: var(--list-size-m-item-content-font-size, 14px); line-height: 1.5; line-height: var(--list-size-m-item-content-line-height, 1.5); padding: 16px 0px; padding: var(--list-size-m-item-padding-tb, 16px) var(--list-size-m-item-padding-lr, 0px); } .next-list-medium .next-list-item-title { font-weight: normal; font-weight: var(--list-size-m-item-title-font-weight, normal); font-size: 16px; font-size: var(--list-size-m-item-title-font-size, 16px); line-height: 1.5; line-height: var(--list-size-m-item-title-line-height, 1.5); } .next-list-small .next-list-header { padding: 8px 0px; padding: var(--list-size-s-item-padding-tb, 8px) var(--list-size-s-item-padding-lr, 0px); font-size: 16px; font-size: var(--list-size-s-title-font-size, 16px); font-weight: bold; font-weight: var(--list-size-s-title-font-weight, bold); } .next-list-small .next-list-footer { padding: 8px 0px; padding: var(--list-size-s-item-padding-tb, 8px) var(--list-size-s-item-padding-lr, 0px); } .next-list-small .next-list-item-media { padding-right: 8px; padding-right: var(--list-size-s-item-media-margin, 8px); } .next-list-small .next-list-item-extra { padding-left: 8px; padding-left: var(--list-size-s-item-media-margin, 8px); } .next-list-small .next-list-item { font-size: 12px; font-size: var(--list-size-s-item-content-font-size, 12px); font-weight: normal; font-weight: var(--list-size-s-item-title-font-weight, normal); line-height: 1.3; line-height: var(--list-size-s-item-content-line-height, 1.3); padding: 8px 0px; padding: var(--list-size-s-item-padding-tb, 8px) var(--list-size-s-item-padding-lr, 0px); } .next-list-small .next-list-item-title { font-size: 14px; font-size: var(--list-size-s-item-title-font-size, 14px); line-height: 1.5; line-height: var(--list-size-s-item-title-line-height, 1.5); } .next-list-divider .next-list-item { border-bottom: 1px solid #DCDEE3; border-bottom: var(--line-1, 1px) solid var(--list-divider-color, #DCDEE3); } .next-list-divider .next-list-item:last-child { border-bottom: none; } .next-list[dir="rtl"] .next-list-item-media { padding-left: 8px; padding-left: var(--list-size-m-item-media-margin, 8px); padding-right: 0; } .next-list[dir="rtl"] .next-list-item-extra { padding-right: 8px; padding-right: var(--list-size-m-item-media-margin, 8px); padding-left: 0; } .next-list[dir="rtl"] .next-list-small .next-list-item-media { padding-left: 8px; padding-left: var(--list-size-s-item-media-margin, 8px); padding-right: 0; } .next-list[dir="rtl"] .next-list-small .next-list-item-extra { padding-right: 8px; padding-right: var(--list-size-s-item-media-margin, 8px); padding-left: 0; } .next-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; top: 0; margin: -1px; } .next-menu-btn { display: inline-block; box-shadow: none; } .next-menu-btn-spacing-tb { padding: 0px 0; padding: var(--popup-spacing-tb, 0px) 0; } .next-menu-btn .next-icon { transition: transform 100ms linear; transition: transform var(--motion-duration-immediately, 100ms) var(--motion-linear, linear); } .next-menu-btn .next-menu-btn-arrow::before { content: "\E63D"; content: var(--menu-btn-fold-icon-content, "\E63D"); } .next-menu-btn.next-expand .next-menu-btn-arrow { transform: rotate(180deg); } .next-menu-btn-symbol-unfold::before { content: ""; content: var(--menu-btn-unfold-icon-content, ""); } .next-menu-btn.next-btn-normal .next-menu-btn-arrow { color: #999999; color: var(--menu-btn-pure-text-normal-icon-color, #999999); } .next-menu-btn.next-btn-normal:hover .next-menu-btn-arrow { color: #333333; color: var(--btn-pure-normal-color-hover, #333333); } .next-menu-btn.next-btn-secondary .next-menu-btn-arrow { color: #5584FF; color: var(--menu-btn-pure-text-secondary-icon-color, #5584FF); } .next-menu-btn.next-btn-secondary:hover .next-menu-btn-arrow { color: #FFFFFF; color: var(--btn-pure-secondary-color-hover, #FFFFFF); } .next-menu-btn.next-btn-secondary.next-btn-text:hover .next-menu-btn-arrow { color: #5584FF; color: var(--btn-text-secondary-color-hover, #5584FF); } .next-menu-btn.next-btn-primary .next-menu-btn-arrow { color: #FFFFFF; color: var(--menu-btn-pure-text-primary-icon-color, #FFFFFF); } .next-menu-btn.next-btn-primary:hover .next-menu-btn-arrow { color: #FFFFFF; color: var(--btn-pure-primary-color-hover, #FFFFFF); } .next-menu-btn.next-btn-text.next-btn-normal .next-menu-btn-arrow { color: #333333; color: var(--menu-btn-text-text-normal-icon-color, #333333); } .next-menu-btn.next-btn-text.next-btn-normal:hover .next-menu-btn-arrow { color: #5584FF; color: var(--btn-text-normal-color-hover, #5584FF); } .next-menu-btn.next-btn-text.next-btn-primary .next-menu-btn-arrow { color: #5584FF; color: var(--menu-btn-text-text-primary-icon-color, #5584FF); } .next-menu-btn.next-btn-text.next-btn-primary:hover .next-menu-btn-arrow { color: #3E71F7; color: var(--btn-text-primary-color-hover, #3E71F7); } .next-menu-btn.next-btn-ghost.next-btn-light .next-menu-btn-arrow { color: #333333; color: var(--menu-btn-ghost-light-icon-color, #333333); } .next-menu-btn.next-btn-ghost.next-btn-light:hover .next-menu-btn-arrow { color: #999999; color: var(--btn-ghost-light-color-hover, #999999); } .next-menu-btn.next-btn-ghost.next-btn-dark .next-menu-btn-arrow { color: #FFFFFF; color: var(--menu-btn-ghost-dark-icon-color, #FFFFFF); } .next-menu-btn.next-btn-ghost.next-btn-dark:hover .next-menu-btn-arrow { color: #FFFFFF; color: var(--btn-ghost-dark-color-hover, #FFFFFF); } .next-menu-btn.disabled .next-menu-btn-arrow, .next-menu-btn[disabled] .next-menu-btn-arrow { color: #CCCCCC; color: var(--menu-btn-disabled-icon-color, #CCCCCC); } .next-menu-btn.next-btn-text.disabled .next-menu-btn-arrow, .next-menu-btn.next-btn-text[disabled] .next-menu-btn-arrow { color: #CCCCCC; color: var(--menu-btn-disabled-icon-color, #CCCCCC); } .next-menu-btn[disabled].next-btn-ghost.next-btn-dark .next-menu-btn-arrow { color: rgba(255, 255, 255, 0.4); color: var(--menu-btn-ghost-dark-disabled-icon-color, rgba(255, 255, 255, 0.4)); } .next-menu-btn[disabled].next-btn-ghost.next-btn-light .next-menu-btn-arrow { color: rgba(0, 0, 0, 0.1); color: var(--menu-btn-ghost-light-disabled-icon-color, rgba(0, 0, 0, 0.1)); } .next-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; top: 0; margin: -1px; } .next-nav { box-sizing: border-box; min-width: auto; border-radius: 0; } .next-nav *, .next-nav *:before, .next-nav *:after { box-sizing: border-box; } .next-nav-icon.next-icon { margin-right: 4px; margin-right: var(--nav-icon-self-margin, 4px); font-weight: inherit; } .next-nav-icon.next-icon:before, .next-nav-icon.next-icon .next-icon-remote { width: 12px; width: var(--nav-icon-self-size, 12px); font-size: 12px; font-size: var(--nav-icon-self-size, 12px); line-height: inherit; } .next-nav-group-label { height: 40px; height: var(--nav-group-height, 40px); line-height: 40px; line-height: var(--nav-group-height, 40px); font-size: 12px; font-size: var(--nav-group-font-size, 12px); } .next-nav-item .next-menu-item-text > span, .next-nav-item .next-nav-group-label > span { opacity: 1; transition: opacity 100ms linear; transition: opacity var(--motion-duration-immediately, 100ms) var(--motion-linear, linear); } .next-nav-item .next-menu-item-text > a { text-decoration: none; color: inherit; } .next-nav-item .next-menu-hoz-icon-arrow.next-icon, .next-nav-item .next-menu-icon-arrow.next-icon, .next-nav-item:hover .next-menu-hoz-icon-arrow.next-icon, .next-nav-item:hover .next-menu-icon-arrow.next-icon, .next-nav-item.next-focused .next-menu-hoz-icon-arrow.next-icon, .next-nav-item.next-focused .next-menu-icon-arrow.next-icon, .next-nav-item.next-selected .next-menu-hoz-icon-arrow.next-icon, .next-nav-item.next-selected .next-menu-icon-arrow.next-icon, .next-nav-item.next-opened .next-menu-hoz-icon-arrow.next-icon, .next-nav-item.next-opened .next-menu-icon-arrow.next-icon { color: inherit; top: 0; transform-origin: center 50%; } .next-nav.next-active .next-nav-item:before { position: absolute; transition: all 300ms ease; transition: all var(--motion-duration-standard, 300ms) var(--motion-ease, ease); content: ''; } .next-nav.next-hoz { padding: 0; height: 44px; height: calc(var(--nav-hoz-height, 44px) + var(--nav-hoz-item-margin-tb, 0px)*2); line-height: 42px; line-height: calc(var(--nav-hoz-height, 44px) - var(--popup-local-border-width, 1px)*2); font-size: 12px; font-size: var(--nav-hoz-font-size, 12px); } .next-nav.next-hoz .next-menu-item.next-nav-item { margin-left: 0px; margin-left: var(--nav-hoz-item-margin-lr, 0px); margin-right: 0px; margin-right: var(--nav-hoz-item-margin-lr, 0px); padding: 0 20px; padding: 0 var(--nav-hoz-item-padding-lr, 20px); border-radius: 0; border-radius: var(--nav-hoz-item-corner, 0); } .next-nav.next-hoz .next-menu-item, .next-nav.next-hoz .next-menu-sub-menu-wrapper > .next-menu-item { margin-top: 0px; margin-top: var(--nav-hoz-item-margin-tb, 0px); margin-bottom: 0px; margin-bottom: var(--nav-hoz-item-margin-tb, 0px); } .next-nav.next-hoz .next-menu-item-inner { height: 42px; height: calc(var(--nav-hoz-height, 44px) - var(--popup-local-border-width, 1px)*2); font-size: 12px; font-size: var(--nav-hoz-font-size, 12px); } .next-nav.next-hoz .next-menu-item.next-nav-item.next-nav-with-title { line-height: 1; padding: 12px 8px; padding: var(--s-3, 12px) var(--s-2, 8px); } .next-nav.next-hoz .next-menu-item.next-nav-item.next-nav-with-title .next-menu-item-inner { height: auto; min-height: 42px; min-height: calc(var(--nav-hoz-height, 44px) - var(--popup-local-border-width, 1px)*2); } .next-nav.next-hoz .next-menu-item.next-nav-item.next-nav-with-title .next-nav-text { display: block; line-height: 1; margin-top: 8px; margin-top: var(--s-2, 8px); overflow: hidden; text-overflow: ellipsis; } .next-nav.next-hoz .next-nav-group-label .next-menu-item-inner { height: 40px; height: var(--nav-group-height, 40px); line-height: 40px; line-height: var(--nav-group-height, 40px); font-size: 12px; font-size: var(--nav-group-font-size, 12px); } .next-nav.next-hoz .next-menu-header { float: left; height: 42px; height: calc(var(--nav-hoz-height, 44px) - var(--popup-local-border-width, 1px)*2); } .next-nav.next-hoz .next-menu-footer { float: right; height: 42px; height: calc(var(--nav-hoz-height, 44px) - var(--popup-local-border-width, 1px)*2); } .next-nav.next-hoz .next-nav-item:before { width: 0; left: 50%; height: 2px; height: var(--nav-hoz-item-selected-active-line, 2px); } .next-nav.next-hoz .next-nav-item:hover:before { height: 0px; height: var(--nav-hoz-item-hover-active-line, 0px); } .next-nav.next-hoz.next-top .next-nav-item:before { top: -1px; top: calc(0px - var(--popup-local-border-width, 1px)); } .next-nav.next-hoz.next-bottom .next-nav-item:before { bottom: -1px; bottom: calc(0px - var(--popup-local-border-width, 1px)); } .next-nav.next-hoz .next-selected.next-nav-item:before { width: 100%; left: 0; height: 2px; height: var(--nav-hoz-item-selected-active-line, 2px); } .next-nav.next-ver { padding: 0; transition: width 300ms ease; transition: width var(--motion-duration-standard, 300ms) var(--motion-ease, ease); line-height: 40px; line-height: var(--nav-ver-height, 40px); font-size: 12px; font-size: var(--nav-ver-font-size, 12px); } .next-nav.next-ver .next-menu-item.next-nav-item { margin-left: 0px; margin-left: var(--nav-ver-item-margin-lr, 0px); margin-right: 0px; margin-right: var(--nav-ver-item-margin-lr, 0px); padding: 0 20px; padding: 0 var(--nav-ver-item-padding-lr, 20px); border-radius: 0; border-radius: var(--nav-ver-item-corner, 0); } .next-nav.next-ver .next-menu-item:not(:first-child), .next-nav.next-ver .next-menu-sub-menu-wrapper:not(:first-child) > .next-menu-item { margin-top: 0px; margin-top: var(--nav-ver-item-margin-tb, 0px); } .next-nav.next-ver .next-menu-item:not(:last-child), .next-nav.next-ver .next-menu-sub-menu-wrapper:not(:last-child) > .next-menu-item { margin-bottom: 0px; margin-bottom: var(--nav-ver-item-margin-tb, 0px); } .next-nav.next-ver .next-menu-item-inner { height: 40px; height: var(--nav-ver-height, 40px); font-size: 12px; font-size: var(--nav-ver-font-size, 12px); } .next-nav.next-ver .next-menu-item.next-nav-item.next-nav-with-title { line-height: 1; padding: 12px 8px; padding: var(--s-3, 12px) var(--s-2, 8px); } .next-nav.next-ver .next-menu-item.next-nav-item.next-nav-with-title .next-menu-item-inner { height: auto; min-height: 40px; min-height: var(--nav-ver-height, 40px); } .next-nav.next-ver .next-menu-item.next-nav-item.next-nav-with-title .next-nav-text { display: block; line-height: 1; margin-top: 8px; margin-top: var(--s-2, 8px); overflow: hidden; text-overflow: ellipsis; } .next-nav.next-ver .next-nav-group-label .next-menu-item-inner { height: 40px; height: var(--nav-group-height, 40px); line-height: 40px; line-height: var(--nav-group-height, 40px); font-size: 12px; font-size: var(--nav-group-font-size, 12px); } .next-nav.next-ver > .next-menu-item:first-child, .next-nav.next-ver > .next-menu-sub-menu-wrapper:first-child > .next-menu-item { margin-top: 0px; margin-top: var(--nav-ver-item-margin-tb, 0px); } .next-nav.next-ver > .next-menu-item:last-child, .next-nav.next-ver > .next-menu-sub-menu-wrapper:last-child > .next-menu-item { margin-bottom: 0px; margin-bottom: var(--nav-ver-item-margin-tb, 0px); } .next-nav.next-ver .next-menu-sub-menu { line-height: 40px; line-height: var(--nav-ver-sub-nav-height, 40px); } .next-nav.next-ver .next-menu-sub-menu .next-menu-item-inner { height: 40px; height: var(--nav-ver-sub-nav-height, 40px); font-size: 12px; font-size: var(--nav-ver-sub-nav-font-size, 12px); } .next-nav.next-ver .next-nav-item:before { height: 0; top: 50%; width: 2px; width: var(--nav-ver-item-selected-active-line, 2px); } .next-nav.next-ver .next-nav-item:hover:before { width: 0px; width: var(--nav-ver-item-hover-active-line, 0px); } .next-nav.next-ver.next-left .next-nav-item:before, .next-nav.next-ver.next-top .next-nav-item:before { left: -1px; left: calc(0px - var(--popup-local-border-width, 1px)); } .next-nav.next-ver.next-right .next-nav-item:before, .next-nav.next-ver.next-bottom .next-nav-item:before { right: -1px; right: calc(0px - var(--popup-local-border-width, 1px)); } .next-nav.next-ver .next-selected.next-nav-item:before { height: 100%; top: 0; width: 2px; width: var(--nav-ver-item-selected-active-line, 2px); } .next-nav.next-primary { border-width: 0px; border-width: var(--nav-primary-border-width, 0px); background: #333333; background: var(--nav-primary-bg-color, #333333); border-color: #333333; border-color: var(--nav-primary-border-color, #333333); color: #FFFFFF; color: var(--nav-primary-text-color, #FFFFFF); font-weight: normal; font-weight: var(--nav-primary-text-style, normal); box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.12); box-shadow: var(--nav-primary-shadow, 2px 2px 4px 0px rgba(0, 0, 0, 0.12)); } .next-nav.next-primary.next-hoz { line-height: 44px; line-height: var(--nav-hoz-height, 44px); line-height: 44px; line-height: calc(var(--nav-hoz-height, 44px) - var(--nav-primary-border-width, 0px)*2); } .next-nav.next-primary.next-hoz .next-menu-header, .next-nav.next-primary.next-hoz .next-menu-footer, .next-nav.next-primary.next-hoz .next-menu-item-inner { line-height: 44px; line-height: var(--nav-hoz-height, 44px); height: 44px; height: calc(var(--nav-hoz-height, 44px) - var(--nav-primary-border-width, 0px)*2); } .next-nav.next-primary.next-hoz.next-top .next-nav-item:before { top: 0; top: 0px; top: calc(0px - var(--nav-primary-border-width, 0px)); } .next-nav.next-primary.next-hoz.next-bottom .next-nav-item:before { bottom: 0; bottom: 0px; bottom: calc(0px - var(--nav-primary-border-width, 0px)); } .next-nav.next-primary.next-ver.next-left .next-nav-item:before { left: 0; left: 0px; left: calc(0px - var(--nav-primary-border-width, 0px)); } .next-nav.next-primary.next-ver.next-right .next-nav-item:before { right: 0; right: 0px; right: calc(0px - var(--nav-primary-border-width, 0px)); } .next-nav.next-primary .next-nav-item.next-menu-item { background: #333333; background: var(--nav-primary-bg-color, #333333); color: #FFFFFF; color: var(--nav-primary-text-color, #FFFFFF); } .next-nav.next-primary .next-nav-item.next-menu-item.next-focused, .next-nav.next-primary .next-nav-item.next-menu-item:hover { background: #000000; background: var(--nav-primary-item-hover-bg-color, #000000); color: #FFFFFF; color: var(--nav-primary-item-hover-text-color, #FFFFFF); font-weight: normal; font-weight: var(--nav-primary-item-hover-text-style, normal); } .next-nav.next-primary .next-nav-item.next-menu-item.next-selected { background: #000000; background: var(--nav-primary-it