-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
241 lines (180 loc) · 3.94 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body, input,button,select,textarea{
font-family: 'Poppins', sans-serif;
}
body {
background: #E5E5E5;
}
body::before {
content: '';
width: 100%;
height: 368px;
position: absolute;
top: 0;
left: 0;
z-index: -1;
background-color: #121214;
}
.page {
width: 736px;
margin: auto;
}
header {
width: 319px;
margin-top: 74px;
}
header h1 {
font-family: 'Archivo', sans-serif;
font-weight: bold;
font-size: 36px;
line-height: 42px;
color: white;
margin-bottom: 24px;
}
header p{
font-size: 16px;
line-height: 26px;
color: #42D3FF;
}
form {
margin-top: 38px;
background: #FAFAFC;
border-radius: 8px 8px 0 0;
min-height: 300px;
padding: 64px;
display: flex;
flex-direction: column;
gap: 48px;
}
fieldset {
border: none;
}
.fieldset-wrapper {
display: flex;
flex-direction: column;
gap: 24px;
}
fieldset legend {
font-family: 'Archivo', sans-serif;
font-weight: 600;
font-size: 24px;
line-height: 34px;
width: 100%;
border-bottom: 1px solid #E6E6F0;
padding-bottom: 16px;
}
.input-wrapper {
display: flex;
flex-direction: column;
}
.input-wrapper label
.checkbox-wrapper label {
font-size: 14px;
line-height: 24px;
color: #4E4958;
margin-bottom: 8px;
}
.input-wrapper label span {
margin-left: 12px;
font-size: 12px;
line-height: 20px;
color: #8f8d95;
}
.input-wrapper label span:hover {
color: #a9a7af;
}
.input-wrapper input,
.input-wrapper textarea,
.input-wrapper select {
background: #FAFAFC;
border: 1px solid #E6E6F0;
border-radius: 8px;
height: 56px;
padding: 0 24px;
font-size: 16px;
line-height: 26px;
color: #6c6a71;
}
.input-wrapper textarea {
padding: 0;
height: 168px;
}
.input-wrapper select {
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
-ms-expand: none;
background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_1_54)'%3E%3Cpath d='M8 10L12 14L16 10' stroke='%239C98A6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_1_54'%3E%3Crect width='24' height='24' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
background-repeat: no-repeat;
background-position: right 24px center;
padding-right: 40px; /* Espaço para a seta */
}
.col-3 {
display: flex;
gap: 20px;
}
.col-3 > div:nth-child(1) {
width: 100%;
}
.checkbox-wrapper{
position: relative;
}
.checkbox-wrapper label{
display: flex;
align-items: center;
gap: 16px;
margin: 0;
}
.checkbox-wrapper input {
position: absolute;
top: 0;
left: 0;
width: 24px;
height: 24px;
opacity: 0;
}
.checkbox-wrapper label::before {
content:'';
width: 24px;
height: 24px;
display: block;
border: 1px solid #E6E6F0;
border-radius: 8px;
}
.checkbox-wrapper input:checked + label::before {
background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_2902_23)'%3E%3Cpath d='M9 16.17L4.83 12L3.41 13.41L9 19L21 7L19.59 5.59L9 16.17Z' fill='%2342D3FF'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_2902_23'%3E%3Crect width='24' height='24' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
}
.checkbox-wrapper input:focus + label::before {
outline: 2px solid black;
}
footer {
background: #f0f0f4;
height: 136px;
display: flex;
flex-direction: column;
padding: 40px 64px;
margin-bottom: 100px;
border-top: 1px solid #d6d6d6;
border-radius: 0 0 8px 8px;
}
footer .button {
height: 56px;
background: #04d361;
border: 0;
border-radius: 8px;
font-family: Archivo;
font-weight: 600;
font-size: 16px;
line-height: 26px; /* 162.5% */
color: #FFF;
}
footer .button:hover {
background: #08a04c;
}
input:invalid {
border: 2px solid red;
}