-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
86 lines (75 loc) · 1.3 KB
/
main.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
body {
font-family: sans-serif;
background-color: #eeeeee;
}
.upload-btn-wrapper {
position: relative;
overflow: hidden;
display: inline-block;
}
.btn {
width: 100%;
margin: 0;
color: #fff;
background: #1fb264;
border: none;
padding: 10px;
border-radius: 4px;
border-bottom: 4px solid #15824b;
transition: all 0.2s ease;
outline: none;
text-transform: uppercase;
font-weight: 700;
}
.upload-btn-wrapper input[type="file"] {
font-size: 100px;
position: absolute;
left: 0;
top: 0;
opacity: 0;
}
.container {
display: flex;
gap: 50%;
}
.file-upload {
background-color: #ffffff;
width: 600px;
margin: 0 auto;
padding: 20px;
}
.file-upload-wrap {
margin-top: 20px;
border: 4px dashed #1fb264;
position: relative;
}
.drag-text h3 {
font-weight: 100;
text-transform: uppercase;
color: #15824b;
padding: 60px 0;
}
.remove-file {
width: 100%;
margin: 0;
color: #fff;
background: #cd4535;
border: none;
padding: 10px;
border-radius: 4px;
border-bottom: 4px solid #b02818;
transition: all 0.2s ease;
outline: none;
text-transform: uppercase;
font-weight: 700;
}
.remove-file:hover {
background: #c13b2a;
color: #ffffff;
transition: all 0.2s ease;
cursor: pointer;
}
.remove-file:active {
border: 0;
transition: all 0.2s ease;
}