@bdelab/roar-levante-tasks 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1176 @@
1
+ button.button-base, button.image-medium, button.image-large, button.image, button.slider, button.secondary--wide, button.secondary--green, button.secondary, button.primary {
2
+ border-radius: min(32px, 4vh);
3
+ border-width: min(6px, 0.8vh);
4
+ border-style: solid;
5
+ text-align: center;
6
+ font-size: min(3vw, 3vh);
7
+ font-weight: 500;
8
+ color: #fbfbfd;
9
+ min-width: 60px;
10
+ min-height: 50px;
11
+ cursor: pointer;
12
+ }
13
+ button.primary {
14
+ background: #275bdd;
15
+ padding: min(20px, 2.5vh) min(72px, 10vh);
16
+ border-color: #0f3cac;
17
+ box-shadow: -6px -8px 0px 0px rgba(15, 60, 172, 0.5) inset;
18
+ font-size: clamp(16px, min(2vw, 3vh), 48px);
19
+ font-weight: 700;
20
+ color: #fbfbfd;
21
+ }
22
+ @media (max-width: 500px) {
23
+ button.primary {
24
+ font-size: 24px;
25
+ font-weight: 500;
26
+ color: #fbfbfd;
27
+ padding: min(12px, 1.7vh) min(60px, 8vh);
28
+ border-radius: min(24px, 3vh);
29
+ }
30
+ }
31
+ button.primary:hover {
32
+ background: #2051cb;
33
+ border-color: #0d3496;
34
+ box-shadow: -6px -8px 0px 0px rgba(13, 52, 150, 0.5) inset;
35
+ }
36
+ button.primary:active {
37
+ background: #1d4ab9;
38
+ border-color: #0b2e83;
39
+ box-shadow: -6px -8px 0px 0px rgba(11, 46, 131, 0.5) inset;
40
+ }
41
+ button.primary:disabled {
42
+ background: #c0c0c0;
43
+ border-color: #979797;
44
+ box-shadow: -6px -8px 0px 0px #979797 inset;
45
+ cursor: no-drop;
46
+ }
47
+ button.secondary {
48
+ background: #275bdd;
49
+ border-color: #0f3cac;
50
+ box-shadow: -8px -10px 0px 0px #0f3cac inset, 0px 0px 12px 0px #d4def8 inset;
51
+ font-size: 56px;
52
+ width: 160px;
53
+ height: 160px;
54
+ }
55
+ @media (max-width: 650px) {
56
+ button.secondary {
57
+ font-size: 42px;
58
+ font-weight: 500;
59
+ border-radius: min(24px, 3vh);
60
+ width: 115.2px;
61
+ height: 115.2px;
62
+ }
63
+ }
64
+ @media (max-width: 500px) {
65
+ button.secondary {
66
+ font-size: 48px;
67
+ font-weight: 500;
68
+ border-radius: min(24px, 3vh);
69
+ width: 144px;
70
+ height: 144px;
71
+ }
72
+ }
73
+ button.secondary:hover {
74
+ background: #2051cb;
75
+ border-color: #0d3496;
76
+ box-shadow: #d4def8 inset;
77
+ }
78
+ button.secondary:active {
79
+ background: #1d4ab9;
80
+ border-color: #0b2e83;
81
+ box-shadow: -8px -10px 0px 0px #0b2e83 inset, 0px 0px 12px 0px #d4def8 inset;
82
+ }
83
+ button.secondary--green {
84
+ background: #89ce00;
85
+ padding: min(48px, 6.5vh) min(48px, 6.5vh);
86
+ border-color: #5ba300;
87
+ box-shadow: -8px -10px 0px 0px #5ba300 inset, 0px 0px 12px 0px #cfebb6 inset;
88
+ }
89
+ @keyframes pulse {
90
+ 0% {
91
+ transform: scale(1);
92
+ }
93
+ 50% {
94
+ transform: scale(1.1);
95
+ }
96
+ 100% {
97
+ transform: scale(1);
98
+ }
99
+ }
100
+ @media (max-width: 500px) {
101
+ button.secondary--green {
102
+ font-size: 64px;
103
+ font-weight: 500;
104
+ color: #fbfbfd;
105
+ padding: min(40px, 5.5vh) min(40px, 5.5vh);
106
+ border-radius: min(24px, 3vh);
107
+ min-width: 40px;
108
+ min-height: 40px;
109
+ }
110
+ }
111
+ button.secondary--green:hover {
112
+ background: #7ab800;
113
+ border-color: #4d8a00;
114
+ box-shadow: -8px -10px 0px 0px #4d8a00 inset, 0px 0px 12px 0px #cfebb6 inset;
115
+ }
116
+ button.secondary--green:active {
117
+ background: #70a800;
118
+ border-color: #539400;
119
+ box-shadow: -8px -10px 0px 0px #539400 inset, 0px 0px 12px 0px #cfebb6 inset;
120
+ }
121
+ button.secondary--wide {
122
+ background: #275bdd;
123
+ padding: min(20px, 2.5vh) min(72px, 10vh);
124
+ border-color: #0f3cac;
125
+ box-shadow: -6px -8px 0px 0px rgba(15, 60, 172, 0.5) inset;
126
+ font-size: 32px;
127
+ font-weight: 700;
128
+ color: #fbfbfd;
129
+ }
130
+ @media (max-width: 500px) {
131
+ button.secondary--wide {
132
+ font-size: 24px;
133
+ font-weight: 500;
134
+ color: #fbfbfd;
135
+ padding: min(12px, 1.7vh) min(60px, 8vh);
136
+ border-radius: min(24px, 3vh);
137
+ }
138
+ }
139
+ button.secondary--wide:hover {
140
+ background: #2051cb;
141
+ border-color: #0d3496;
142
+ box-shadow: #d4def8 inset;
143
+ }
144
+ button.secondary--wide:active {
145
+ background: #1d4ab9;
146
+ border-color: #0b2e83;
147
+ box-shadow: -8px -10px 0px 0px #0b2e83 inset, 0px 0px 12px 0px #d4def8 inset;
148
+ }
149
+ button.slider {
150
+ background: #275bdd;
151
+ border-color: #0f3cac;
152
+ box-shadow: -8px -10px 0px 0px #0f3cac inset, 0px 0px 12px 0px #d4def8 inset;
153
+ font-size: 56px;
154
+ width: 16px;
155
+ height: 16x;
156
+ }
157
+ button.replay {
158
+ position: absolute;
159
+ top: min(8px, 1vh);
160
+ right: min(8px, 1vh);
161
+ cursor: pointer;
162
+ border-radius: min(16px, 2vh);
163
+ padding: min(16px, 2vh);
164
+ background-color: rgba(39, 91, 221, 0.2);
165
+ display: flex;
166
+ justify-content: center;
167
+ align-items: center;
168
+ width: min(64px, 8vh);
169
+ height: min(64px, 8vh);
170
+ border: 2px solid #0f3cac;
171
+ }
172
+ @media (max-width: 500px) {
173
+ button.replay {
174
+ width: 48px;
175
+ height: 48px;
176
+ padding: 12px;
177
+ }
178
+ }
179
+ button.replay:hover {
180
+ background-color: rgba(32, 81, 203, 0.4);
181
+ border: 2px solid #0d3496;
182
+ }
183
+ button.replay:active {
184
+ background-color: rgba(29, 74, 185, 0.6);
185
+ border: 2px solid #0b2e83;
186
+ }
187
+ button.replay:disabled {
188
+ background-color: rgba(255, 255, 255, 0.6);
189
+ border: 2px solid #bdbdbd;
190
+ pointer-events: none;
191
+ }
192
+ button.replay:disabled svg path {
193
+ fill: #bdbdbd;
194
+ }
195
+ button.image {
196
+ padding: 0;
197
+ box-sizing: border-box;
198
+ border-color: #275bdd;
199
+ min-width: unset !important;
200
+ min-height: unset !important;
201
+ }
202
+ button.image img {
203
+ border: none;
204
+ width: min(clamp(120px, 10vw, 150px), 15vh);
205
+ height: min(clamp(120px, 10vw, 150px), 15vh);
206
+ padding: 0;
207
+ margin: 0;
208
+ border-radius: min(32px, 4vh);
209
+ float: left;
210
+ }
211
+ @media (max-width: 650px) {
212
+ button.image {
213
+ border-radius: min(32px, 4vh);
214
+ }
215
+ button.image img {
216
+ width: min(clamp(100px, 18vw, 150px), 15vh);
217
+ height: min(clamp(100px, 18vw, 150px), 15vh);
218
+ border-radius: min(24px, 3vh);
219
+ }
220
+ }
221
+ @media (max-width: 500px) {
222
+ button.image {
223
+ border-radius: 24px;
224
+ }
225
+ button.image img {
226
+ width: 22vw;
227
+ height: 22vw;
228
+ border-radius: 16px;
229
+ }
230
+ }
231
+ button.image:hover {
232
+ border-color: #0f3cac;
233
+ }
234
+ button.image:active {
235
+ border-color: #0b2e83;
236
+ }
237
+ button.image-large {
238
+ padding: 0;
239
+ box-sizing: border-box;
240
+ border-color: #275bdd;
241
+ }
242
+ button.image-large img {
243
+ border: none;
244
+ width: calc(min(70vh, 90vw) / 2 - 10px);
245
+ height: calc(min(70vh, 90vw) / 2 - 10px);
246
+ padding: 0;
247
+ margin: 0;
248
+ border-radius: min(24px, 3vh);
249
+ float: left;
250
+ }
251
+ button.image-large:hover {
252
+ border-color: #0f3cac;
253
+ }
254
+ button.image-large:active {
255
+ border-color: #0b2e83;
256
+ }
257
+ button.image-medium {
258
+ padding: 0;
259
+ box-sizing: border-box;
260
+ border-color: #275bdd;
261
+ }
262
+ button.image-medium img {
263
+ border: none;
264
+ width: min(clamp(70px, 22vw, 250px) - 10px, 38vh);
265
+ height: min(clamp(70px, 22vw, 250px) - 10px, 38vh);
266
+ padding: 0;
267
+ margin: 0;
268
+ border-radius: min(24px, 3vh);
269
+ float: left;
270
+ }
271
+ @media (max-width: 500px) {
272
+ button.image-medium {
273
+ border-radius: 24px;
274
+ }
275
+ button.image-medium img {
276
+ width: 22vw;
277
+ height: 22vw;
278
+ border-radius: min(24px, 3vh);
279
+ }
280
+ }
281
+ button.image-medium:hover {
282
+ border-color: #0f3cac;
283
+ }
284
+ button.image-medium:active {
285
+ border-color: #0b2e83;
286
+ }
287
+ button.image-medium.selected {
288
+ border-color: #0b2e83;
289
+ }
290
+ button.no-pointer-events {
291
+ pointer-events: none;
292
+ cursor: default;
293
+ }
294
+ button.success-shadow {
295
+ box-shadow: 0 0 20px 5px rgb(85, 251, 56);
296
+ border-radius: 2rem;
297
+ }
298
+ button.error-shadow {
299
+ box-shadow: 0 0 30px 8px rgb(255, 43, 1);
300
+ border-radius: 2rem;
301
+ }
302
+ button.warning-shadow {
303
+ box-shadow: 0 0 20px 5px #ffc839;
304
+ border-radius: 2rem;
305
+ }
306
+ button.info-shadow {
307
+ box-shadow: 0 0 20px 5px #275bdd;
308
+ border-radius: 2rem;
309
+ }
310
+
311
+ .arrow-key-border {
312
+ max-width: 100% !important;
313
+ pointer-events: none;
314
+ padding-top: 1vw;
315
+ }
316
+ .arrow-key-border svg {
317
+ width: min(6vw, 6vh);
318
+ height: min(6vw, 6vh);
319
+ }
320
+
321
+ .lev-toast-default {
322
+ position: fixed;
323
+ top: -100px;
324
+ left: 50%;
325
+ transform: translateX(-50%);
326
+ background-color: #ffffff;
327
+ color: #275bdd;
328
+ padding: 10px 20px;
329
+ border: #0f3cac solid 3px;
330
+ border-radius: 1rem;
331
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
332
+ z-index: 1000;
333
+ display: block;
334
+ transition: top 0.5s ease;
335
+ font-size: 1.5rem;
336
+ }
337
+ @media (max-width: 650px) {
338
+ .lev-toast-default {
339
+ font-size: 1.2rem;
340
+ }
341
+ }
342
+ .lev-toast-default.show {
343
+ top: 10vh;
344
+ }
345
+ @media (max-width: 650px) {
346
+ .lev-toast-default.show {
347
+ top: 5vh;
348
+ }
349
+ }
350
+
351
+ .lev-overlay-default {
352
+ position: absolute;
353
+ display: flex;
354
+ justify-content: center;
355
+ align-items: center;
356
+ flex-direction: column;
357
+ top: 0;
358
+ left: 0;
359
+ width: 100%;
360
+ height: 100%;
361
+ background: rgba(255, 255, 255, 0.8);
362
+ }
363
+
364
+ .lev-text {
365
+ font-size: 32px;
366
+ line-height: 1;
367
+ color: #275bdd;
368
+ letter-spacing: 0;
369
+ font-weight: 700;
370
+ }
371
+ .lev-text.primary {
372
+ color: #275bdd;
373
+ }
374
+ .lev-text.secondary {
375
+ color: #0f3cac;
376
+ }
377
+ .lev-text.base {
378
+ color: #fbfbfd;
379
+ }
380
+ .lev-text.h0 {
381
+ font-size: 85px;
382
+ }
383
+ .lev-text.h1 {
384
+ font-size: 72px;
385
+ }
386
+ .lev-text.h2 {
387
+ font-size: 64px;
388
+ }
389
+ .lev-text.h3 {
390
+ font-size: 48px;
391
+ line-height: 1.5;
392
+ }
393
+ .lev-text.h4 {
394
+ font-size: 40px;
395
+ line-height: 1.5;
396
+ }
397
+ .lev-text.main-bold {
398
+ font-size: 32px;
399
+ line-height: 1.5;
400
+ }
401
+ .lev-text.main-regular {
402
+ font-size: 32px;
403
+ line-height: 1.5;
404
+ font-size: 500;
405
+ }
406
+
407
+ .jspsych-display-element {
408
+ height: 100%;
409
+ width: 100%;
410
+ margin: 0;
411
+ max-width: 100%;
412
+ overflow: hidden;
413
+ font-family: "Source Sans Pro", Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
414
+ touch-action: manipulation;
415
+ -webkit-touch-callout: none; /* iOS Safari */
416
+ -webkit-user-select: none; /* Safari */
417
+ -khtml-user-select: none; /* Konqueror HTML */
418
+ -moz-user-select: none; /* Old versions of Firefox */
419
+ -ms-user-select: none; /* Internet Explorer/Edge */
420
+ user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
421
+ color: #0f3cac;
422
+ background-color: #d7e3fd;
423
+ background-image: url("https://storage.googleapis.com/tasks-shared/levante-background.png");
424
+ background-size: cover;
425
+ }
426
+ .jspsych-display-element .jspsych-content-wrapper {
427
+ height: 100%;
428
+ width: 100%;
429
+ display: flex;
430
+ justify-content: center;
431
+ align-items: center;
432
+ }
433
+ .jspsych-display-element .jspsych-content-wrapper .jspsych-content {
434
+ height: 100%;
435
+ width: 100%;
436
+ display: flex;
437
+ flex-direction: column;
438
+ justify-content: center;
439
+ align-items: center;
440
+ padding: 2vw;
441
+ }
442
+
443
+ .turn {
444
+ width: 240px;
445
+ height: 240px;
446
+ animation: rotateOnce 4s infinite;
447
+ }
448
+
449
+ @keyframes rotateOnce {
450
+ 0% {
451
+ transform: rotate(0deg);
452
+ }
453
+ 50% {
454
+ transform: rotate(180deg);
455
+ }
456
+ 100% {
457
+ transform: rotate(0deg);
458
+ }
459
+ }
460
+ .lev-response-row {
461
+ width: 100%;
462
+ }
463
+ .lev-response-row.linear-4 {
464
+ display: flex;
465
+ flex-direction: row;
466
+ justify-content: space-between;
467
+ }
468
+ .lev-response-row.linear-4 .response-container, .lev-response-row.linear-4 .response-container--small {
469
+ display: flex;
470
+ width: calc(25% - 30px);
471
+ min-width: 150px;
472
+ max-width: 200px;
473
+ aspect-ratio: 1;
474
+ font-size: 85px;
475
+ font-weight: 700;
476
+ color: #fbfbfd;
477
+ justify-content: center;
478
+ align-items: center;
479
+ }
480
+ @media (max-width: 800px) {
481
+ .lev-response-row.linear-4 .response-container, .lev-response-row.linear-4 .response-container--small {
482
+ display: flex;
483
+ width: calc(25% - 10px);
484
+ aspect-ratio: 1;
485
+ font-size: 64px;
486
+ font-weight: 600;
487
+ color: #275bdd;
488
+ justify-content: center;
489
+ align-items: center;
490
+ }
491
+ }
492
+ @media (max-width: 500px) {
493
+ .lev-response-row.linear-4 .response-container, .lev-response-row.linear-4 .response-container--small {
494
+ display: flex;
495
+ width: calc(25% - 10px);
496
+ aspect-ratio: 1;
497
+ font-size: 48px;
498
+ font-weight: 500;
499
+ color: #0f3cac;
500
+ justify-content: center;
501
+ align-items: center;
502
+ }
503
+ }
504
+ .lev-response-row.linear-4 .response-container--small {
505
+ max-width: 150px;
506
+ }
507
+ .lev-response-row.multi-4 {
508
+ display: flex;
509
+ flex-direction: row;
510
+ justify-content: center;
511
+ }
512
+ @media (max-width: 500px) {
513
+ .lev-response-row.multi-4 {
514
+ display: grid;
515
+ grid-template-columns: auto auto;
516
+ justify-content: center;
517
+ row-gap: 10px;
518
+ }
519
+ }
520
+ .lev-response-row.multi-stack {
521
+ display: flex;
522
+ flex-direction: column;
523
+ justify-content: center;
524
+ align-items: center;
525
+ gap: 1rem;
526
+ }
527
+
528
+ .lev-response-row-inline.grid-2x2 {
529
+ display: grid;
530
+ grid-template-columns: 1fr 1fr; /* two columns of equal width */
531
+ grid-template-rows: 1fr 1fr; /* two rows of equal height */
532
+ gap: 1vw;
533
+ }
534
+ .lev-response-row-inline.grid-3x2 {
535
+ display: grid;
536
+ grid-template-columns: repeat(6, 1fr);
537
+ grid-template-rows: 50% 50%;
538
+ padding: 10px;
539
+ grid-gap: 4px;
540
+ }
541
+ .lev-response-row-inline.grid-3x2 > * {
542
+ grid-column: span 2;
543
+ }
544
+ .lev-response-row-inline.grid-3x2 > *:nth-child(4) {
545
+ grid-column: 2/span 2;
546
+ }
547
+
548
+ .lev-response-row-diamond-layout {
549
+ display: grid;
550
+ grid-template-columns: repeat(3, 1fr); /* three columns of equal width */
551
+ grid-template-rows: auto auto; /* three rows, size according to content */
552
+ gap: 2rem;
553
+ margin-left: auto;
554
+ margin-right: auto;
555
+ }
556
+ .lev-response-row-diamond-layout :nth-child(1) {
557
+ grid-column: 2; /* Centered in the middle column */
558
+ grid-row: 1;
559
+ }
560
+ .lev-response-row-diamond-layout :nth-child(2) {
561
+ grid-column: 1; /* First column */
562
+ grid-row: 1/3; /* Spanning from the first row to the third grid line */
563
+ align-self: center; /* Center this button vertically */
564
+ }
565
+ .lev-response-row-diamond-layout :nth-child(3) {
566
+ grid-column: 3; /* Third column */
567
+ grid-row: 1/3; /* Spanning from the first row to the third grid line */
568
+ align-self: center; /* Center this button vertically */
569
+ }
570
+ .lev-response-row-diamond-layout :nth-child(4) {
571
+ grid-column: 2; /* Centered in the middle column */
572
+ grid-row: 2;
573
+ }
574
+
575
+ .lev-row-container {
576
+ display: flex;
577
+ padding: 24px;
578
+ justify-content: center;
579
+ align-items: center;
580
+ justify-content: center;
581
+ text-align: center;
582
+ color: #275bdd;
583
+ margin: 8px 0;
584
+ }
585
+ .lev-row-container.header p {
586
+ font-size: 48px;
587
+ font-weight: 600;
588
+ margin: 0;
589
+ }
590
+ @media (max-width: 800px) {
591
+ .lev-row-container.header {
592
+ display: flex;
593
+ padding: 16px;
594
+ justify-content: center;
595
+ align-items: center;
596
+ }
597
+ .lev-row-container.header p {
598
+ font-size: 40px;
599
+ font-weight: 500;
600
+ margin: 0;
601
+ }
602
+ }
603
+ @media (max-width: 500px) {
604
+ .lev-row-container.header {
605
+ display: flex;
606
+ padding: 12px;
607
+ justify-content: center;
608
+ align-items: center;
609
+ }
610
+ .lev-row-container.header p {
611
+ font-size: 24px;
612
+ font-weight: 500;
613
+ margin: 0;
614
+ }
615
+ }
616
+ .lev-row-container.instruction {
617
+ display: flex;
618
+ padding: min(24px, 3.5vh);
619
+ justify-content: center;
620
+ align-items: center;
621
+ text-align: center;
622
+ border: 3px solid #0f3cac;
623
+ border-radius: min(32px, 4vh);
624
+ background-color: #ffffff;
625
+ width: calc(100vw - 2 * (min(64px, 8vh) + min(8px, 1vh) + 24px));
626
+ max-width: max-content;
627
+ }
628
+ .lev-row-container.instruction p {
629
+ font-size: clamp(16px, min(2vw, 3vh), 48px);
630
+ font-weight: 400;
631
+ line-height: 1;
632
+ margin: 0;
633
+ }
634
+ @media (max-width: 800px) {
635
+ .lev-row-container.instruction {
636
+ display: flex;
637
+ padding: min(16px, 2.5vh);
638
+ justify-content: center;
639
+ align-items: center;
640
+ border-radius: min(24px, 3vh);
641
+ }
642
+ .lev-row-container.instruction p {
643
+ font-size: clamp(16px, min(2vw, 3vh), 48px);
644
+ font-weight: 400;
645
+ line-height: 1;
646
+ margin: 0;
647
+ }
648
+ }
649
+ @media (max-width: 500px) {
650
+ .lev-row-container.instruction {
651
+ display: flex;
652
+ padding: 12px;
653
+ justify-content: center;
654
+ align-items: center;
655
+ border-radius: min(24px, 3vh);
656
+ width: 90vw;
657
+ }
658
+ .lev-row-container.instruction p {
659
+ font-size: clamp(16px, min(2vw, 3vh), 48px);
660
+ font-weight: 400;
661
+ line-height: 1;
662
+ margin: 0;
663
+ }
664
+ }
665
+ .lev-row-container.instruction-small {
666
+ display: flex;
667
+ padding: min(24px, 3.5vh);
668
+ justify-content: center;
669
+ align-items: center;
670
+ text-align: center;
671
+ border: 3px solid #0f3cac;
672
+ border-radius: min(32px, 4vh);
673
+ background-color: #ffffff;
674
+ width: calc(100vw - 2 * (min(64px, 8vh) + min(8px, 1vh) + 24px));
675
+ max-width: max-content;
676
+ }
677
+ .lev-row-container.instruction-small p {
678
+ font-size: clamp(16px, min(2vw, 3vh), 48px);
679
+ font-weight: 400;
680
+ line-height: 1;
681
+ margin: 0;
682
+ }
683
+ @media (max-width: 800px) {
684
+ .lev-row-container.instruction-small {
685
+ display: flex;
686
+ padding: min(16px, 2.5vh);
687
+ justify-content: center;
688
+ align-items: center;
689
+ border-radius: min(24px, 3vh);
690
+ }
691
+ .lev-row-container.instruction-small p {
692
+ font-size: clamp(16px, min(2vw, 3vh), 48px);
693
+ font-weight: 400;
694
+ line-height: 1;
695
+ margin: 0;
696
+ }
697
+ }
698
+ @media (max-width: 500px) {
699
+ .lev-row-container.instruction-small {
700
+ display: flex;
701
+ padding: 12px;
702
+ justify-content: center;
703
+ align-items: center;
704
+ border-radius: 16px;
705
+ width: 90vw;
706
+ }
707
+ .lev-row-container.instruction-small p {
708
+ font-size: clamp(16px, min(2vw, 3vh), 48px);
709
+ font-weight: 400;
710
+ line-height: 1;
711
+ margin: 0;
712
+ }
713
+ }
714
+
715
+ .lev-stimulus-container {
716
+ display: flex;
717
+ flex-direction: column;
718
+ width: 100%;
719
+ max-width: 900px;
720
+ justify-content: center;
721
+ margin-top: calc(min(64px, 8vh) + min(8px, 1vh));
722
+ margin-bottom: 16px;
723
+ align-items: center;
724
+ }
725
+ .lev-stimulus-container img {
726
+ max-width: 100%;
727
+ width: calc(3 * min(clamp(120px, 10vw, 150px), 15vh));
728
+ height: calc(3 * min(clamp(120px, 10vw, 150px), 15vh));
729
+ }
730
+
731
+ .lev-stim-content, .lev-stim-content-x-3 {
732
+ display: flex;
733
+ width: 100%;
734
+ text-align: center;
735
+ justify-content: center;
736
+ font-size: 64px;
737
+ color: #275bdd;
738
+ }
739
+ .lev-stim-content img, .lev-stim-content-x-3 img {
740
+ border: none;
741
+ width: calc(min(70vh, 90vw) / 2 - 10px);
742
+ height: calc(min(70vh, 90vw) / 2 - 10px);
743
+ padding: 0;
744
+ margin: 0;
745
+ border-radius: min(24px, 3vh);
746
+ }
747
+
748
+ .lev-stim-content-x-3 img {
749
+ width: calc(3 * min(clamp(120px, 10vw, 150px), 15vh));
750
+ height: calc(3 * min(clamp(120px, 10vw, 150px), 15vh));
751
+ }
752
+ @media (max-width: 650px) {
753
+ .lev-stim-content-x-3 img {
754
+ width: calc(3 * min(clamp(100px, 18vw, 150px), 15vh));
755
+ height: calc(3 * min(clamp(100px, 18vw, 150px), 15vh));
756
+ }
757
+ }
758
+ @media (max-width: 500px) {
759
+ .lev-stim-content-x-3 img {
760
+ width: 66vw;
761
+ height: 66vw;
762
+ }
763
+ }
764
+
765
+ .lev-instructions-container {
766
+ text-align: center;
767
+ font-size: 1.3rem;
768
+ width: 100%;
769
+ }
770
+ .lev-instructions-container .lev-title {
771
+ text-align: center;
772
+ margin-bottom: 3vh;
773
+ font-size: 2rem;
774
+ }
775
+ .lev-instructions-container .lev-content {
776
+ text-align: left;
777
+ margin: 0 auto;
778
+ line-height: 1.5;
779
+ }
780
+ .lev-instructions-container .lev-footer {
781
+ margin-top: 1.5rem;
782
+ }
783
+ .lev-instructions-container img {
784
+ object-fit: contain;
785
+ width: 100%;
786
+ }
787
+
788
+ .lev-staggered-responses.lev-staggered-disabled {
789
+ pointer-events: none;
790
+ }
791
+ .lev-staggered-responses.lev-staggered-grayscale {
792
+ filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
793
+ filter: grayscale(100%);
794
+ -moz-filter: grayscale(100%);
795
+ -ms-filter: grayscale(100%);
796
+ -o-filter: grayscale(100%);
797
+ filter: gray; /* IE6-9 */
798
+ -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
799
+ }
800
+ .lev-staggered-responses.lev-staggered-opacity {
801
+ opacity: 0.6;
802
+ }
803
+
804
+ .lev-fixation-container {
805
+ display: flex;
806
+ justify-content: center;
807
+ align-items: center;
808
+ color: black;
809
+ font-size: 4rem;
810
+ }
811
+
812
+ video.instruction-video {
813
+ width: min(40vw, 40vh);
814
+ height: min(40vw, 40vh);
815
+ margin-top: calc(0.065 * min(40vw, 40vh));
816
+ }
817
+ @media (max-width: 800px) {
818
+ video.instruction-video {
819
+ width: min(50vw, 50vh);
820
+ height: min(50vw, 50vh);
821
+ margin-top: calc(0.065 * min(50vw, 50vh));
822
+ }
823
+ }
824
+ @media (max-width: 650px) {
825
+ video.instruction-video {
826
+ width: min(70vw, 70vh);
827
+ height: min(70vw, 70vh);
828
+ margin-top: calc(0.065 * min(70vw, 70vh));
829
+ }
830
+ }
831
+ @media (max-width: 500px) {
832
+ video.instruction-video {
833
+ width: min(80vw, 80vh);
834
+ height: min(80vw, 80vh);
835
+ margin-top: calc(0.065 * min(80vw, 80vh));
836
+ }
837
+ }
838
+ video.instruction-video-small {
839
+ width: min(35vw, 35vh);
840
+ height: min(35vw, 35vh);
841
+ }
842
+ @media (max-width: 800px) {
843
+ video.instruction-video-small {
844
+ width: min(50vw, 50vh);
845
+ height: min(50vw, 50vh);
846
+ }
847
+ }
848
+ @media (max-width: 650px) {
849
+ video.instruction-video-small {
850
+ width: min(70vw, 70vh);
851
+ height: min(70vw, 70vh);
852
+ }
853
+ }
854
+ @media (max-width: 500px) {
855
+ video.instruction-video-small {
856
+ width: min(80vw, 80vh);
857
+ height: min(80vw, 80vh);
858
+ }
859
+ }
860
+
861
+ img.instruction-video {
862
+ width: min(40vw, 40vh);
863
+ height: min(40vw, 40vh);
864
+ }
865
+ @media (max-width: 800px) {
866
+ img.instruction-video {
867
+ width: min(50vw, 50vh);
868
+ height: min(50vw, 50vh);
869
+ }
870
+ }
871
+ @media (max-width: 650px) {
872
+ img.instruction-video {
873
+ width: min(70vw, 70vh);
874
+ height: min(70vw, 70vh);
875
+ }
876
+ }
877
+ @media (max-width: 500px) {
878
+ img.instruction-video {
879
+ width: min(80vw, 80vh);
880
+ height: min(80vw, 80vh);
881
+ }
882
+ }
883
+
884
+ .haf-parent-container {
885
+ width: 100%;
886
+ max-width: 900px;
887
+ }
888
+
889
+ .haf-stimulus-holder {
890
+ align-items: center;
891
+ display: flex;
892
+ flex-direction: column;
893
+ }
894
+
895
+ .haf-stimulus-container {
896
+ border: 3px solid #275bdd;
897
+ border-radius: 32px;
898
+ display: flex;
899
+ justify-content: space-between;
900
+ background-color: #fff;
901
+ height: 40vh;
902
+ width: 100%;
903
+ margin-left: auto;
904
+ margin-right: auto;
905
+ margin-top: 40px;
906
+ }
907
+ .haf-stimulus-container .stimulus-left {
908
+ margin-top: auto;
909
+ margin-bottom: auto;
910
+ padding-left: 2rem;
911
+ padding-right: 2rem;
912
+ }
913
+ @media (max-width: 500px) {
914
+ .haf-stimulus-container .stimulus-left {
915
+ padding-left: 12px;
916
+ padding-right: 12px;
917
+ }
918
+ .haf-stimulus-container .stimulus-left img {
919
+ width: 70px;
920
+ height: 70px;
921
+ }
922
+ }
923
+ .haf-stimulus-container .stimulus-right {
924
+ margin-top: auto;
925
+ margin-bottom: auto;
926
+ margin-left: auto;
927
+ padding-left: 2rem;
928
+ padding-right: 2rem;
929
+ }
930
+ @media (max-width: 500px) {
931
+ .haf-stimulus-container .stimulus-right {
932
+ padding-left: 12px;
933
+ padding-right: 12px;
934
+ }
935
+ .haf-stimulus-container .stimulus-right img {
936
+ width: 70px;
937
+ height: 70px;
938
+ }
939
+ }
940
+
941
+ .haf-fixation-container {
942
+ border: 3px solid #275bdd;
943
+ border-radius: 32px;
944
+ background-color: #fff;
945
+ display: flex;
946
+ justify-content: center;
947
+ align-items: center;
948
+ height: 40vh;
949
+ margin-left: auto;
950
+ margin-right: auto;
951
+ margin-top: 40px;
952
+ width: 100%;
953
+ }
954
+ .haf-fixation-container .fixation {
955
+ font-size: 7vh;
956
+ }
957
+
958
+ .haf-cr-container {
959
+ display: flex;
960
+ flex-direction: column;
961
+ align-items: center;
962
+ }
963
+ .haf-cr-container p {
964
+ margin-top: 16px;
965
+ }
966
+
967
+ .lev-corsi-override {
968
+ display: grid;
969
+ gap: 15px; /* adjust as needed for spacing between blocks */
970
+ position: relative;
971
+ width: 25rem;
972
+ height: 25rem;
973
+ }
974
+ @media (max-width: 650px) {
975
+ .lev-corsi-override {
976
+ padding: 1rem;
977
+ }
978
+ }
979
+ @media (min-width: 1000px) {
980
+ .lev-corsi-override {
981
+ padding: 0;
982
+ }
983
+ }
984
+ .lev-corsi-override .lev-corsi-block-override {
985
+ background-color: rgba(215, 215, 215, 0.93);
986
+ width: 100%;
987
+ height: 100%;
988
+ border-radius: 2rem;
989
+ border: 6px solid rgba(162, 162, 162, 0.93);
990
+ }
991
+
992
+ #jspsych-html-slider-response-wrapper {
993
+ width: min(800px, 95%);
994
+ max-height: 95%;
995
+ margin: 0 !important;
996
+ }
997
+
998
+ .jspsych-html-slider-response-container {
999
+ width: 100% !important;
1000
+ }
1001
+
1002
+ #jspsych-html-slider-response-response {
1003
+ width: 100%;
1004
+ }
1005
+
1006
+ #jspsych-html-slider-response-stimulus {
1007
+ text-align: center;
1008
+ margin-bottom: 5rem;
1009
+ }
1010
+
1011
+ #slider-btn-container {
1012
+ margin-top: 10vh;
1013
+ display: flex;
1014
+ justify-content: space-around;
1015
+ }
1016
+
1017
+ .number-line-4afc-slider {
1018
+ -webkit-appearance: none;
1019
+ appearance: none;
1020
+ height: 8px;
1021
+ border-radius: 16px;
1022
+ border: 1px solid #bdc1c3;
1023
+ }
1024
+
1025
+ /* Track: webkit browsers */
1026
+ .number-line-4afc-slider::-webkit-slider-runnable-track {
1027
+ height: 8px;
1028
+ border-radius: 2px;
1029
+ }
1030
+
1031
+ /* Track: Mozilla Firefox */
1032
+ .number-line-4afc-slider::-moz-range-track {
1033
+ height: 8px;
1034
+ border-radius: 2px;
1035
+ }
1036
+
1037
+ /* Thumb: webkit */
1038
+ .number-line-4afc-slider::-webkit-slider-thumb {
1039
+ /* removing default appearance */
1040
+ -webkit-appearance: none;
1041
+ appearance: none;
1042
+ /* creating a custom design */
1043
+ margin-top: -3px;
1044
+ height: 15px;
1045
+ width: 15px;
1046
+ background-color: #275bdd;
1047
+ border-radius: 50%;
1048
+ }
1049
+
1050
+ /* Thumb: Firefox */
1051
+ .number-line-4afc-slider::-moz-range-thumb {
1052
+ /* removing default appearance */
1053
+ -webkit-appearance: none;
1054
+ appearance: none;
1055
+ height: 15px;
1056
+ width: 15px;
1057
+ background-color: #275bdd;
1058
+ border-radius: 50%;
1059
+ }
1060
+
1061
+ .number-line-buttons {
1062
+ -webkit-appearance: none;
1063
+ appearance: none;
1064
+ height: 8px;
1065
+ border-radius: 16px;
1066
+ border: 1px solid #bdc1c3;
1067
+ }
1068
+
1069
+ /* Track: webkit browsers */
1070
+ .number-line-buttons::-webkit-slider-runnable-track {
1071
+ height: 8px;
1072
+ border-radius: 2px;
1073
+ }
1074
+
1075
+ /* Track: Mozilla Firefox */
1076
+ .number-line-buttons::-moz-range-track {
1077
+ height: 8px;
1078
+ border-radius: 2px;
1079
+ }
1080
+
1081
+ /* Thumb: webkit */
1082
+ .number-line-buttons::-webkit-slider-thumb {
1083
+ /* removing default appearance */
1084
+ -webkit-appearance: none;
1085
+ appearance: none;
1086
+ /* creating a custom design */
1087
+ margin-top: -3px;
1088
+ height: 0px;
1089
+ width: 15px;
1090
+ background-color: #275bdd;
1091
+ border-radius: 50%;
1092
+ }
1093
+
1094
+ /* Thumb: Firefox */
1095
+ .number-line-buttons::-moz-range-thumb {
1096
+ /* removing default appearance */
1097
+ -webkit-appearance: none;
1098
+ appearance: none;
1099
+ height: 0px;
1100
+ width: 15px;
1101
+ background-color: #275bdd;
1102
+ border-radius: 50%;
1103
+ }
1104
+
1105
+ .roar-inference-btn {
1106
+ display: flex;
1107
+ padding: 8px;
1108
+ width: 50vh;
1109
+ height: 15vh;
1110
+ justify-content: center;
1111
+ align-items: center;
1112
+ gap: 8px;
1113
+ border: 1px solid black;
1114
+ background: white;
1115
+ border-radius: 32px;
1116
+ color: black;
1117
+ font-family: "Noto Sans";
1118
+ font-size: 1rem;
1119
+ font-style: normal;
1120
+ font-weight: 700;
1121
+ line-height: normal;
1122
+ cursor: pointer;
1123
+ }
1124
+ .roar-inference-btn:hover {
1125
+ background-color: gainsboro;
1126
+ }
1127
+ @media (min-width: 1000px) {
1128
+ .roar-inference-btn {
1129
+ width: 40vh;
1130
+ height: 10vh;
1131
+ font-size: 1.2rem;
1132
+ }
1133
+ }
1134
+
1135
+ .instruction-no-border {
1136
+ display: flex;
1137
+ border: none;
1138
+ border-radius: 0;
1139
+ background-color: transparent;
1140
+ color: black;
1141
+ padding-bottom: 0;
1142
+ margin-left: 10%;
1143
+ margin-right: 10%;
1144
+ font-size: large;
1145
+ }
1146
+ .instruction-no-border p {
1147
+ margin-bottom: 0;
1148
+ }
1149
+ @media (min-width: 1200px) {
1150
+ .instruction-no-border {
1151
+ font-size: xx-large;
1152
+ margin-left: 15%;
1153
+ margin-right: 15%;
1154
+ }
1155
+ }
1156
+
1157
+ .roar-instruction-question {
1158
+ display: flex;
1159
+ border: none;
1160
+ border-radius: 0;
1161
+ background-color: transparent;
1162
+ color: black;
1163
+ font-size: large;
1164
+ padding: 12px;
1165
+ font-weight: bold;
1166
+ }
1167
+ @media (min-width: 1200px) {
1168
+ .roar-instruction-question {
1169
+ font-size: xx-large;
1170
+ }
1171
+ }
1172
+
1173
+ .inference-scroll {
1174
+ overflow-x: auto;
1175
+ overflow-y: auto;
1176
+ }