-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupload.css
64 lines (61 loc) · 1.16 KB
/
upload.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
* {
margin: 0;
padding: 0;
}
*, *:after, *:before {
box-sizing: border-box;
}
html, input, textarea {
font: 100%/1.5em Helvetica, Arial, sans-serif;
}
body {
margin: 7% auto;
width: 600px;
}
h1 {
background: #444;
border-radius: 3px;
color: white;
padding: 2%;
text-align: center;
text-transform: uppercase;
}
form {
background: #f0f0f0;
border: 1px #ccc solid;
border-radius: 3px;
margin-top: 5%;
padding: 5%;
}
form div.photos {
margin-right: -19px;
overflow: hidden;
}
form div.photos > div {
border-radius: 3px;
float: left;
height: 90px;
margin: 19px 19px 0 0;
width: 120px;
}
form div.photos > div.uploading {
border: 1px #ccc solid;
}
form div.photos > div.uploaded {
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
form div.photos > div.uploading span.progress {
background: white;
border-radius: 2px;
display: block;
height: 10px;
margin: 40px 5px;
overflow: hidden;
}
form div.photos > div.uploading span.progress span {
background: #999;
display: block;
height: 100%;
}