UNPKG

@aplus-frontend/ui

Version:

148 lines (147 loc) 3.56 kB
.reset-component { box-sizing: border-box; margin: 0; padding: 0; color: #182948; font-size: 12px; font-family: inherit; line-height: 18px; list-style: none; } .reset-scrollbar ::-webkit-scrollbar { width: 10px; height: 10px; } .reset-scrollbar ::-webkit-scrollbar-thumb { background-color: var(--ap-scrollbar-thumb-color-base); background-clip: content-box; border: 1px solid transparent; border-radius: 4px; } .reset-scrollbar ::-webkit-scrollbar-track, .reset-scrollbar ::-webkit-scrollbar-corner { background-color: var(--ap-table-header-bg, #f2f6f9); } .reset-scrollbar ::-webkit-scrollbar-thumb:hover, .reset-scrollbar ::-webkit-scrollbar-thumb:active { background-color: var(--ap-scrollbar-thumb-color-hover); } .clear-fix::before { display: table; content: ''; } .clear-fix::after { display: table; clear: both; content: ''; } .common-style { box-sizing: border-box; font-size: 12px; font-family: inherit; } .common-style::before, .common-style::after { box-sizing: border-box; } .aplus-ap-upload-single { -webkit-user-select: none; -moz-user-select: none; user-select: none; } .aplus-ap-upload-single .ant-upload-drag { background: #F2F6F9; border: 1px dashed var(--ap-border-color-base); height: 200px; } .aplus-ap-upload-single .ant-upload-drag:not(.ant-upload-disabled):hover { background: rgba(0, 112, 255, 0.1); border-color: #0070ff; } .aplus-ap-upload-single .ant-upload-drag .ant-upload-btn { padding: 0; } .aplus-ap-upload-single .ant-upload-drag .ant-upload-disabled { cursor: default; } .aplus-ap-upload-single-affix-wrapper-status-error .ant-upload-drag:not(.ant-upload-disabled) { border-color: #FF4D4F; } .aplus-ap-upload-single-affix-wrapper-status-error .ant-upload-drag:not(.ant-upload-disabled):hover { border-color: #FF4D4F80; } .aplus-ap-upload-single__content { display: flex; justify-content: center; align-items: center; height: 100%; } .aplus-ap-upload-single__content-file { width: min(516px, 77.24%); height: 96px; background: #FFFFFF; border-radius: 4px; display: flex; align-items: center; padding: 0 24px; } .aplus-ap-upload-single__content-file-icon { flex-shrink: 0; margin-right: 16px; } .aplus-ap-upload-single__content-file-icon svg { width: 48px; } .aplus-ap-upload-single__content-file-name { flex: 1; text-align: start; } .aplus-ap-upload-single__content-file-name > .ant-typography { color: var(--name-color); margin-bottom: 0; word-break: break-all; } .aplus-ap-upload-single__content-file-delete { flex-shrink: 0; margin-left: 24px; } .aplus-ap-upload-single__content-file-delete svg { width: 20px; color: #ff4d4f; font-size: 20px; cursor: pointer; } .aplus-ap-upload-single__content-ing-name { --name-color: var(--ap-text-color-2); } .aplus-ap-upload-single__content-ing-name .ant-progress-line { margin-inline-end: 0; margin-bottom: 0; } .aplus-ap-upload-single__content-error-name { --name-color: #FF4D4F; } .aplus-ap-upload-single__content-done-name { --name-color: #0070ff; } .aplus-ap-upload-single__content-empty { cursor: pointer; display: flex; flex-direction: column; align-items: center; } .aplus-ap-upload-single__content-empty-icon svg { width: 56px; } .aplus-ap-upload-single__content-empty-title { margin-top: 10px; color: var(--ap-text-color-2); font-size: 16px; line-height: 22px; } .aplus-ap-upload-single__content-empty-sub-title { margin-top: 4px; color: var(--ap-text-color-4); font-size: 12px; line-height: 18px; }