-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupload.css
More file actions
224 lines (223 loc) · 3.48 KB
/
Copy pathupload.css
File metadata and controls
224 lines (223 loc) · 3.48 KB
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
/* base */
html {
box-sizing: border-box;
}
* {
margin: 0;
padding: 0;
box-sizing: inherit;
}
*:before,
*:after {
box-sizing: inherit;
}
html,
body {
width: 100%;
height: 100%;
font-family: 'helvetica';
}
button {
border: none;
outline: none;
}
.clearfix {
clear: both;
}
/*upload*/
.album {
width: 1000px;
margin: 0 auto 100px auto;
position: relative;
}
.files {
margin-bottom: 70px;
}
.files li {
list-style-type: none;
float: left;
position: relative;
width: 154px;
height: 160px;
margin: 0 0px 8px 38px;
}
.files li a {
text-decoration: none;
}
.files li .thumb,
.files li img {
height: 104px;
width: 154px;
cursor: default;
margin-bottom: 10px;
font-size: 0;
}
.files li .thumb {
display: inline-block;
background-position: center center;
background-size: cover;
}
.minidrop {
width: 154px;
height: 104px;
border-radius: 5px;
border: 2px dashed #626262;
display: block;
font-size: 1.3rem;
line-height: 104px;
overflow: hidden;
margin-left: 40px;
text-align: center;
position: relative;
float: left;
}
.files li .del {
position: absolute;
color: #fff;
text-align: center;
padding: 0px 5px 0px 5px;
top: 5px;
right: 3px;
font-size: 2.8rem;
cursor: pointer;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
border-radius: 50%;
border: 1px solid transparent;
line-height: 25px;
transition: all 0.1s ease;
}
.files li .del:hover {
/* border-radius:50%; */
/* background: #C0382B; */
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
color: #fff;
/* box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.5); */
transition: all 0.1s ease;
}
.files li .del i {
text-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
}
.files li .set {
border: solid 1px #aaa;
color: #aaa;
border-radius: 4px;
padding: 3px 6px 3px 6px;
cursor: pointer;
position: absolute;
top: 5px;
left: 5px;
font-weight: 300;
transition: all 0.1s ease;
background: rgba(255, 255, 255, 0.8);
}
.files li .set:hover {
border-color: #33cc77;
color: #33cc77;
transition: all 0.1s ease;
}
.files li .handler {
color: #aaa;
cursor: grab;
display: inline-block;
width: 100%;
padding: 5px;
position: absolute;
top: -25px;
}
.files li .handler:active {
cursor: grabbing;
}
.files li .red {
color: #33cc77;
}
.files li .no {
position: absolute;
left: 0px;
top: -22px;
bottom: 20px;
z-index: 9;
color: #aaa;
}
.upload-wrapper {
display: block;
font-size: 20px;
line-height: 300px;
overflow: hidden;
position: relative;
margin: auto;
color: #626262;
}
.upload {
cursor: pointer;
font-size: 460px;
margin: 0;
opacity: 0;
padding: 0;
position: absolute;
right: 0;
top: 0;
height: 100%;
}
.progress-container {
width: 100%;
height: 104px;
text-align: center;
position: relative;
border: 1px solid #aaa;
border-radius: 5px;
}
.progress-container:before {
content: '';
display: inline-block;
vertical-align: middle;
}
.stf {
padding: 20px;
text-align: center;
}
.stf input {
border: 1px solid #000;
padding: 10px;
}
.progressor {
position: absolute;
margin: auto;
right: 0;
left: 0;
top: 0;
bottom: 0;
width: 50%;
height: 10%;
font-size: 2rem;
color: #999;
font-weight: 300;
}
.progress-bar-container {
border-radius: 3px;
width: 90%;
position: absolute;
bottom: 10%;
margin: auto;
right: 0;
left: 0;
background: #ddd;
}
.header {
text-align: center;
padding-top: 20px;
}
.progress-bar {
border-radius: 3px;
background: #63e46a;
height: 3px;
width: 1px;
}
#drop-area {
border: 2px dashed #626262;
height: 300px;
margin: 0 auto;
padding: 10px;
text-align: center;
width: 400px;
border-radius: 5px;
}