123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179 |
- .fileUploader {
- @apply mb-9;
- }
- .fileUploader .title {
- @apply mb-2;
- font-weight: 500;
- font-size: 16px;
- line-height: 24px;
- color: #344054;
- }
- .fileUploader .tip {
- @apply mt-2;
- font-weight: 400;
- font-size: 12px;
- line-height: 26px;
- color: #667085;
- }
- .uploader {
- @apply relative box-border flex justify-center items-center;
- max-width: 640px;
- height: 80px;
- background: #F9FAFB;
- border: 1px dashed #EAECF0;
- border-radius: 12px;
- font-weight: 400;
- font-size: 14px;
- line-height: 20px;
- color: #667085;
- }
- .uploader.dragging {
- background: #F5F8FF;
- border: 1px dashed #B2CCFF;
- }
- .uploader .draggingCover {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- }
- .uploader::before {
- content: '';
- display: block;
- margin-right: 8px;
- width: 24px;
- height: 24px;
- background: center no-repeat url(../assets/upload-cloud-01.svg);
- background-size: contain;
- }
- .uploader .browse{
- @apply pl-1 cursor-pointer;
- color: #155eef;
- }
- .file {
- @apply box-border relative flex items-center;
- padding: 21px 24px 21px 64px;
- max-width: 640px;
- height: 80px;
- background: #F9FAFB;
- border: 1px solid #F2F4F7;
- border-radius: 12px;
- overflow: hidden;
- }
- .progressbar {
- position: absolute;
- top: 0;
- left: 0;
- height: 100%;
- background-color: #F2F4F7;
- }
- .file:hover {
- background: #F5F8FF;
- border: 1px solid #D1E0FF;
- }
- .file:hover .actionWrapper .buttonWrapper {
- display: flex;
- align-items: center;
- }
- .file:hover .actionWrapper .divider {
- display: block;
- }
- .file.uploading,
- .file.uploading:hover {
- background: #FCFCFD;
- border: 1px solid #EAECF0;
- }
- .file.uploading:hover .actionWrapper .percent {
- padding: 8px;
- }
- .file.uploading:hover .actionWrapper .buttonWrapper {
- display: flex;
- align-items: center;
- }
- .fileIcon {
- @apply w-8 h-8 bg-center bg-no-repeat;
- position: absolute;
- top: 24px;
- left: 24px;
- background-image: url(../assets/unknow.svg);
- background-size: 32px;
- }
- .fileIcon.csv {
- background-image: url(../assets/csv.svg);
- }
- .fileIcon.xlsx,
- .fileIcon.xls {
- background-image: url(../assets/xlsx.svg);
- }
- .fileIcon.pdf {
- background-image: url(../assets/pdf.svg);
- }
- .fileIcon.html,
- .fileIcon.htm {
- background-image: url(../assets/html.svg);
- }
- .fileIcon.md,
- .fileIcon.markdown {
- background-image: url(../assets/md.svg);
- }
- .fileIcon.txt {
- background-image: url(../assets/txt.svg);
- }
- .fileIcon.json {
- background-image: url(../assets/json.svg);
- }
- .fileInfo {
- @apply grow;
- z-index: 1;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .filename {
- font-weight: 500;
- font-size: 14px;
- line-height: 20px;
- }
- .name {
- color: #1D2939;
- line-height: 20px;
- }
- .extension {
- color: #667085;
- line-height: 20px;
- }
- .fileExtraInfo {
- color: #667085;
- font-size: 12px;
- line-height: 18px;
- }
- .actionWrapper {
- @apply flex items-center shrink-0;
- z-index: 1;
- }
- .actionWrapper .percent {
- font-size: 16px;
- line-height: 24px;
- color: #344054;
- }
- .actionWrapper .divider {
- display: none;
- margin: 0 8px;
- width: 1px;
- height: 16px;
- background: #FEE4E2;
- }
- .actionWrapper .remove {
- width: 32px;
- height: 32px;
- background: center no-repeat url(../assets/trash.svg);
- background-size: 16px;
- cursor: pointer;
- }
- .actionWrapper .buttonWrapper {
- @apply flex items-center;
- display: none;
- }
|