-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
137 lines (117 loc) · 2.33 KB
/
style.css
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
132
133
134
135
136
137
body {
margin: 15px;
padding: 15px;
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
}
.root {
display: flex;
flex-direction: column;
align-items: center;
max-width: 800px;
gap: 20px;
}
.description {
text-align: center;
line-height: 1.6rem;
}
:root {
--primary-color: #007bff;
--primary-color-hover: #0056b3;
--secondary-color: #1534b3;
--secondary-color-hover: #0d1f7a;
--muted-color: aliceblue;
--primary-color-text: #f0f0f0;
}
#drop_zone {
background: var(--muted-color);
width: 100%;
max-width: 800px;
min-height: 20vh;
padding: 20px 0 20px 0;
border: 2px dashed var(--primary-color);
border-radius: 3px;
display: flex;
justify-content: center;
align-items: center;
font-size: 24px;
}
#drop_zone.dragover {
background-color: var(--primary-color);
}
#drop_zone label {
cursor: pointer;
padding: 10px 20px;
background-color: var(--primary-color);
color: var(--primary-color-text);
border-radius: 5px;
}
#drop_zone label:hover {
background-color: var(--primary-color-hover);
}
#drop_zone input[type='file'] {
display: none;
}
.controls {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 20px;
width: fit-content;
}
.controls div {
display: flex;
gap: 10px;
justify-content: space-between;
width: 100%;
}
.fileList {
list-style: none;
}
.fileList li {
background-color: var(--muted-color);
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid var(--secondary-color);
padding: 0;
margin: 0;
min-width: 300px;
}
.fileList li:first-child {
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-top: none;
}
.fileList li:first-child a {
border-top-right-radius: 5px;
}
.fileList li:last-child {
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom: none;
}
.fileList li:last-child a {
border-bottom-right-radius: 5px;
}
.fileList li span {
padding: 10px 15px;
}
.fileList li a {
padding: 10px 10px;
background-color: var(--primary-color);
color: var(--primary-color-text);
border: none;
cursor: pointer;
}
.fileList li a:hover {
background-color: var(--primary-color-hover);
}
a.disabled {
background-color: gray;
pointer-events: none;
cursor: default;
}