-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
82 lines (67 loc) · 1.36 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
:root {
--main-bg-color: #eff5fe;
--border-color: #0288d147;
}
body, html{
font-family: system-ui;
background: var(--main-bg-color);
height: 100%;
padding: 0;
margin: 0;
}
body, .drop-zone{
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.upload-container{
background: #ffffff;
border-radius: 25px;
box-shadow: 0px 20px 20px #0000002e;
}
.drop-zone{
width: 500px;
min-height: 200px;
border: 2px dashed var(--border-color);
margin: 30px;
border-radius: 10px;
transition: all .2s ease;
}
.dragged.drop-zone {
background: var(--main-bg-color);
border-color: #2196f3;
}
.icon-container {
width: 75px;
height: 100px;
position: relative;
}
.icon-container img{
width: 75px;
position: absolute;
transform-origin: bottom;
transition: transform 250ms ease-in-out;
}
.icon-container .centre {
z-index: 2;
}
.icon-container .right, .icon-container .left {
filter: grayscale(.5);
}
.dragged .icon-container .right{
transform: rotate(10deg) translateX(20px) scale(.9);
}
.dragged .icon-container .left{
transform: rotate(-10deg) translateX(-20px) scale(.9);
}
.dragged .icon-container .center {
transform: translateY(-5px);
}
#fileInput{
display: none;
}
.browseBtn{
color: #2196f3;
cursor: pointer;
}