-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconsent.html
More file actions
425 lines (364 loc) · 9.19 KB
/
consent.html
File metadata and controls
425 lines (364 loc) · 9.19 KB
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
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Consent Form | Parkinsense Assessment</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-size: 2rem;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
background-color: #ffffff;
background-image:
linear-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
background-size: 50px 50px;
background-position: 0 0, 0 0;
color: #1a1a1a;
line-height: 1.6;
min-height: 100vh;
padding: 2rem;
position: relative;
}
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient(circle at center, rgba(255, 255, 255, 1) 20%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 80%);
pointer-events: none;
z-index: 1;
}
h1, h2, h3, h4, h5, h6 {
font-size: 2.5rem; /* Makes headings larger */
margin-bottom: 1.5rem;
}
p, li, label, input, button, textarea {
font-size: 1.75rem; /* Makes all text elements larger */
line-height: 1.8; /* Increases line spacing for better readability */
}
button, input[type="submit"], .btn {
font-size: 1.75rem; /* Makes buttons even larger */
padding: 1rem 2rem; /* Increases button padding */
}
/* Animated grid lights */
.grid-light {
position: fixed;
width: 8px;
height: 8px;
background: radial-gradient(circle, #888888 0%, rgba(136, 136, 136, 0.6) 50%, transparent 70%);
border-radius: 50%;
pointer-events: none;
z-index: 1;
opacity: 0.6;
}
.grid-light-1 {
top: 20%;
left: -10px;
animation: moveRightHorizontal 12s linear infinite, greenGlow 3s ease-in-out infinite;
}
.grid-light-2 {
top: 70%;
left: -10px;
animation: moveRightHorizontal 15s linear infinite, greenGlow 2.5s ease-in-out infinite;
animation-delay: 3s, 1s;
}
.grid-light-3 {
top: -10px;
left: 25%;
animation: moveDownVertical 10s linear infinite, greenGlow 3.5s ease-in-out infinite;
animation-delay: 2s, 0.5s;
}
@keyframes moveRightHorizontal {
0% { left: -10px; }
100% { left: calc(100% + 10px); }
}
@keyframes moveDownVertical {
0% { top: -10px; }
100% { top: calc(100% + 10px); }
}
@keyframes greenGlow {
0%, 70%, 100% {
background: radial-gradient(circle, #888888 0%, rgba(136, 136, 136, 0.6) 50%, transparent 70%);
box-shadow: 0 0 0 rgba(34, 197, 94, 0);
opacity: 0.6;
transform: scale(1);
}
15%, 55% {
background: radial-gradient(circle, #22c55e 0%, rgba(34, 197, 94, 0.8) 50%, rgba(34, 197, 94, 0.2) 70%);
box-shadow: 0 0 15px rgba(34, 197, 94, 0.8), 0 0 30px rgba(34, 197, 94, 0.4);
opacity: 1;
transform: scale(1.3);
}
}
.container {
max-width: 900px;
width: 100%;
margin: 0 auto;
position: relative;
z-index: 2;
background: rgba(255, 255, 255, 0.95);
border-radius: 20px;
padding: 3rem;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
border: 1px solid rgba(0, 0, 0, 0.05);
backdrop-filter: blur(10px);
}
h1 {
font-size: 3rem;
font-weight: 400;
color: #1a1a1a;
margin-bottom: 1rem;
letter-spacing: -0.02em;
text-align: center;
}
.subtitle {
font-size: 1.5rem;
color: #4a4a4a;
text-align: center;
margin-bottom: 2rem;
max-width: 60ch;
margin-left: auto;
margin-right: auto;
}
iframe {
width: 100%;
height: 500px;
border-radius: 12px;
border: 1px solid rgba(0, 0, 0, 0.1);
margin-bottom: 2rem;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.buttons {
text-align: center;
margin-bottom: 1rem;
}
button {
background-color: #1a1a1a;
color: white;
border: none;
padding: 0.875rem 2rem;
font-size: 1.4rem;
font-weight: 500;
border-radius: 2rem;
cursor: pointer;
transition: all 0.2s ease;
font-family: inherit;
margin: 0 0.5rem;
text-decoration: none;
display: inline-block;
}
button:hover {
background-color: #333333;
transform: translateY(-1px);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
button:active {
transform: translateY(0);
}
.print-btn {
background-color: transparent;
color: #1a1a1a;
border: 1px solid #e5e5e5;
}
.print-btn:hover {
background-color: #f5f5f5;
border-color: #d4d4d4;
}
hr {
border: 0;
border-top: 1px solid rgba(0, 0, 0, 0.08);
margin: 2rem 0;
}
.disclaimer {
font-size: 0.9rem;
color: #6b7280;
text-align: center;
margin-top: 1.5rem;
line-height: 1.5;
}
/* MOBILE-ONLY STYLES - These will ONLY affect mobile devices */
@media (max-width: 768px) {
body {
font-size: 1.1rem;
padding: 1rem;
background-size: 30px 30px;
}
h1, h2, h3, h4, h5, h6 {
font-size: 2rem;
margin-bottom: 1rem;
}
p, li, label, input, button, textarea {
font-size: 1.1rem;
line-height: 1.7;
}
button, input[type="submit"], .btn {
font-size: 1.1rem;
padding: 0.9rem 1.6rem;
}
.container {
padding: 1.5rem;
margin: 0.5rem;
border-radius: 15px;
max-width: none;
width: calc(100% - 1rem);
}
h1 {
font-size: 2rem;
margin-bottom: 0.8rem;
}
.subtitle {
font-size: 1rem;
margin-bottom: 1.5rem;
line-height: 1.6;
}
iframe {
height: 300px;
border-radius: 8px;
margin-bottom: 1.5rem;
}
button {
display: block;
width: 100%;
margin: 0.5rem 0;
font-size: 1.1rem;
padding: 1.1rem;
border-radius: 1rem;
}
.buttons {
margin-bottom: 1rem;
}
hr {
margin: 1.5rem 0;
}
.disclaimer {
font-size: 0.9rem;
margin-top: 1rem;
line-height: 1.5;
}
/* Adjust grid lights for mobile */
.grid-light {
width: 6px;
height: 6px;
}
}
/* SMALL MOBILE STYLES - For very small screens */
@media (max-width: 480px) {
body {
font-size: 0.9rem;
padding: 0.5rem;
background-size: 25px 25px;
}
h1, h2, h3, h4, h5, h6 {
font-size: 1.5rem;
margin-bottom: 0.8rem;
}
p, li, label, input, button, textarea {
font-size: 0.9rem;
line-height: 1.5;
}
.container {
padding: 1rem;
margin: 0.25rem;
width: calc(100% - 0.5rem);
}
h1 {
font-size: 1.5rem;
margin-bottom: 0.6rem;
}
.subtitle {
font-size: 0.8rem;
margin-bottom: 1rem;
}
iframe {
height: 250px;
margin-bottom: 1rem;
}
button {
font-size: 0.9rem;
padding: 0.9rem;
margin: 0.4rem 0;
}
hr {
margin: 1rem 0;
}
.disclaimer {
font-size: 0.7rem;
margin-top: 0.8rem;
}
/* Further reduce grid lights */
.grid-light {
width: 4px;
height: 4px;
}
}
/* EXTRA SMALL MOBILE - For very narrow screens */
@media (max-width: 360px) {
body {
font-size: 0.85rem;
padding: 0.25rem;
}
h1 {
font-size: 1.3rem;
}
.subtitle {
font-size: 0.75rem;
}
iframe {
height: 200px;
}
button {
font-size: 0.85rem;
padding: 0.8rem;
}
.container {
padding: 0.8rem;
}
.disclaimer {
font-size: 0.65rem;
}
}
</style>
<!-- Firebase SDKs -->
<script src="https://www.gstatic.com/firebasejs/10.12.0/firebase-app-compat.js"></script>
<script src="https://www.gstatic.com/firebasejs/10.12.0/firebase-firestore-compat.js"></script>
<!-- Firebase Initialization -->
<script>
const firebaseConfig = {
apiKey: "AIzaSyCIijYBeCcyl8Mt414nueAgIId8PfWaW5M",
authDomain: "pdstudy-99397.firebaseapp.com",
projectId: "pdstudy-99397",
storageBucket: "pdstudy-99397.firebasestorage.app",
messagingSenderId: "235927780090",
appId: "1:235927780090:web:348a8c85c130371686a743",
measurementId: "G-Y116J49LYT"
};
firebase.initializeApp(firebaseConfig);
const db = firebase.firestore();
</script>
</head>
<body>
<!-- Animated grid lights -->
<div class="grid-light grid-light-1"></div>
<div class="grid-light grid-light-2"></div>
<div class="grid-light grid-light-3"></div>
<div class="container">
<h1>Consent Form</h1>
<p class="subtitle">Please read the following consent form carefully before proceeding</p>
<hr />
<iframe src="https://drive.google.com/file/d/1LET3bugzGdWf73U38KM5T5I3w0AtYt6I/preview" frameborder="0" allowfullscreen></iframe>
<div class="buttons">
<button class="print-btn" onclick="window.print();">Print a Copy</button>
<button onclick="window.location.href='demographics.html'">I Agree & Continue</button>
</div>
<p class="disclaimer">By clicking "I Agree & Continue", you acknowledge that you have read and understood the consent form and agree to participate in this research study.</p>
</div>
</body>
</html>