-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
116 lines (104 loc) · 2.43 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
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
margin-top: 60px;
}
.drop-zone {
max-width: 200px;
height: 200px;
padding: 25px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
font-weight: 500;
font-size: 20px;
cursor: pointer;
color: #fff;
border: 4px dashed #fff;
border-radius: 10px;
}
.drop-zone--over {
border-style: solid;
}
.drop-zone__input {
display: none;
}
.drop-zone__thumb {
width: 100%;
height: 100%;
border-radius: 10px;
overflow: hidden;
background-color: #cccccc;
background-size: cover;
position: relative;
}
.drop-zone__thumb::after {
content: attr(data-label);
position: absolute;
bottom: 0;
left: 0;
width: 100%;
padding: 5px 0;
color: #ffffff;
background: rgba(0, 0, 0, 0.75);
font-size: 14px;
text-align: center;
}
* {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
'Helvetica Neue', sans-serif;
}
html,
body {
margin: 0;
height: 100%;
overflow: hidden;
}
h1 {
color: #fff;
margin-bottom: 144px;
margin-left: 45px;
margin-right: 45px;
text-align: center;
}
#input-menu {
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
}
body {
display: flex;
flex-direction: column;
justify-content: center;
color: #fff;
background: #870000; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #190a05, #870000); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(
to right,
#190a05,
#870000
); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.progress {
height: 10px;
width: 100%;
}
#bar {
width: 0%;
height: 100%;
background: #d9a7c7; /* fallback for old browsers */
background: -webkit-linear-gradient(to left, #fffcdc, #d9a7c7); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(
to left,
#fffcdc,
#d9a7c7
); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
box-shadow: 5px 5px 20px #d9a7c7, -5px -5px 20px #d9a7c7;
border-top-right-radius: 100vmax;
border-bottom-right-radius: 100vmax;
}