@bdelab/roar-sre 1.1.23 → 1.6.0
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.
- package/lib/index.dc225439.js +26 -0
- package/lib/index.dc225439.js.map +1 -0
- package/lib/resources/roar-sre.css +652 -0
- package/package.json +6 -5
- package/lib/index.53708356.js +0 -26
- package/lib/index.53708356.js.map +0 -1
|
@@ -0,0 +1,652 @@
|
|
|
1
|
+
/* CSS Document */
|
|
2
|
+
.this-is-roar {
|
|
3
|
+
content: "is a game";
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.jspsych-display-element {
|
|
7
|
+
font-family: "Source Sans Pro", Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
|
|
8
|
+
width: 60%;
|
|
9
|
+
height: 100%;
|
|
10
|
+
margin: auto;
|
|
11
|
+
text-align: center;
|
|
12
|
+
touch-action: manipulation;
|
|
13
|
+
-webkit-touch-callout: none; /* iOS Safari */
|
|
14
|
+
-webkit-user-select: none; /* Safari */
|
|
15
|
+
-khtml-user-select: none; /* Konqueror HTML */
|
|
16
|
+
-moz-user-select: none; /* Old versions of Firefox */
|
|
17
|
+
-ms-user-select: none; /* Internet Explorer/Edge */
|
|
18
|
+
user-select: none; /* Non-prefixed version, currently
|
|
19
|
+
supported by Chrome, Edge, Opera and Firefox */
|
|
20
|
+
/*
|
|
21
|
+
.jspsych-content {
|
|
22
|
+
display: flex;
|
|
23
|
+
flex-direction: column;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
align-items: center;
|
|
26
|
+
position: fixed;
|
|
27
|
+
left: 0;
|
|
28
|
+
top: 0;
|
|
29
|
+
width: 100%;
|
|
30
|
+
height: 100%;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
*/
|
|
34
|
+
/* jsPsych progress bar */
|
|
35
|
+
/* Control appearance of jsPsych.data.displayData() */
|
|
36
|
+
/* borrowing Bootstrap style for btn elements, but combining styles a bit */
|
|
37
|
+
}
|
|
38
|
+
.jspsych-display-element .grade-btn {
|
|
39
|
+
padding: 1vh 2vh;
|
|
40
|
+
margin: 1vh;
|
|
41
|
+
margin-top: 4vh;
|
|
42
|
+
font-size: 4vh;
|
|
43
|
+
font-weight: bold;
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
text-align: center;
|
|
46
|
+
vertical-align: middle;
|
|
47
|
+
border: 1vh solid transparent;
|
|
48
|
+
border-radius: 1vh;
|
|
49
|
+
color: rgb(255, 202, 97);
|
|
50
|
+
background-color: rgb(76, 101, 139);
|
|
51
|
+
border-color: rgb(65, 91, 127);
|
|
52
|
+
}
|
|
53
|
+
.jspsych-display-element .mobile-grade-select {
|
|
54
|
+
margin-top: 8rem;
|
|
55
|
+
}
|
|
56
|
+
.jspsych-display-element .mobile-student-select-characters {
|
|
57
|
+
margin-top: 40vh;
|
|
58
|
+
}
|
|
59
|
+
.jspsych-display-element #mobile-classroom-bg {
|
|
60
|
+
position: fixed; /* or absolute, depending on your needs */
|
|
61
|
+
top: 0;
|
|
62
|
+
left: 0;
|
|
63
|
+
width: 100%;
|
|
64
|
+
height: 100%;
|
|
65
|
+
z-index: -1; /* This ensures the image stays behind other content */
|
|
66
|
+
object-fit: cover;
|
|
67
|
+
}
|
|
68
|
+
.jspsych-display-element .mobile-character-select {
|
|
69
|
+
width: 20%;
|
|
70
|
+
}
|
|
71
|
+
.jspsych-display-element .mobile-audio-btn-container {
|
|
72
|
+
display: flex;
|
|
73
|
+
justify-content: center;
|
|
74
|
+
gap: 10%;
|
|
75
|
+
}
|
|
76
|
+
.jspsych-display-element .mobile-stimulus-wrap {
|
|
77
|
+
display: flex;
|
|
78
|
+
justify-content: center;
|
|
79
|
+
align-items: center;
|
|
80
|
+
height: 100%;
|
|
81
|
+
}
|
|
82
|
+
.jspsych-display-element .mobile-stimulus-wrap .mobile-stimulus-jspsych-content {
|
|
83
|
+
height: 40%;
|
|
84
|
+
}
|
|
85
|
+
.jspsych-display-element .mobile-stimulus-wrap .mobile-stimulus-jspsych-content #mobile-stimulus {
|
|
86
|
+
font-size: 4rem;
|
|
87
|
+
}
|
|
88
|
+
.jspsych-display-element .mobile-stimulus-wrap .mobile-stimulus-jspsych-content #mobile-placeholder-stimulus {
|
|
89
|
+
color: white;
|
|
90
|
+
font-size: 4rem;
|
|
91
|
+
}
|
|
92
|
+
.jspsych-display-element .mobile-stimulus-wrap .mobile-stimulus-jspsych-content .mobile-stimulus-btn {
|
|
93
|
+
border: transparent;
|
|
94
|
+
padding: 0;
|
|
95
|
+
position: relative;
|
|
96
|
+
border: none;
|
|
97
|
+
background: transparent none;
|
|
98
|
+
cursor: pointer;
|
|
99
|
+
display: inline-block;
|
|
100
|
+
}
|
|
101
|
+
.jspsych-display-element .mobile-stimulus-wrap .mobile-stimulus-jspsych-content .mobile-stimulus-btn img {
|
|
102
|
+
display: block;
|
|
103
|
+
width: 100%;
|
|
104
|
+
height: 100%;
|
|
105
|
+
}
|
|
106
|
+
.jspsych-display-element .mobile-stimulus-wrap .mobile-stimulus-jspsych-content .mobile-stimulus-btn span {
|
|
107
|
+
position: absolute;
|
|
108
|
+
top: 50%;
|
|
109
|
+
left: 50%;
|
|
110
|
+
transform: translate(-50%, -50%);
|
|
111
|
+
color: white;
|
|
112
|
+
font-size: 7rem;
|
|
113
|
+
}
|
|
114
|
+
.jspsych-display-element .mobile-practice-feedback {
|
|
115
|
+
background: none;
|
|
116
|
+
margin-top: 4rem;
|
|
117
|
+
}
|
|
118
|
+
.jspsych-display-element .mobile-disable-button {
|
|
119
|
+
pointer-events: none;
|
|
120
|
+
}
|
|
121
|
+
.jspsych-display-element #mobile-stimulus-text {
|
|
122
|
+
font-size: 1.75rem;
|
|
123
|
+
}
|
|
124
|
+
.jspsych-display-element #sre-background {
|
|
125
|
+
background-color: rgb(250, 246, 236);
|
|
126
|
+
-webkit-background-size: cover;
|
|
127
|
+
-moz-background-size: cover;
|
|
128
|
+
-o-background-size: cover;
|
|
129
|
+
background-size: cover;
|
|
130
|
+
max-height: 100%;
|
|
131
|
+
max-width: 100%;
|
|
132
|
+
padding: 0px;
|
|
133
|
+
margin: 0px;
|
|
134
|
+
z-index: -1;
|
|
135
|
+
}
|
|
136
|
+
.jspsych-display-element #end-classroom {
|
|
137
|
+
position: absolute;
|
|
138
|
+
height: 80%;
|
|
139
|
+
left: 0vh;
|
|
140
|
+
bottom: 45vh;
|
|
141
|
+
}
|
|
142
|
+
.jspsych-display-element #end-student {
|
|
143
|
+
position: relative;
|
|
144
|
+
left: 0vh;
|
|
145
|
+
top: 10vh;
|
|
146
|
+
height: 65%;
|
|
147
|
+
}
|
|
148
|
+
.jspsych-display-element .instruction-background {
|
|
149
|
+
display: block;
|
|
150
|
+
background-color: rgb(250, 246, 236);
|
|
151
|
+
padding-top: 0vh;
|
|
152
|
+
min-height: 100%;
|
|
153
|
+
min-width: 100%;
|
|
154
|
+
}
|
|
155
|
+
.jspsych-display-element h1 {
|
|
156
|
+
margin-top: 10%;
|
|
157
|
+
margin-right: 10%;
|
|
158
|
+
margin-left: 10%;
|
|
159
|
+
text-align: center;
|
|
160
|
+
padding-inline: 10px;
|
|
161
|
+
font-weight: semi-bold;
|
|
162
|
+
font-size: 6vh;
|
|
163
|
+
color: rgb(76, 101, 139);
|
|
164
|
+
}
|
|
165
|
+
.jspsych-display-element h2 {
|
|
166
|
+
text-align: center;
|
|
167
|
+
font-style: normal;
|
|
168
|
+
font-weight: regular;
|
|
169
|
+
font-size: 5vh;
|
|
170
|
+
color: rgb(76, 101, 139);
|
|
171
|
+
}
|
|
172
|
+
.jspsych-display-element h3 {
|
|
173
|
+
text-align: center;
|
|
174
|
+
font-style: normal;
|
|
175
|
+
font-weight: regular;
|
|
176
|
+
font-size: 4vh;
|
|
177
|
+
color: rgb(76, 101, 139);
|
|
178
|
+
z-index: 1;
|
|
179
|
+
}
|
|
180
|
+
.jspsych-display-element p:not(.feedback, .stimulus) {
|
|
181
|
+
text-align: center;
|
|
182
|
+
vertical-align: middle;
|
|
183
|
+
font-style: normal;
|
|
184
|
+
font-weight: normal;
|
|
185
|
+
font-size: 3vh;
|
|
186
|
+
color: rgb(0, 0, 0);
|
|
187
|
+
z-index: 1;
|
|
188
|
+
}
|
|
189
|
+
.jspsych-display-element n {
|
|
190
|
+
text-align: center;
|
|
191
|
+
vertical-align: middle;
|
|
192
|
+
font-style: normal;
|
|
193
|
+
font-weight: bold;
|
|
194
|
+
font-size: 3vh;
|
|
195
|
+
color: rgb(255, 202, 97);
|
|
196
|
+
z-index: 1;
|
|
197
|
+
}
|
|
198
|
+
.jspsych-display-element .consent_form_title {
|
|
199
|
+
margin-right: 10%;
|
|
200
|
+
margin-left: 10%;
|
|
201
|
+
font-size: 3vh;
|
|
202
|
+
}
|
|
203
|
+
.jspsych-display-element .consent_form_text {
|
|
204
|
+
margin: 10%;
|
|
205
|
+
text-align: left;
|
|
206
|
+
font-size: 2vh;
|
|
207
|
+
}
|
|
208
|
+
.jspsych-display-element .survey_form_text {
|
|
209
|
+
text-align: center;
|
|
210
|
+
font-size: 3vh;
|
|
211
|
+
}
|
|
212
|
+
.jspsych-display-element .consent_form_agree {
|
|
213
|
+
margin: 5%;
|
|
214
|
+
text-align: left;
|
|
215
|
+
font-size: 2vh;
|
|
216
|
+
}
|
|
217
|
+
.jspsych-display-element .debrief_text {
|
|
218
|
+
margin: 20%;
|
|
219
|
+
text-align: left;
|
|
220
|
+
font-size: 2vh;
|
|
221
|
+
}
|
|
222
|
+
.jspsych-display-element .jspsych-survey-multi-select-option {
|
|
223
|
+
font-size: 2vh;
|
|
224
|
+
text-align: center;
|
|
225
|
+
}
|
|
226
|
+
.jspsych-display-element .stimulus {
|
|
227
|
+
text-align: center;
|
|
228
|
+
vertical-align: middle;
|
|
229
|
+
font-style: normal;
|
|
230
|
+
font-weight: normal;
|
|
231
|
+
font-size: 4vh;
|
|
232
|
+
line-height: 4vh;
|
|
233
|
+
color: rgb(0, 0, 0);
|
|
234
|
+
}
|
|
235
|
+
.jspsych-display-element .full_screen {
|
|
236
|
+
text-align: center;
|
|
237
|
+
font-style: normal;
|
|
238
|
+
font-weight: normal;
|
|
239
|
+
font-size: 32px;
|
|
240
|
+
line-height: 32px;
|
|
241
|
+
padding-top: 300px;
|
|
242
|
+
color: rgb(0, 0, 0);
|
|
243
|
+
}
|
|
244
|
+
.jspsych-display-element .feedback {
|
|
245
|
+
text-align: center;
|
|
246
|
+
font-style: normal;
|
|
247
|
+
font-weight: bold;
|
|
248
|
+
font-size: 3vh;
|
|
249
|
+
line-height: 3vh;
|
|
250
|
+
color: rgb(0, 0, 0);
|
|
251
|
+
}
|
|
252
|
+
.jspsych-display-element .jspsych-content-modified {
|
|
253
|
+
display: flex;
|
|
254
|
+
flex-direction: column;
|
|
255
|
+
justify-content: center;
|
|
256
|
+
align-items: center;
|
|
257
|
+
position: fixed;
|
|
258
|
+
left: 0;
|
|
259
|
+
top: 0;
|
|
260
|
+
width: 100%;
|
|
261
|
+
height: 100%;
|
|
262
|
+
}
|
|
263
|
+
.jspsych-display-element .jspsych-content-modified .class-container {
|
|
264
|
+
width: 100%;
|
|
265
|
+
position: absolute;
|
|
266
|
+
margin: auto;
|
|
267
|
+
display: block;
|
|
268
|
+
}
|
|
269
|
+
.jspsych-display-element .jspsych-content-modified .class-container #classroom-bg {
|
|
270
|
+
position: fixed; /* or absolute, depending on your needs */
|
|
271
|
+
top: 0;
|
|
272
|
+
left: 0;
|
|
273
|
+
width: 100%;
|
|
274
|
+
height: 100%;
|
|
275
|
+
z-index: -1; /* This ensures the image stays behind other content */
|
|
276
|
+
object-fit: cover;
|
|
277
|
+
}
|
|
278
|
+
.jspsych-display-element .text-block {
|
|
279
|
+
position: relative;
|
|
280
|
+
bottom: 15px;
|
|
281
|
+
top: 15px;
|
|
282
|
+
background-color: rgb(246, 241, 230);
|
|
283
|
+
padding-left: 25px;
|
|
284
|
+
padding-right: 25px;
|
|
285
|
+
padding-top: 15px;
|
|
286
|
+
padding-bottom: 15px;
|
|
287
|
+
border: 6px solid rgb(229, 218, 191);
|
|
288
|
+
border-radius: 10px;
|
|
289
|
+
}
|
|
290
|
+
.jspsych-display-element .demo-text-block {
|
|
291
|
+
position: relative;
|
|
292
|
+
bottom: 25px;
|
|
293
|
+
top: 15px;
|
|
294
|
+
background-color: rgb(246, 241, 230);
|
|
295
|
+
padding-left: 85px;
|
|
296
|
+
padding-right: 85px;
|
|
297
|
+
padding-top: 60px;
|
|
298
|
+
padding-bottom: 60px;
|
|
299
|
+
border: 6px solid rgb(229, 218, 191);
|
|
300
|
+
border-radius: 10px;
|
|
301
|
+
}
|
|
302
|
+
.jspsych-display-element .grade-text-block {
|
|
303
|
+
position: relative;
|
|
304
|
+
bottom: 0px;
|
|
305
|
+
top: 0px;
|
|
306
|
+
left: 0px;
|
|
307
|
+
right: 0px;
|
|
308
|
+
background-color: rgb(246, 241, 230);
|
|
309
|
+
padding-left: 0px;
|
|
310
|
+
padding-right: 0px;
|
|
311
|
+
padding-top: 50px;
|
|
312
|
+
padding-bottom: 90px;
|
|
313
|
+
border: 6px solid rgb(229, 218, 191);
|
|
314
|
+
border-radius: 10px;
|
|
315
|
+
}
|
|
316
|
+
.jspsych-display-element .select-text-block {
|
|
317
|
+
position: relative;
|
|
318
|
+
bottom: 15px;
|
|
319
|
+
top: 30px;
|
|
320
|
+
background-color: rgb(246, 241, 230);
|
|
321
|
+
padding-left: 20px;
|
|
322
|
+
padding-right: 20px;
|
|
323
|
+
padding-top: 10px;
|
|
324
|
+
padding-bottom: 10px;
|
|
325
|
+
border: 6px solid rgb(229, 218, 191);
|
|
326
|
+
border-radius: 10px;
|
|
327
|
+
}
|
|
328
|
+
.jspsych-display-element .number-block {
|
|
329
|
+
display: flex;
|
|
330
|
+
align-items: center;
|
|
331
|
+
justify-content: center;
|
|
332
|
+
position: relative;
|
|
333
|
+
height: 5vh;
|
|
334
|
+
width: 6vh;
|
|
335
|
+
padding-left: 3vh;
|
|
336
|
+
padding-right: 3vh;
|
|
337
|
+
text-align: center;
|
|
338
|
+
vertical-align: middle;
|
|
339
|
+
background-color: rgb(76, 101, 139);
|
|
340
|
+
border: 6px solid rgb(65, 91, 127);
|
|
341
|
+
border-radius: 10px;
|
|
342
|
+
align-self: center;
|
|
343
|
+
}
|
|
344
|
+
.jspsych-display-element .container {
|
|
345
|
+
width: 100%;
|
|
346
|
+
position: fixed;
|
|
347
|
+
display: block;
|
|
348
|
+
}
|
|
349
|
+
.jspsych-display-element .transparent {
|
|
350
|
+
background: rgba(255, 255, 255, 0);
|
|
351
|
+
border-color: rgba(255, 255, 255, 0);
|
|
352
|
+
}
|
|
353
|
+
.jspsych-display-element .center {
|
|
354
|
+
margin: 0;
|
|
355
|
+
position: absolute;
|
|
356
|
+
top: 50%;
|
|
357
|
+
left: 50%;
|
|
358
|
+
-ms-transform: translate(-50%, -50%);
|
|
359
|
+
transform: translate(-50%, -50%);
|
|
360
|
+
}
|
|
361
|
+
.jspsych-display-element .star-center {
|
|
362
|
+
margin: 0;
|
|
363
|
+
position: absolute;
|
|
364
|
+
top: 45%;
|
|
365
|
+
left: 51%;
|
|
366
|
+
-ms-transform: translate(-50%, -50%);
|
|
367
|
+
transform: translate(-50%, -50%);
|
|
368
|
+
}
|
|
369
|
+
.jspsych-display-element .vertical-center {
|
|
370
|
+
margin: 0;
|
|
371
|
+
position: absolute;
|
|
372
|
+
top: 50%;
|
|
373
|
+
-ms-transform: translateY(-50%);
|
|
374
|
+
transform: translateY(-50%);
|
|
375
|
+
}
|
|
376
|
+
.jspsych-display-element .jspsych-video-button-response-stimulus {
|
|
377
|
+
margin: 0;
|
|
378
|
+
position: absolute;
|
|
379
|
+
top: 45%;
|
|
380
|
+
height: 90%;
|
|
381
|
+
-ms-transform: translateY(-45%);
|
|
382
|
+
transform: translateY(-45%);
|
|
383
|
+
}
|
|
384
|
+
.jspsych-display-element .stimulus_div {
|
|
385
|
+
display: flex;
|
|
386
|
+
justify-content: center;
|
|
387
|
+
align-items: center;
|
|
388
|
+
position: fixed;
|
|
389
|
+
left: 0;
|
|
390
|
+
top: 0;
|
|
391
|
+
width: 100%;
|
|
392
|
+
height: 100%;
|
|
393
|
+
}
|
|
394
|
+
.jspsych-display-element .text_div {
|
|
395
|
+
display: flex;
|
|
396
|
+
justify-content: center;
|
|
397
|
+
align-items: center;
|
|
398
|
+
position: fixed;
|
|
399
|
+
left: 0;
|
|
400
|
+
top: 0;
|
|
401
|
+
width: 100%;
|
|
402
|
+
height: 60%;
|
|
403
|
+
}
|
|
404
|
+
.jspsych-display-element .center {
|
|
405
|
+
vertical-align: middle;
|
|
406
|
+
text-align: center;
|
|
407
|
+
}
|
|
408
|
+
.jspsych-display-element .upper {
|
|
409
|
+
position: fixed;
|
|
410
|
+
top: 0%;
|
|
411
|
+
left: 50%;
|
|
412
|
+
transform: translate(-50%, -50%);
|
|
413
|
+
height: 2vh;
|
|
414
|
+
}
|
|
415
|
+
.jspsych-display-element .lower {
|
|
416
|
+
position: fixed;
|
|
417
|
+
bottom: 20%;
|
|
418
|
+
left: 50%;
|
|
419
|
+
transform: translate(-50%, -50%);
|
|
420
|
+
height: 7vh;
|
|
421
|
+
}
|
|
422
|
+
.jspsych-display-element .orange {
|
|
423
|
+
color: rgb(219, 97, 69);
|
|
424
|
+
}
|
|
425
|
+
.jspsych-display-element .blue {
|
|
426
|
+
color: rgb(66, 152, 181);
|
|
427
|
+
}
|
|
428
|
+
.jspsych-display-element .yellow {
|
|
429
|
+
color: rgb(255, 202, 97);
|
|
430
|
+
}
|
|
431
|
+
.jspsych-display-element .row {
|
|
432
|
+
display: flex;
|
|
433
|
+
}
|
|
434
|
+
.jspsych-display-element .row .instruction-boxes {
|
|
435
|
+
margin-top: 2%;
|
|
436
|
+
margin-bottom: 2%;
|
|
437
|
+
padding: 3vh 2vh 3vh 2vh;
|
|
438
|
+
border: 6px solid rgb(229, 218, 191);
|
|
439
|
+
border-radius: 10px;
|
|
440
|
+
margin-right: 5%;
|
|
441
|
+
margin-left: 5%;
|
|
442
|
+
background-color: #ffffff;
|
|
443
|
+
}
|
|
444
|
+
.jspsych-display-element .row .instruction-boxes p {
|
|
445
|
+
text-align: center;
|
|
446
|
+
}
|
|
447
|
+
.jspsych-display-element .row .instruction-boxes img {
|
|
448
|
+
width: 60%;
|
|
449
|
+
}
|
|
450
|
+
.jspsych-display-element .row .column_1 {
|
|
451
|
+
padding: 0 0 10vh 0;
|
|
452
|
+
}
|
|
453
|
+
.jspsych-display-element .row .column_1 .characterleft {
|
|
454
|
+
text-align: center;
|
|
455
|
+
vertical-align: middle;
|
|
456
|
+
position: relative;
|
|
457
|
+
top: 10%;
|
|
458
|
+
height: 70vh;
|
|
459
|
+
}
|
|
460
|
+
.jspsych-display-element .row .column_3 {
|
|
461
|
+
margin-top: 10rem;
|
|
462
|
+
height: 36vh;
|
|
463
|
+
padding-right: 1vw;
|
|
464
|
+
padding-left: 1vw;
|
|
465
|
+
}
|
|
466
|
+
.jspsych-display-element .row .halfway-text-block {
|
|
467
|
+
background-color: rgb(255, 255, 255);
|
|
468
|
+
border: 6px solid rgb(229, 218, 191);
|
|
469
|
+
border-radius: 10px;
|
|
470
|
+
}
|
|
471
|
+
.jspsych-display-element .row .middle {
|
|
472
|
+
width: 100%;
|
|
473
|
+
height: 100%;
|
|
474
|
+
display: flex;
|
|
475
|
+
flex-direction: column;
|
|
476
|
+
justify-content: center;
|
|
477
|
+
align-content: center;
|
|
478
|
+
}
|
|
479
|
+
.jspsych-display-element .row .student-text-block {
|
|
480
|
+
position: relative;
|
|
481
|
+
margin-top: 10vh;
|
|
482
|
+
margin-left: 5vh;
|
|
483
|
+
margin-right: 5vh;
|
|
484
|
+
height: 50vh;
|
|
485
|
+
background-color: rgb(255, 255, 255);
|
|
486
|
+
border: 6px solid rgb(229, 218, 191);
|
|
487
|
+
border-radius: 10px;
|
|
488
|
+
}
|
|
489
|
+
.jspsych-display-element .column_2_lower {
|
|
490
|
+
padding: 0 2vh 3vh 2vh;
|
|
491
|
+
flex: 50%;
|
|
492
|
+
border: 6px solid rgb(229, 218, 191);
|
|
493
|
+
border-radius: 10px;
|
|
494
|
+
margin-right: 5%;
|
|
495
|
+
margin-left: 5%;
|
|
496
|
+
}
|
|
497
|
+
.jspsych-display-element .button {
|
|
498
|
+
left: 0;
|
|
499
|
+
right: 0;
|
|
500
|
+
background-color: rgb(76, 101, 139);
|
|
501
|
+
text-align: center;
|
|
502
|
+
vertical-align: middle;
|
|
503
|
+
padding: 2vh;
|
|
504
|
+
font-style: normal;
|
|
505
|
+
font-weight: bold;
|
|
506
|
+
font-size: 3vh;
|
|
507
|
+
color: white;
|
|
508
|
+
position: fixed;
|
|
509
|
+
display: block;
|
|
510
|
+
bottom: 0;
|
|
511
|
+
border: 0;
|
|
512
|
+
z-index: 1;
|
|
513
|
+
}
|
|
514
|
+
.jspsych-display-element .story-scene {
|
|
515
|
+
width: 100%;
|
|
516
|
+
position: fixed;
|
|
517
|
+
display: block;
|
|
518
|
+
bottom: 5vh;
|
|
519
|
+
}
|
|
520
|
+
.jspsych-display-element .scene {
|
|
521
|
+
position: fixed;
|
|
522
|
+
bottom: 5vh;
|
|
523
|
+
width: 100%;
|
|
524
|
+
display: block;
|
|
525
|
+
}
|
|
526
|
+
.jspsych-display-element .student {
|
|
527
|
+
position: relative;
|
|
528
|
+
display: inline-flex;
|
|
529
|
+
flex-direction: row;
|
|
530
|
+
height: 50%;
|
|
531
|
+
width: 50%;
|
|
532
|
+
bottom: 10vh;
|
|
533
|
+
right: 0vh;
|
|
534
|
+
justify-content: center;
|
|
535
|
+
gap: 50px;
|
|
536
|
+
}
|
|
537
|
+
.jspsych-display-element .number {
|
|
538
|
+
position: relative;
|
|
539
|
+
display: inline-flex;
|
|
540
|
+
flex-direction: row;
|
|
541
|
+
height: 50%;
|
|
542
|
+
width: 50%;
|
|
543
|
+
bottom: -10vh;
|
|
544
|
+
left: 1vh;
|
|
545
|
+
justify-content: center;
|
|
546
|
+
gap: 200px;
|
|
547
|
+
}
|
|
548
|
+
.jspsych-display-element .imageleft {
|
|
549
|
+
text-align: center;
|
|
550
|
+
position: relative;
|
|
551
|
+
top: 50%;
|
|
552
|
+
height: 30vh;
|
|
553
|
+
}
|
|
554
|
+
.jspsych-display-element #jspsych-progressbar-container {
|
|
555
|
+
color: #555;
|
|
556
|
+
border-bottom: 1px solid #dedede;
|
|
557
|
+
background-color: #f9f9f9;
|
|
558
|
+
margin-bottom: 1em;
|
|
559
|
+
text-align: center;
|
|
560
|
+
padding: 8px 0px;
|
|
561
|
+
width: 100%;
|
|
562
|
+
line-height: 1em;
|
|
563
|
+
}
|
|
564
|
+
.jspsych-display-element #jspsych-progressbar-container span {
|
|
565
|
+
font-size: 14px;
|
|
566
|
+
padding-right: 14px;
|
|
567
|
+
}
|
|
568
|
+
.jspsych-display-element #jspsych-progressbar-outer {
|
|
569
|
+
background-color: #eee;
|
|
570
|
+
width: 50%;
|
|
571
|
+
margin: auto;
|
|
572
|
+
height: 14px;
|
|
573
|
+
display: inline-block;
|
|
574
|
+
vertical-align: middle;
|
|
575
|
+
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
576
|
+
}
|
|
577
|
+
.jspsych-display-element #jspsych-progressbar-inner {
|
|
578
|
+
background-color: #aaa;
|
|
579
|
+
width: 0%;
|
|
580
|
+
height: 100%;
|
|
581
|
+
}
|
|
582
|
+
.jspsych-display-element #jspsych-data-display {
|
|
583
|
+
text-align: left;
|
|
584
|
+
}
|
|
585
|
+
.jspsych-display-element .jspsych-btn {
|
|
586
|
+
display: inline-block;
|
|
587
|
+
padding: 1vh 2vh;
|
|
588
|
+
margin: 1vh;
|
|
589
|
+
font-size: 4vh;
|
|
590
|
+
font-weight: bold;
|
|
591
|
+
cursor: pointer;
|
|
592
|
+
line-height: 1.4;
|
|
593
|
+
text-align: center;
|
|
594
|
+
white-space: nowrap;
|
|
595
|
+
vertical-align: middle;
|
|
596
|
+
background-image: none;
|
|
597
|
+
border: 1vh solid transparent;
|
|
598
|
+
border-radius: 1vh;
|
|
599
|
+
color: rgb(255, 202, 97);
|
|
600
|
+
background-color: rgb(76, 101, 139);
|
|
601
|
+
border-color: rgb(65, 91, 127);
|
|
602
|
+
}
|
|
603
|
+
.jspsych-display-element .mep-stimulus {
|
|
604
|
+
display: inline-block;
|
|
605
|
+
width: 1.65vw;
|
|
606
|
+
height: 1.65vw;
|
|
607
|
+
margin: 0.13vw;
|
|
608
|
+
padding: 0px 0px 0.825vw 0px;
|
|
609
|
+
background: white;
|
|
610
|
+
border-style: solid;
|
|
611
|
+
border-width: 0px 0px 8px 0px;
|
|
612
|
+
border-color: rgba(255, 255, 255, 0);
|
|
613
|
+
}
|
|
614
|
+
.jspsych-display-element .bottom-border-blue {
|
|
615
|
+
border-bottom-color: blue !important;
|
|
616
|
+
}
|
|
617
|
+
.jspsych-display-element #jspsych-html-button-response-stimulus {
|
|
618
|
+
margin-bottom: 25vw;
|
|
619
|
+
}
|
|
620
|
+
.jspsych-display-element #jspsych-html-multi-response-btngroup {
|
|
621
|
+
position: relative;
|
|
622
|
+
bottom: -70%;
|
|
623
|
+
width: 100%;
|
|
624
|
+
display: flex;
|
|
625
|
+
gap: 9rem;
|
|
626
|
+
}
|
|
627
|
+
.jspsych-display-element #jspsych-audio-multi-response-btngroup {
|
|
628
|
+
position: relative;
|
|
629
|
+
bottom: -70%;
|
|
630
|
+
width: 100%;
|
|
631
|
+
}
|
|
632
|
+
.jspsych-display-element #fixation-prompt {
|
|
633
|
+
margin-bottom: 0.825%;
|
|
634
|
+
}
|
|
635
|
+
.jspsych-display-element .jspsych-html-button-response-button {
|
|
636
|
+
display: inline-block;
|
|
637
|
+
width: 4vw;
|
|
638
|
+
height: 4vw;
|
|
639
|
+
margin: 0.75vw;
|
|
640
|
+
}
|
|
641
|
+
.jspsych-display-element #jspsych-fullscreen-btn {
|
|
642
|
+
position: fixed;
|
|
643
|
+
bottom: 20%;
|
|
644
|
+
left: 50%;
|
|
645
|
+
transform: translate(-50%, -50%);
|
|
646
|
+
}
|
|
647
|
+
.jspsych-display-element .jspsych-survey-html-form {
|
|
648
|
+
position: fixed;
|
|
649
|
+
bottom: 20%;
|
|
650
|
+
left: 50%;
|
|
651
|
+
transform: translate(-50%, -50%);
|
|
652
|
+
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bdelab/roar-sre",
|
|
3
3
|
"description": "The ROAR hackathon version of the timed sentence reading efficiency",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.6.0",
|
|
5
5
|
"author": "Jasmine Tran <jasetran@stanford.edu>",
|
|
6
|
-
"module": "lib/index.
|
|
7
|
-
"main": "lib/index.
|
|
6
|
+
"module": "lib/index.dc225439.js",
|
|
7
|
+
"main": "lib/index.dc225439.js",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"files": [
|
|
10
10
|
"lib"
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"package": "npx rollup -c",
|
|
18
18
|
"postpackage": "node postBuildPackage.js",
|
|
19
19
|
"prepublishOnly": "npm run package",
|
|
20
|
-
"postversion": "GIT_REMOTE=$(git remote -v | grep \"yeatmanlab/roar-
|
|
20
|
+
"postversion": "GIT_REMOTE=$(git remote -v | grep \"yeatmanlab/roar-sre.git \\(push\\)\" | cut -f 1) && git push $GIT_REMOTE && git push $GIT_REMOTE --tags",
|
|
21
21
|
"dev": "npx webpack serve --open --mode development --env dbmode=development",
|
|
22
22
|
"prod": "npx webpack serve --open --mode development --env dbmode=production",
|
|
23
23
|
"lint": "npx eslint --ext .ts,.tsx,.js,.jsx .",
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"@jspsych-contrib/plugin-audio-multi-response": "^1.0.0",
|
|
48
48
|
"@jspsych-contrib/plugin-html-multi-response": "^1.0.2",
|
|
49
49
|
"@jspsych/plugin-audio-keyboard-response": "^1.1.2",
|
|
50
|
+
"@jspsych/plugin-call-function": "^1.1.3",
|
|
50
51
|
"@jspsych/plugin-fullscreen": "^1.1.2",
|
|
51
52
|
"@jspsych/plugin-html-keyboard-response": "^1.1.2",
|
|
52
53
|
"@jspsych/plugin-preload": "^1.1.2",
|
|
@@ -60,7 +61,7 @@
|
|
|
60
61
|
"firebase": "^10.5.0",
|
|
61
62
|
"i18next": "^23.2.11",
|
|
62
63
|
"i18next-browser-languagedetector": "^7.1.0",
|
|
63
|
-
"jspsych": "^7.3.
|
|
64
|
+
"jspsych": "^7.3.4",
|
|
64
65
|
"lodash": "^4.17.21",
|
|
65
66
|
"papaparse": "^5.4.1",
|
|
66
67
|
"regenerator-runtime": "^0.13.10",
|