wwf
2025-05-20 938c3e5a587ce950a94964ea509b9e7f8834dfae
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
.file {
  @apply box-border relative flex items-center justify-between;
  padding: 8px 12px 8px 8px;
  max-width: 640px;
  height: 40px;
  background: #ffffff;
  border: 0.5px solid #EAECF0;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}
 
.progressbar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: #F2F4F7;
}
 
.file.uploading,
.file.uploading:hover {
  background: #FCFCFD;
  border: 0.5px solid #EAECF0;
}
 
.file.active {
  background: #F5F8FF;
  border: 1px solid #D1E0FF;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
}
 
.file:hover {
  background: #F5F8FF;
  border: 1px solid #D1E0FF;
  box-shadow: 0px 4px 8px -2px rgba(16, 24, 40, 0.1), 0px 2px 4px -2px rgba(16, 24, 40, 0.06);
}
 
.fileIcon {
  @apply shrink-0 w-6 h-6 mr-2 bg-center bg-no-repeat;
  background-image: url(../assets/unknown.svg);
  background-size: 24px;
}
 
.fileIcon.csv {
  background-image: url(../assets/csv.svg);
}
 
.fileIcon.doc {
  background-image: url(../assets/doc.svg);
}
 
.fileIcon.docx {
  background-image: url(../assets/docx.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 flex items-center;
  z-index: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
 
.filename {
  font-weight: 500;
  font-size: 13px;
  line-height: 18px;
  color: #1D2939;
}
 
.size {
  @apply ml-3;
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  color: #667085;
}
 
.actionWrapper {
  @apply flex items-center shrink-0;
  z-index: 1;
}
 
.actionWrapper .percent {
  font-weight: 400;
  font-size: 13px;
  line-height: 18px;
  color: #344054;
}
 
.actionWrapper .remove {
  display: none;
  width: 24px;
  height: 24px;
  background: center no-repeat url(../assets/trash.svg);
  background-size: 16px;
  cursor: pointer;
}
 
.file:hover .actionWrapper .remove {
  display: block;
}