UNPKG

@mdsfe/mds-ui

Version:

A set of enterprise-class Vue UI components.

321 lines (320 loc) 8.21 kB
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ /* stylelint-disable declaration-bang-space-before */ /* stylelint-disable declaration-bang-space-before */ .mds-upload__input { display: none; } .upload-content { width: 108px; } .mds-upload-files-info { margin-top: 8px; } .mds-upload-files-info .mds-upload-succeed { background-color: #fafafd; } .mds-upload-files-info .mds-upload-error { background-color: #fff2f0; } .mds-upload-upload-text .mds-upload-card { height: 40px; width: 354px; border-radius: 2px; box-sizing: border-box; padding: 0 36px 0 12px; font-weight: 400; position: relative; overflow: hidden; display: flex; align-items: center; cursor: pointer; line-height: 40px; margin-top: 3px; } .mds-upload-upload-text .mds-upload-card-status { position: absolute; right: 13px; top: 0px; color: #ccd2db; line-height: 40px; min-width: 16px; min-height: 60px; } .mds-upload-upload-text .mds-upload-card-status i { font-size: 16px; } .mds-upload-upload-text .mds-upload-card-success { color: #00ba00; } .mds-upload-upload-text .mds-upload-card-error { color: #ee3333; } .mds-upload-upload-text .mds-upload-card-delete { display: none; } .mds-upload-upload-text .mds-upload-card-eyes { display: none; margin-right: 15px; } .mds-upload-upload-text .mds-upload-card-process-bar { position: absolute; bottom: 0; left: 0; height: 2px; background-color: #00ba00; } .mds-upload-upload-text .mds-upload-card:hover { background-color: #eef8ff; } .mds-upload-upload-text .mds-upload-card:hover .mds-upload-card-delete { display: inline-block; } .mds-upload-upload-text .mds-upload-card:hover .mds-upload-card-success { display: none !important; } .mds-upload-upload-text .mds-upload-card:hover .mds-upload-card-error { display: none !important; } .mds-upload-upload-text .mds-upload-card:hover .mds-upload-card-eyes { display: inline-block; } .mds-upload-upload-text .mds-upload-card-name { display: inline-block; width: 270px; margin-left: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mds-upload-imgs .mds-upload-card { height: 61px; width: 354px; border-radius: 2px; box-sizing: border-box; padding: 0 36px 0 12px; font-weight: 400; position: relative; overflow: hidden; display: flex; align-items: center; cursor: pointer; margin-top: 3px; } .mds-upload-imgs .mds-upload-card-status { position: absolute; right: 13px; top: 0px; color: #ccd2db; line-height: 61px; min-width: 16px; min-height: 60px; } .mds-upload-imgs .mds-upload-card-status i { font-size: 16px; } .mds-upload-imgs .mds-upload-card-success { color: #00ba00; } .mds-upload-imgs .mds-upload-card-error { color: #ee3333; } .mds-upload-imgs .mds-upload-card-delete { display: none; } .mds-upload-imgs .mds-upload-card-eyes { display: none; margin-right: 15px; } .mds-upload-imgs .mds-upload-card-process-bar { position: absolute; bottom: 0; left: 0; height: 2px; background-color: #00ba00; } .mds-upload-imgs .mds-upload-card:hover { background-color: #eef8ff; } .mds-upload-imgs .mds-upload-card:hover .mds-upload-card-delete { display: inline-block; } .mds-upload-imgs .mds-upload-card:hover .mds-upload-card-success { display: none !important; } .mds-upload-imgs .mds-upload-card:hover .mds-upload-card-error { display: none !important; } .mds-upload-imgs .mds-upload-card:hover .mds-upload-card-eyes { display: inline-block; } .mds-upload-imgs .mds-upload-card > i:nth-child(1) { font-size: 27px; } .mds-upload-imgs .mds-upload-card-icon { height: 31px; width: 31px; } .mds-upload-imgs .mds-upload-card-data { margin-left: 4px; overflow: hidden; } .mds-upload-imgs .mds-upload-card-data-name { font-size: 14px; font-family: PingFangSC-Medium, PingFang SC; color: #354052; line-height: 22px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mds-upload-imgs .mds-upload-card-data-size { font-size: 12px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #ee3333; line-height: 20px; } .upload-list-photo-wall { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; } .upload-list-photo-wall .upload-list-photo_item { width: 130px; height: 130px; padding: 8px; border-radius: 4px; border: 1px solid #cad2dd; margin-right: 8px; margin-bottom: 8px; } .upload-list-photo-wall .upload-list-photo_item .upload-list-photo_item-done { width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; position: relative; } .upload-list-photo-wall .upload-list-photo_item .upload-list-photo_item-done .upload-list-photo_item-thumbnail { max-width: 100%; max-height: 100%; border-radius: 4px; } .upload-list-photo-wall .upload-list-photo_item .upload-list-photo_item-done .upload-list-photo_item-tool { display: none; } .upload-list-photo-wall .upload-list-photo_item .upload-list-photo_item-done .upload-list-photo_item-tool li { cursor: pointer; } .upload-list-photo-wall .upload-list-photo_item .upload-list-photo_item-done:hover .upload-list-photo_item-tool { position: absolute; bottom: 0; left: 0; width: 100%; display: flex; align-items: center; justify-content: space-around; height: 36px; background: rgba(0, 0, 0, 0.65); border-radius: 4px; font-size: 16px; color: white; } .upload-list-photo-wall .upload-list-photo_item .upload-list-photo_item-uploading { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: space-around; padding-top: 8px; } .upload-list-photo-wall .upload-list-photo_item .upload-list-photo_item-uploading .fileType { font-size: 40px; } .upload-list-photo-wall .upload-list-photo_item .upload-list-photo_item-uploading .uploadProgress { width: 100%; height: 18px; padding: 0 8px; } .upload-list-photo-wall .upload-list-photo_item .upload-list-photo_item-uploading span { font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #7f8fa4; line-height: 22px; } .upload-list-photo-wall .upload-list-photo_item .upload-list-photo_item-fail { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 14px; } .upload-list-photo-wall .upload-list-photo_item .upload-list-photo_item-fail .errorType { font-size: 40px; color: #EE3333; } .upload-list-photo-wall .upload-list-photo_item .upload-list-photo_item-add { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #CCD2DB; } .upload-list-photo-wall .upload-list-photo_item .upload-list-photo_item-add .plusType { font-size: 28px; margin-bottom: 4px; } .upload-list-photo-wall .upload-list-photo_item .upload-list-photo_item-add span { font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #7f8fa4; line-height: 22px; } .upload-list-photo-wall .upload-list-photo_add { background: #fafafd; border-radius: 4px; border: 1px dashed #ccd2db; cursor: pointer; } .upload-list-dragger { width: 360px; border-radius: 4px; border: 1px dashed #ccd2db; padding: 8px; } .upload-list-dragger .upload-list-dragger_content { background: #fafafd; border-radius: 4px; width: 100%; font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #7f8fa4; line-height: 22px; } .upload-list-dragger .upload-list-dragger_content .defaultUploadIcon { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 180px; } .upload-list-dragger .upload-list-dragger_content .defaultUploadIcon .uploadIcon { font-size: 46px; margin-bottom: 12px; } .upload-list-dragger .upload-list-dragger_content .defaultUploadIcon a { color: #0364ff; } /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ /* stylelint-disable declaration-bang-space-before */ /* stylelint-disable declaration-bang-space-before */