-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
143 lines (121 loc) · 2.24 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
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
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
body {
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
background: #927dfc;
}
.wrapper {
width: 450px;
height: 306px;
padding: 20px;
background-color: #fff;
border-radius: 7px;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
transition: height 0.2s ease;
}
.wrapper.active {
height: 530px;
}
.wrapper h2 {
margin-top: -5px;
text-align: center;
}
.wrapper .upload-box {
height: 225px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
border-radius: 5px;
border: 2px dashed #afafaf;
cursor: pointer;
margin-top: 10px;
}
.wrapper.active .upload-box {
border: none;
}
.upload-box p {
font-size: 1rem;
margin-top: 20px;
}
.wrapper.active .upload-box p {
display: none;
}
.wrapper.active .upload-box img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 5px;
}
.wrapper .content {
opacity: 0;
pointer-events: none;
margin-top: 20px;
}
.wrapper.active .content {
opacity: 1;
pointer-events: auto;
transition: opacity 0.5s 0.05s ease;
}
.content .row {
display: flex;
justify-content: space-between;
}
.content .row .column {
width: calc(100% / 2 - 15px);
}
.row .column label {
font-size: 1rem;
}
.sizes .column input {
width: 100%;
height: 49px;
outline: none;
padding: 0 15px;
border: 1px solid #aaa;
border-radius: 3px;
font-size: 1rem;
margin-top: 5px;
}
.sizes .column input:focus {
padding: 0 14px;
border: 2px solid #927dfc;
}
.content .checkboxes {
margin-top: 20px;
}
.checkboxes .column {
display: flex;
align-items: center;
}
.checkboxes .column input {
width: 15px;
height: 15px;
accent-color: #927dfc;
margin-right: 7px;
cursor: pointer;
}
.content .download-btn {
width: 100%;
color: #fff;
background-color: #927dfc;
outline: none;
border: none;
padding: 15px 0;
margin: 20px 0 5px;
border-radius: 2px;
cursor: pointer;
font-size: 1rem;
font-weight: 500;
}
.download-btn:hover {
box-shadow: 0 5px 8px rgba(0, 0, 0, 0.1);
}