@citolab/qti-components 6.0.3 → 6.0.4-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.
- package/dist/{chunk-MYPYIYN5.js → chunk-K2XJ4SA2.js} +740 -264
- package/dist/custom-elements.json +420 -1211
- package/dist/index.css +2194 -1
- package/dist/index.d.ts +993 -0
- package/dist/index.js +2366 -190
- package/dist/{qti-assessment-item-219cef9e.d.ts → qti-assessment-item-f1fcf393.d.ts} +20 -2
- package/dist/qti-components/index.d.ts +72 -156
- package/dist/qti-components/index.js +142 -77
- package/dist/qti-item/index.d.ts +1 -2
- package/dist/qti-item/index.js +1 -1
- package/dist/qti-item-react/index.d.ts +5 -3
- package/dist/qti-item-react/index.js +1 -1
- package/dist/{qti-rule-e2aee685.d.ts → qti-simple-choice-4df32b16.d.ts} +32 -33
- package/dist/qti-transform/index.d.ts +1 -2
- package/dist/qti-transform/index.js +2 -87
- package/package.json +14 -13
- package/dist/ExpressionResult-b1ac7b27.d.ts +0 -23
- package/dist/ExpressionResult-d0123389.d.ts +0 -19
- package/dist/chunk-7KH3TY23.js +0 -18
- package/dist/chunk-7LF4QM4D.js +0 -17
- package/dist/chunk-M3YT56HW.js +0 -1437
- package/dist/qti-assessment-item-d2af2995.d.ts +0 -102
- package/dist/qti-components.js +0 -13502
- package/dist/qti-item/index.css +0 -1
- package/dist/qti-item-react/index.css +0 -1
- package/dist/qti-rule-5fe4f91e.d.ts +0 -303
- package/dist/qti-test/index.d.ts +0 -61
- package/dist/qti-test/index.js +0 -14
- package/dist/themes/qti.css +0 -1718
- package/dist/vite.svg +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as w,b as h}from"./chunk-DLLHO3W2.js";import{c as o}from"./chunk-NMCIOGD2.js";import{css as x,html as y,LitElement as m}from"lit";import{property as l}from"lit/decorators.js";var p=(d,g)=>{class t extends d{constructor(){super(...arguments);this.scale=1;this.ro=new ResizeObserver(a=>{for(let e of a)this.fitToParent(e.contentRect.width)})}connectedCallback(){super.connectedCallback(),this.ro.observe(this),this.fitToParent()}set scales(a){let e=this._scales;this.requestUpdate("prop",e),this.fitToParent()}get scales(){return this._scales}fitToParent(a=this.clientWidth){let e=this.shadowRoot.querySelector(g);if(e){let c=a/e.clientWidth;this.scale=c;let v=-e.clientHeight*(1-c)+"px",b=-e.clientWidth*(1-c)+"px";requestAnimationFrame(()=>{e.style.transform=`scale(${this.scale})`,e.style.margin=`0 ${b} ${v} 0`})}}}return o([l({type:Number,reflect:!0})],t.prototype,"scale",2),o([l({type:Boolean,attribute:!1})],t.prototype,"scales",1),t};import{customElement as q,property as s}from"lit/decorators.js";import{unsafeHTML as k}from"lit/directives/unsafe-html.js";import{ContextProvider as C}from"@lit-labs/context";var f=`/* PK: Tailwind theming file for all qti-components
|
|
2
2
|
Uses tailwind components and utilities from the other files
|
|
3
3
|
|
|
4
4
|
https://play.tailwindcss.com/OFThGk8CbR
|
|
@@ -42,11 +42,13 @@ import{a as s,b as h}from"./chunk-DLLHO3W2.js";import{c as r}from"./chunk-NMCIOG
|
|
|
42
42
|
modifiers can not be in components, like this example where red should be a modifier inside base https://play.tailwindcss.com/JSnnv1Vvab?file=css
|
|
43
43
|
*/
|
|
44
44
|
|
|
45
|
-
@layer base, components,
|
|
45
|
+
/* @layer base, components, utilities, variants; */
|
|
46
|
+
|
|
47
|
+
/* layout, dimensions, design */
|
|
46
48
|
|
|
47
49
|
/** default styles for all components */
|
|
48
50
|
|
|
49
|
-
*, ::before, ::after{
|
|
51
|
+
*, ::before, ::after {
|
|
50
52
|
--tw-border-spacing-x: 0;
|
|
51
53
|
--tw-border-spacing-y: 0;
|
|
52
54
|
--tw-translate-x: 0;
|
|
@@ -96,7 +98,7 @@ import{a as s,b as h}from"./chunk-DLLHO3W2.js";import{c as r}from"./chunk-NMCIOG
|
|
|
96
98
|
--tw-backdrop-sepia: ;
|
|
97
99
|
}
|
|
98
100
|
|
|
99
|
-
::backdrop{
|
|
101
|
+
::backdrop {
|
|
100
102
|
--tw-border-spacing-x: 0;
|
|
101
103
|
--tw-border-spacing-y: 0;
|
|
102
104
|
--tw-translate-x: 0;
|
|
@@ -146,6 +148,57 @@ import{a as s,b as h}from"./chunk-DLLHO3W2.js";import{c as r}from"./chunk-NMCIOG
|
|
|
146
148
|
--tw-backdrop-sepia: ;
|
|
147
149
|
}
|
|
148
150
|
|
|
151
|
+
/** The different components, you can choose only one */
|
|
152
|
+
|
|
153
|
+
/* - button : .input-control-hidden qti-choice, qti-hotspot */
|
|
154
|
+
|
|
155
|
+
/* - select : inline-choice */
|
|
156
|
+
|
|
157
|
+
/* - check : qti-choice, qti-hotspot */
|
|
158
|
+
|
|
159
|
+
/* !important, remove for checkbox and radio the active ring, the radio and checkbox will be selected instead */
|
|
160
|
+
|
|
161
|
+
/* - text : text-entry and extended-text */
|
|
162
|
+
|
|
163
|
+
/* - spot : gap-select-point, graphic-order, qti-graphic-associate */
|
|
164
|
+
|
|
165
|
+
/* - drag : gap-match, match, order, associate */
|
|
166
|
+
|
|
167
|
+
/* - drop : gap-match, match, order, associate */
|
|
168
|
+
|
|
169
|
+
/** End components */
|
|
170
|
+
|
|
171
|
+
/* hover, every element has a hover, except disabled( which overrides hover */
|
|
172
|
+
|
|
173
|
+
/* focus, every element has a focus, even drop ( for keyboard access, eventually ) */
|
|
174
|
+
|
|
175
|
+
/* active, choice active class and, used on checkbox and radio where not .qti-input-choice-hidden */
|
|
176
|
+
|
|
177
|
+
/* readonly, overwrites cursor, hover background, outline for focus and ring */
|
|
178
|
+
|
|
179
|
+
/* disabled, make gray state */
|
|
180
|
+
|
|
181
|
+
/* drag in the drop, else the drag in the drop was black and not gray */
|
|
182
|
+
|
|
183
|
+
/** Modifiers */
|
|
184
|
+
|
|
185
|
+
/* PK: There was no utility to reset the ring-inset
|
|
186
|
+
We use this for the drop container, where we want the ring to have an outset
|
|
187
|
+
So the drag, with ring-inset, snugs neatly into the drop with ring-'outset'
|
|
188
|
+
by unsetting the ring-inset */
|
|
189
|
+
|
|
190
|
+
/* intext for elements which has to appear in text
|
|
191
|
+
- intext : gap-match > qti-gap, hottext > hottext, select
|
|
192
|
+
*/
|
|
193
|
+
|
|
194
|
+
/* small for elements which has to appear in text
|
|
195
|
+
- intext : gap-match > qti-gap, hottext > hottext, select
|
|
196
|
+
*/
|
|
197
|
+
|
|
198
|
+
/* @apply gap-0.5 rounded !px-1 !py-0 outline-offset-0 ring-1; */
|
|
199
|
+
|
|
200
|
+
/* QTI Interactions */
|
|
201
|
+
|
|
149
202
|
.qti-underline {
|
|
150
203
|
text-decoration: underline;
|
|
151
204
|
}
|
|
@@ -211,87 +264,216 @@ import{a as s,b as h}from"./chunk-DLLHO3W2.js";import{c as r}from"./chunk-NMCIOG
|
|
|
211
264
|
box-shadow: inset 0 1px 1px rgb(0 0 0 / 5%);
|
|
212
265
|
}
|
|
213
266
|
|
|
214
|
-
|
|
267
|
+
.qti-layout-row {
|
|
268
|
+
display: flow-root;
|
|
269
|
+
width: 100%;
|
|
270
|
+
}
|
|
215
271
|
|
|
216
|
-
|
|
272
|
+
.qti-layout-row [class*='qti-layout-col'] {
|
|
273
|
+
margin-left: 2.1276595745%;
|
|
274
|
+
float: left;
|
|
275
|
+
}
|
|
217
276
|
|
|
218
|
-
|
|
277
|
+
.qti-layout-row [class*='qti-layout-col']:first-child {
|
|
278
|
+
margin-left: 0;
|
|
279
|
+
}
|
|
219
280
|
|
|
220
|
-
|
|
281
|
+
.qti-layout-row .qti-layout-col12 {
|
|
282
|
+
width: 100%;
|
|
283
|
+
}
|
|
221
284
|
|
|
222
|
-
|
|
285
|
+
.qti-layout-row .qti-layout-offset12 {
|
|
286
|
+
margin-left: 104.2553191489%;
|
|
287
|
+
}
|
|
223
288
|
|
|
224
|
-
|
|
289
|
+
.qti-layout-row .qti-layout-offset12:first-child {
|
|
290
|
+
margin-left: 102.1276595745%;
|
|
291
|
+
}
|
|
225
292
|
|
|
226
|
-
|
|
293
|
+
.qti-layout-row .qti-layout-col11 {
|
|
294
|
+
width: 91.4893617021%;
|
|
295
|
+
}
|
|
227
296
|
|
|
228
|
-
|
|
297
|
+
.qti-layout-row .qti-layout-offset11 {
|
|
298
|
+
margin-left: 95.7446808511%;
|
|
299
|
+
}
|
|
229
300
|
|
|
230
|
-
|
|
301
|
+
.qti-layout-row .qti-layout-offset11:first-child {
|
|
302
|
+
margin-left: 93.6170212766%;
|
|
303
|
+
}
|
|
231
304
|
|
|
232
|
-
|
|
305
|
+
.qti-layout-row .qti-layout-col10 {
|
|
306
|
+
width: 82.9787234043%;
|
|
307
|
+
}
|
|
233
308
|
|
|
234
|
-
|
|
309
|
+
.qti-layout-row .qti-layout-offset10 {
|
|
310
|
+
margin-left: 87.2340425532%;
|
|
311
|
+
}
|
|
235
312
|
|
|
236
|
-
|
|
237
|
-
-
|
|
238
|
-
|
|
313
|
+
.qti-layout-row .qti-layout-offset10:first-child {
|
|
314
|
+
margin-left: 85.1063829787%;
|
|
315
|
+
}
|
|
239
316
|
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
317
|
+
.qti-layout-row .qti-layout-col9 {
|
|
318
|
+
width: 74.4680851064%;
|
|
319
|
+
}
|
|
243
320
|
|
|
244
|
-
|
|
321
|
+
.qti-layout-row .qti-layout-offset9 {
|
|
322
|
+
margin-left: 78.7234042553%;
|
|
323
|
+
}
|
|
245
324
|
|
|
246
|
-
|
|
325
|
+
.qti-layout-row .qti-layout-offset9:first-child {
|
|
326
|
+
margin-left: 76.5957446809%;
|
|
327
|
+
}
|
|
247
328
|
|
|
248
|
-
|
|
329
|
+
.qti-layout-row .qti-layout-col8 {
|
|
330
|
+
width: 65.9574468085%;
|
|
331
|
+
}
|
|
249
332
|
|
|
250
|
-
|
|
333
|
+
.qti-layout-row .qti-layout-offset8 {
|
|
334
|
+
margin-left: 70.2127659574%;
|
|
335
|
+
}
|
|
251
336
|
|
|
252
|
-
|
|
337
|
+
.qti-layout-row .qti-layout-offset8:first-child {
|
|
338
|
+
margin-left: 68.085106383%;
|
|
339
|
+
}
|
|
253
340
|
|
|
254
|
-
|
|
341
|
+
.qti-layout-row .qti-layout-col7 {
|
|
342
|
+
width: 57.4468085106%;
|
|
343
|
+
}
|
|
255
344
|
|
|
256
|
-
|
|
345
|
+
.qti-layout-row .qti-layout-offset7 {
|
|
346
|
+
margin-left: 61.7021276596%;
|
|
347
|
+
}
|
|
257
348
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
by unsetting the ring-inset */
|
|
349
|
+
.qti-layout-row .qti-layout-offset7:first-child {
|
|
350
|
+
margin-left: 59.5744680851%;
|
|
351
|
+
}
|
|
262
352
|
|
|
263
|
-
qti-
|
|
264
|
-
|
|
265
|
-
margin-bottom: 0.5rem;
|
|
266
|
-
display: grid;
|
|
267
|
-
gap: 0.5rem;
|
|
353
|
+
.qti-layout-row .qti-layout-col6 {
|
|
354
|
+
width: 48.9361702128%;
|
|
268
355
|
}
|
|
269
356
|
|
|
270
|
-
qti-
|
|
271
|
-
|
|
357
|
+
.qti-layout-row .qti-layout-offset6 {
|
|
358
|
+
margin-left: 53.1914893617%;
|
|
272
359
|
}
|
|
273
360
|
|
|
274
|
-
qti-
|
|
275
|
-
|
|
361
|
+
.qti-layout-row .qti-layout-offset6:first-child {
|
|
362
|
+
margin-left: 51.0638297872%;
|
|
276
363
|
}
|
|
277
364
|
|
|
278
|
-
qti-
|
|
279
|
-
|
|
365
|
+
.qti-layout-row .qti-layout-col5 {
|
|
366
|
+
width: 40.4255319149%;
|
|
280
367
|
}
|
|
281
368
|
|
|
282
|
-
qti-
|
|
283
|
-
|
|
369
|
+
.qti-layout-row .qti-layout-offset5 {
|
|
370
|
+
margin-left: 44.6808510638%;
|
|
284
371
|
}
|
|
285
372
|
|
|
286
|
-
qti-
|
|
287
|
-
|
|
373
|
+
.qti-layout-row .qti-layout-offset5:first-child {
|
|
374
|
+
margin-left: 42.5531914894%;
|
|
288
375
|
}
|
|
289
376
|
|
|
290
|
-
qti-
|
|
291
|
-
|
|
377
|
+
.qti-layout-row .qti-layout-col4 {
|
|
378
|
+
width: 31.914893617%;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.qti-layout-row .qti-layout-offset4 {
|
|
382
|
+
margin-left: 36.170212766%;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.qti-layout-row .qti-layout-offset4:first-child {
|
|
386
|
+
margin-left: 34.0425531915%;
|
|
292
387
|
}
|
|
293
388
|
|
|
294
|
-
qti-
|
|
389
|
+
.qti-layout-row .qti-layout-col3 {
|
|
390
|
+
width: 23.4042553191%;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.qti-layout-row .qti-layout-offset3 {
|
|
394
|
+
margin-left: 27.6595744681%;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.qti-layout-row .qti-layout-offset3:first-child {
|
|
398
|
+
margin-left: 25.5319148936%;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.qti-layout-row .qti-layout-col2 {
|
|
402
|
+
width: 14.8936170213%;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
.qti-layout-row .qti-layout-offset2 {
|
|
406
|
+
margin-left: 19.1489361702%;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.qti-layout-row .qti-layout-offset2:first-child {
|
|
410
|
+
margin-left: 17.0212765957%;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
.qti-layout-row .qti-layout-col1 {
|
|
414
|
+
width: 6.3829787234%;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.qti-layout-row .qti-layout-offset1 {
|
|
418
|
+
margin-left: 10.6382978723%;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
.qti-layout-row .qti-layout-offset1:first-child {
|
|
422
|
+
margin-left: 8.5106382979%;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.qti-input-width-1 {
|
|
426
|
+
width: 1ch;
|
|
427
|
+
min-width: 1ch;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.qti-input-width-2 {
|
|
431
|
+
width: 2ch;
|
|
432
|
+
min-width: 2ch;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.qti-input-width-3 {
|
|
436
|
+
width: 3ch;
|
|
437
|
+
min-width: 3ch;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
.qti-input-width-4 {
|
|
441
|
+
width: 4ch;
|
|
442
|
+
min-width: 4ch;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.qti-input-width-6 {
|
|
446
|
+
width: 6ch;
|
|
447
|
+
min-width: 6ch;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.qti-input-width-10 {
|
|
451
|
+
width: 10ch;
|
|
452
|
+
min-width: 10ch;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.qti-input-width-15 {
|
|
456
|
+
width: 15ch;
|
|
457
|
+
min-width: 15ch;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.qti-input-width-20 {
|
|
461
|
+
width: 20ch;
|
|
462
|
+
min-width: 20ch;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.qti-input-width-72 {
|
|
466
|
+
width: 72ch;
|
|
467
|
+
min-width: 72ch;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
qti-choice-interaction {
|
|
471
|
+
margin-top: 0.5rem;
|
|
472
|
+
margin-bottom: 0.5rem;
|
|
473
|
+
gap: 0.5rem;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
qti-choice-interaction.qti-input-control-hidden qti-simple-choice {
|
|
295
477
|
cursor: pointer;
|
|
296
478
|
border-radius: 0.375rem;
|
|
297
479
|
--tw-text-opacity: 1;
|
|
@@ -317,25 +499,25 @@ qti-choice-interaction.qti-input-control-hidden qti-simple-choice{
|
|
|
317
499
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
318
500
|
}
|
|
319
501
|
|
|
320
|
-
qti-choice-interaction.qti-input-control-hidden qti-simple-choice:hover{
|
|
502
|
+
qti-choice-interaction.qti-input-control-hidden qti-simple-choice:hover {
|
|
321
503
|
--tw-bg-opacity: 1;
|
|
322
504
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
323
505
|
}
|
|
324
506
|
|
|
325
|
-
qti-choice-interaction.qti-input-control-hidden qti-simple-choice:focus{
|
|
507
|
+
qti-choice-interaction.qti-input-control-hidden qti-simple-choice:focus {
|
|
326
508
|
outline-width: 2px;
|
|
327
|
-
outline-color: #
|
|
509
|
+
outline-color: #93c5fd;
|
|
328
510
|
}
|
|
329
511
|
|
|
330
|
-
qti-choice-interaction.qti-input-control-hidden qti-simple-choice[aria-checked="true"]{
|
|
512
|
+
qti-choice-interaction.qti-input-control-hidden qti-simple-choice[aria-checked="true"] {
|
|
331
513
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
332
514
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
333
515
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
334
516
|
--tw-ring-opacity: 1;
|
|
335
|
-
--tw-ring-color: rgb(
|
|
517
|
+
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
336
518
|
}
|
|
337
519
|
|
|
338
|
-
qti-choice-interaction.qti-input-control-hidden qti-simple-choice[aria-disabled="true"]{
|
|
520
|
+
qti-choice-interaction.qti-input-control-hidden qti-simple-choice[aria-disabled="true"] {
|
|
339
521
|
cursor: not-allowed;
|
|
340
522
|
--tw-bg-opacity: 1;
|
|
341
523
|
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
|
|
@@ -348,12 +530,12 @@ qti-choice-interaction.qti-input-control-hidden qti-simple-choice[aria-disabled=
|
|
|
348
530
|
--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
|
|
349
531
|
}
|
|
350
532
|
|
|
351
|
-
qti-choice-interaction.qti-input-control-hidden qti-simple-choice[aria-disabled="true"] > *{
|
|
533
|
+
qti-choice-interaction.qti-input-control-hidden qti-simple-choice[aria-disabled="true"] > * {
|
|
352
534
|
--tw-text-opacity: 1 !important;
|
|
353
535
|
color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
|
|
354
536
|
}
|
|
355
537
|
|
|
356
|
-
qti-choice-interaction.qti-input-control-hidden qti-simple-choice[aria-readonly="true"]{
|
|
538
|
+
qti-choice-interaction.qti-input-control-hidden qti-simple-choice[aria-readonly="true"] {
|
|
357
539
|
cursor: pointer;
|
|
358
540
|
--tw-bg-opacity: 1;
|
|
359
541
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
@@ -366,7 +548,7 @@ qti-choice-interaction.qti-input-control-hidden qti-simple-choice[aria-readonly=
|
|
|
366
548
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
367
549
|
}
|
|
368
550
|
|
|
369
|
-
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice{
|
|
551
|
+
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice {
|
|
370
552
|
cursor: pointer;
|
|
371
553
|
border-radius: 0.375rem;
|
|
372
554
|
--tw-text-opacity: 1;
|
|
@@ -403,7 +585,7 @@ qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice::part(ch
|
|
|
403
585
|
width: 66.666667%;
|
|
404
586
|
}
|
|
405
587
|
|
|
406
|
-
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[role='radio']::part(ch){
|
|
588
|
+
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[role='radio']::part(ch) {
|
|
407
589
|
display: flex;
|
|
408
590
|
height: 1.25rem;
|
|
409
591
|
width: 1.25rem;
|
|
@@ -422,13 +604,13 @@ qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[role='ra
|
|
|
422
604
|
--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
|
|
423
605
|
}
|
|
424
606
|
|
|
425
|
-
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[role='radio'][aria-checked='true']::part(cha){
|
|
607
|
+
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[role='radio'][aria-checked='true']::part(cha) {
|
|
426
608
|
border-radius: 9999px;
|
|
427
609
|
--tw-bg-opacity: 1;
|
|
428
|
-
background-color: rgb(
|
|
610
|
+
background-color: rgb(59 130 246 / var(--tw-bg-opacity));
|
|
429
611
|
}
|
|
430
612
|
|
|
431
|
-
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[role='checkbox']::part(ch){
|
|
613
|
+
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[role='checkbox']::part(ch) {
|
|
432
614
|
display: flex;
|
|
433
615
|
height: 1.25rem;
|
|
434
616
|
width: 1.25rem;
|
|
@@ -451,25 +633,25 @@ qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[role='ch
|
|
|
451
633
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='red' width='100%' height='100%' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E");
|
|
452
634
|
}
|
|
453
635
|
|
|
454
|
-
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice:hover{
|
|
636
|
+
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice:hover {
|
|
455
637
|
--tw-bg-opacity: 1;
|
|
456
638
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
457
639
|
}
|
|
458
640
|
|
|
459
|
-
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice:focus{
|
|
641
|
+
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice:focus {
|
|
460
642
|
outline-width: 2px;
|
|
461
|
-
outline-color: #
|
|
643
|
+
outline-color: #93c5fd;
|
|
462
644
|
}
|
|
463
645
|
|
|
464
|
-
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[aria-checked="true"]{
|
|
646
|
+
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[aria-checked="true"] {
|
|
465
647
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
466
648
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
467
649
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
468
650
|
--tw-ring-opacity: 1;
|
|
469
|
-
--tw-ring-color: rgb(
|
|
651
|
+
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
470
652
|
}
|
|
471
653
|
|
|
472
|
-
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[aria-disabled="true"]{
|
|
654
|
+
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[aria-disabled="true"] {
|
|
473
655
|
cursor: not-allowed;
|
|
474
656
|
--tw-bg-opacity: 1;
|
|
475
657
|
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
|
|
@@ -482,12 +664,12 @@ qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[aria-dis
|
|
|
482
664
|
--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
|
|
483
665
|
}
|
|
484
666
|
|
|
485
|
-
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[aria-disabled="true"] > *{
|
|
667
|
+
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[aria-disabled="true"] > * {
|
|
486
668
|
--tw-text-opacity: 1 !important;
|
|
487
669
|
color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
|
|
488
670
|
}
|
|
489
671
|
|
|
490
|
-
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[aria-readonly="true"]{
|
|
672
|
+
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[aria-readonly="true"] {
|
|
491
673
|
cursor: pointer;
|
|
492
674
|
--tw-bg-opacity: 1;
|
|
493
675
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
@@ -500,12 +682,12 @@ qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[aria-rea
|
|
|
500
682
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
501
683
|
}
|
|
502
684
|
|
|
503
|
-
qti-text-entry-interaction{
|
|
685
|
+
qti-text-entry-interaction {
|
|
504
686
|
margin-top: 0.5rem;
|
|
505
687
|
margin-bottom: 0.5rem;
|
|
506
688
|
}
|
|
507
689
|
|
|
508
|
-
qti-text-entry-interaction::part(input){
|
|
690
|
+
qti-text-entry-interaction::part(input) {
|
|
509
691
|
cursor: pointer;
|
|
510
692
|
color: rgb(17 24 39 / var(--tw-text-opacity));
|
|
511
693
|
outline: 2px solid transparent;
|
|
@@ -526,22 +708,22 @@ qti-text-entry-interaction::part(input){
|
|
|
526
708
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
527
709
|
}
|
|
528
710
|
|
|
529
|
-
qti-text-entry-interaction::part(input):hover{
|
|
711
|
+
qti-text-entry-interaction::part(input):hover {
|
|
530
712
|
--tw-bg-opacity: 1;
|
|
531
713
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
532
714
|
}
|
|
533
715
|
|
|
534
|
-
qti-text-entry-interaction::part(input):focus{
|
|
716
|
+
qti-text-entry-interaction::part(input):focus {
|
|
535
717
|
outline-width: 2px;
|
|
536
|
-
outline-color: #
|
|
718
|
+
outline-color: #93c5fd;
|
|
537
719
|
}
|
|
538
720
|
|
|
539
|
-
qti-extended-text-interaction{
|
|
721
|
+
qti-extended-text-interaction {
|
|
540
722
|
margin-top: 0.5rem;
|
|
541
723
|
margin-bottom: 0.5rem;
|
|
542
724
|
}
|
|
543
725
|
|
|
544
|
-
qti-extended-text-interaction::part(textarea){
|
|
726
|
+
qti-extended-text-interaction::part(textarea) {
|
|
545
727
|
cursor: pointer;
|
|
546
728
|
color: rgb(17 24 39 / var(--tw-text-opacity));
|
|
547
729
|
outline: 2px solid transparent;
|
|
@@ -562,23 +744,23 @@ qti-extended-text-interaction::part(textarea){
|
|
|
562
744
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
563
745
|
}
|
|
564
746
|
|
|
565
|
-
qti-extended-text-interaction::part(textarea):hover{
|
|
747
|
+
qti-extended-text-interaction::part(textarea):hover {
|
|
566
748
|
--tw-bg-opacity: 1;
|
|
567
749
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
568
750
|
}
|
|
569
751
|
|
|
570
|
-
qti-extended-text-interaction::part(textarea):focus{
|
|
752
|
+
qti-extended-text-interaction::part(textarea):focus {
|
|
571
753
|
outline-width: 2px;
|
|
572
|
-
outline-color: #
|
|
754
|
+
outline-color: #93c5fd;
|
|
573
755
|
}
|
|
574
756
|
|
|
575
|
-
qti-gap-match-interaction{
|
|
757
|
+
qti-gap-match-interaction {
|
|
576
758
|
margin-top: 0.5rem;
|
|
577
759
|
margin-bottom: 0.5rem;
|
|
578
760
|
line-height: 2rem;
|
|
579
761
|
}
|
|
580
762
|
|
|
581
|
-
qti-gap-match-interaction qti-gap-text{
|
|
763
|
+
qti-gap-match-interaction qti-gap-text {
|
|
582
764
|
cursor: pointer;
|
|
583
765
|
border-radius: 0.375rem;
|
|
584
766
|
--tw-text-opacity: 1;
|
|
@@ -618,17 +800,17 @@ qti-gap-match-interaction qti-gap-text{
|
|
|
618
800
|
line-height: 1.5;
|
|
619
801
|
}
|
|
620
802
|
|
|
621
|
-
qti-gap-match-interaction qti-gap-text:hover{
|
|
803
|
+
qti-gap-match-interaction qti-gap-text:hover {
|
|
622
804
|
--tw-bg-opacity: 1;
|
|
623
805
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
624
806
|
}
|
|
625
807
|
|
|
626
|
-
qti-gap-match-interaction qti-gap-text:focus{
|
|
808
|
+
qti-gap-match-interaction qti-gap-text:focus {
|
|
627
809
|
outline-width: 2px;
|
|
628
|
-
outline-color: #
|
|
810
|
+
outline-color: #93c5fd;
|
|
629
811
|
}
|
|
630
812
|
|
|
631
|
-
qti-gap-match-interaction qti-gap{
|
|
813
|
+
qti-gap-match-interaction qti-gap {
|
|
632
814
|
cursor: pointer;
|
|
633
815
|
border-radius: 0.375rem;
|
|
634
816
|
--tw-text-opacity: 1;
|
|
@@ -655,17 +837,17 @@ qti-gap-match-interaction qti-gap{
|
|
|
655
837
|
line-height: 1.5;
|
|
656
838
|
}
|
|
657
839
|
|
|
658
|
-
qti-gap-match-interaction qti-gap:hover{
|
|
840
|
+
qti-gap-match-interaction qti-gap:hover {
|
|
659
841
|
--tw-bg-opacity: 1;
|
|
660
842
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
661
843
|
}
|
|
662
844
|
|
|
663
|
-
qti-gap-match-interaction qti-gap:focus{
|
|
845
|
+
qti-gap-match-interaction qti-gap:focus {
|
|
664
846
|
outline-width: 2px;
|
|
665
|
-
outline-color: #
|
|
847
|
+
outline-color: #93c5fd;
|
|
666
848
|
}
|
|
667
849
|
|
|
668
|
-
qti-gap-match-interaction qti-gap{
|
|
850
|
+
qti-gap-match-interaction qti-gap {
|
|
669
851
|
width: 8rem;
|
|
670
852
|
}
|
|
671
853
|
|
|
@@ -675,7 +857,7 @@ qti-gap-match-interaction qti-gap:empty:after {
|
|
|
675
857
|
content: '\\0000a0'; /* when empty, put a space in it */
|
|
676
858
|
}
|
|
677
859
|
|
|
678
|
-
qti-gap-match-interaction qti-gap:not(:empty){
|
|
860
|
+
qti-gap-match-interaction qti-gap:not(:empty) {
|
|
679
861
|
display: inline-flex;
|
|
680
862
|
width: auto;
|
|
681
863
|
padding: 0px;
|
|
@@ -684,7 +866,7 @@ qti-gap-match-interaction qti-gap:not(:empty){
|
|
|
684
866
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
685
867
|
}
|
|
686
868
|
|
|
687
|
-
qti-gap-match-interaction qti-gap:not(:empty) > *{
|
|
869
|
+
qti-gap-match-interaction qti-gap:not(:empty) > * {
|
|
688
870
|
flex: 1 1 0%;
|
|
689
871
|
--tw-rotate: 0deg;
|
|
690
872
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
@@ -695,41 +877,228 @@ qti-gap-match-interaction qti-gap:not(:empty) > *{
|
|
|
695
877
|
--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity));
|
|
696
878
|
}
|
|
697
879
|
|
|
698
|
-
qti-hotspot-interaction{
|
|
880
|
+
qti-hotspot-interaction {
|
|
699
881
|
margin-top: 0.5rem;
|
|
700
882
|
margin-bottom: 0.5rem;
|
|
701
883
|
}
|
|
702
884
|
|
|
703
|
-
qti-hotspot-interaction qti-hotspot-choice:hover{
|
|
885
|
+
qti-hotspot-interaction qti-hotspot-choice:hover {
|
|
704
886
|
background-color: rgb(219 234 254 / var(--tw-bg-opacity));
|
|
705
887
|
--tw-bg-opacity: 0.3;
|
|
706
888
|
}
|
|
707
889
|
|
|
708
|
-
qti-hotspot-interaction qti-hotspot-choice
|
|
890
|
+
qti-hotspot-interaction qti-hotspot-choice {
|
|
891
|
+
|
|
892
|
+
/* &::after {
|
|
893
|
+
content: '';
|
|
894
|
+
@apply absolute top-0 block origin-center bg-white;
|
|
895
|
+
height: 95%;
|
|
896
|
+
width: 95%;
|
|
897
|
+
clip-path: inherit;
|
|
898
|
+
} */
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
qti-hotspot-interaction qti-hotspot-choice[shape='circle'] {
|
|
902
|
+
cursor: pointer;
|
|
903
|
+
border-radius: 0.375rem;
|
|
904
|
+
--tw-text-opacity: 1;
|
|
905
|
+
color: rgb(17 24 39 / var(--tw-text-opacity));
|
|
906
|
+
outline: 2px solid transparent;
|
|
907
|
+
outline-offset: 2px;
|
|
908
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
909
|
+
--tw-ring-inset: inset;
|
|
910
|
+
--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
|
|
911
|
+
height: 100%;
|
|
912
|
+
width: 100%;
|
|
913
|
+
background-color: transparent;
|
|
914
|
+
padding: 0px;
|
|
915
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
916
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
917
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
918
|
+
--tw-ring-opacity: 1;
|
|
919
|
+
--tw-ring-color: rgb(17 24 39 / var(--tw-ring-opacity));
|
|
920
|
+
border-radius: 9999px;
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
qti-hotspot-interaction qti-hotspot-choice[shape='circle']:hover {
|
|
924
|
+
--tw-ring-opacity: 1;
|
|
925
|
+
--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity));
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
qti-hotspot-interaction qti-hotspot-choice[shape='circle']:focus {
|
|
929
|
+
outline-width: 2px;
|
|
930
|
+
outline-color: #93c5fd;
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
qti-hotspot-interaction qti-hotspot-choice[shape='circle'][aria-checked="true"] {
|
|
934
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
935
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
936
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
937
|
+
--tw-ring-opacity: 1;
|
|
938
|
+
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
qti-hotspot-interaction qti-hotspot-choice[shape='circle'][aria-disabled="true"] {
|
|
942
|
+
cursor: not-allowed;
|
|
709
943
|
--tw-bg-opacity: 1;
|
|
710
|
-
background-color: rgb(
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
clip-path: inherit;
|
|
725
|
-
}
|
|
944
|
+
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
|
|
945
|
+
--tw-text-opacity: 1;
|
|
946
|
+
color: rgb(107 114 128 / var(--tw-text-opacity));
|
|
947
|
+
--tw-shadow: 0 0 #0000;
|
|
948
|
+
--tw-shadow-colored: 0 0 #0000;
|
|
949
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
950
|
+
--tw-ring-opacity: 1;
|
|
951
|
+
--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
qti-hotspot-interaction qti-hotspot-choice[shape='circle'][aria-disabled="true"] > * {
|
|
955
|
+
--tw-text-opacity: 1 !important;
|
|
956
|
+
color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
|
|
957
|
+
}
|
|
726
958
|
|
|
727
|
-
qti-
|
|
959
|
+
qti-hotspot-interaction qti-hotspot-choice[shape='circle'][aria-readonly="true"] {
|
|
960
|
+
cursor: pointer;
|
|
961
|
+
--tw-bg-opacity: 1;
|
|
962
|
+
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
963
|
+
--tw-shadow: 0 0 #0000;
|
|
964
|
+
--tw-shadow-colored: 0 0 #0000;
|
|
965
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
966
|
+
outline-width: 0px;
|
|
967
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
968
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
969
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
qti-hotspot-interaction qti-hotspot-choice[shape='rect'] {
|
|
973
|
+
cursor: pointer;
|
|
974
|
+
border-radius: 0.375rem;
|
|
975
|
+
--tw-text-opacity: 1;
|
|
976
|
+
color: rgb(17 24 39 / var(--tw-text-opacity));
|
|
977
|
+
outline: 2px solid transparent;
|
|
978
|
+
outline-offset: 2px;
|
|
979
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
980
|
+
--tw-ring-inset: inset;
|
|
981
|
+
--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
|
|
982
|
+
height: 100%;
|
|
983
|
+
width: 100%;
|
|
984
|
+
background-color: transparent;
|
|
985
|
+
padding: 0px;
|
|
986
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
987
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
988
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
989
|
+
--tw-ring-opacity: 1;
|
|
990
|
+
--tw-ring-color: rgb(17 24 39 / var(--tw-ring-opacity));
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
qti-hotspot-interaction qti-hotspot-choice[shape='rect']:hover {
|
|
994
|
+
--tw-ring-opacity: 1;
|
|
995
|
+
--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity));
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
qti-hotspot-interaction qti-hotspot-choice[shape='rect']:focus {
|
|
999
|
+
outline-width: 2px;
|
|
1000
|
+
outline-color: #93c5fd;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
qti-hotspot-interaction qti-hotspot-choice[shape='rect'][aria-checked="true"] {
|
|
1004
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1005
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
1006
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
1007
|
+
--tw-ring-opacity: 1;
|
|
1008
|
+
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
qti-hotspot-interaction qti-hotspot-choice[shape='rect'][aria-disabled="true"] {
|
|
1012
|
+
cursor: not-allowed;
|
|
1013
|
+
--tw-bg-opacity: 1;
|
|
1014
|
+
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
|
|
1015
|
+
--tw-text-opacity: 1;
|
|
1016
|
+
color: rgb(107 114 128 / var(--tw-text-opacity));
|
|
1017
|
+
--tw-shadow: 0 0 #0000;
|
|
1018
|
+
--tw-shadow-colored: 0 0 #0000;
|
|
1019
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
1020
|
+
--tw-ring-opacity: 1;
|
|
1021
|
+
--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
qti-hotspot-interaction qti-hotspot-choice[shape='rect'][aria-disabled="true"] > * {
|
|
1025
|
+
--tw-text-opacity: 1 !important;
|
|
1026
|
+
color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
qti-hotspot-interaction qti-hotspot-choice[shape='rect'][aria-readonly="true"] {
|
|
1030
|
+
cursor: pointer;
|
|
1031
|
+
--tw-bg-opacity: 1;
|
|
1032
|
+
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
1033
|
+
--tw-shadow: 0 0 #0000;
|
|
1034
|
+
--tw-shadow-colored: 0 0 #0000;
|
|
1035
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
1036
|
+
outline-width: 0px;
|
|
1037
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1038
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
1039
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
qti-hotspot-interaction qti-hotspot-choice[shape='poly']:hover {
|
|
1043
|
+
--tw-bg-opacity: 1;
|
|
1044
|
+
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
qti-hotspot-interaction qti-hotspot-choice[shape='poly']:focus {
|
|
1048
|
+
outline-width: 2px;
|
|
1049
|
+
outline-color: #93c5fd;
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
qti-hotspot-interaction qti-hotspot-choice[shape='poly'][aria-checked="true"] {
|
|
1053
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1054
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
1055
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
1056
|
+
--tw-ring-opacity: 1;
|
|
1057
|
+
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
qti-hotspot-interaction qti-hotspot-choice[shape='poly'][aria-disabled="true"] {
|
|
1061
|
+
cursor: not-allowed;
|
|
1062
|
+
--tw-bg-opacity: 1;
|
|
1063
|
+
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
|
|
1064
|
+
--tw-text-opacity: 1;
|
|
1065
|
+
color: rgb(107 114 128 / var(--tw-text-opacity));
|
|
1066
|
+
--tw-shadow: 0 0 #0000;
|
|
1067
|
+
--tw-shadow-colored: 0 0 #0000;
|
|
1068
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
1069
|
+
--tw-ring-opacity: 1;
|
|
1070
|
+
--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
qti-hotspot-interaction qti-hotspot-choice[shape='poly'][aria-disabled="true"] > * {
|
|
1074
|
+
--tw-text-opacity: 1 !important;
|
|
1075
|
+
color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
qti-hotspot-interaction qti-hotspot-choice[shape='poly'][aria-readonly="true"] {
|
|
1079
|
+
cursor: pointer;
|
|
1080
|
+
--tw-bg-opacity: 1;
|
|
1081
|
+
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
1082
|
+
--tw-shadow: 0 0 #0000;
|
|
1083
|
+
--tw-shadow-colored: 0 0 #0000;
|
|
1084
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
1085
|
+
outline-width: 0px;
|
|
1086
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1087
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
1088
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
qti-hotspot-interaction qti-hotspot-choice[shape='poly'][aria-checked='true'] {
|
|
1092
|
+
--tw-bg-opacity: 1;
|
|
1093
|
+
background-color: rgb(59 130 246 / var(--tw-bg-opacity));
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
qti-hottext-interaction {
|
|
728
1097
|
margin-top: 0.5rem;
|
|
729
1098
|
margin-bottom: 0.5rem;
|
|
730
1099
|
}
|
|
731
1100
|
|
|
732
|
-
qti-hottext-interaction.qti-input-control-hidden qti-hottext{
|
|
1101
|
+
qti-hottext-interaction.qti-input-control-hidden qti-hottext {
|
|
733
1102
|
cursor: pointer;
|
|
734
1103
|
border-radius: 0.375rem;
|
|
735
1104
|
--tw-text-opacity: 1;
|
|
@@ -759,25 +1128,25 @@ qti-hottext-interaction.qti-input-control-hidden qti-hottext{
|
|
|
759
1128
|
/* @apply gap-0.5 rounded !px-1 !py-0 outline-offset-0 ring-1; */
|
|
760
1129
|
}
|
|
761
1130
|
|
|
762
|
-
qti-hottext-interaction.qti-input-control-hidden qti-hottext:hover{
|
|
1131
|
+
qti-hottext-interaction.qti-input-control-hidden qti-hottext:hover {
|
|
763
1132
|
--tw-bg-opacity: 1;
|
|
764
1133
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
765
1134
|
}
|
|
766
1135
|
|
|
767
|
-
qti-hottext-interaction.qti-input-control-hidden qti-hottext:focus{
|
|
1136
|
+
qti-hottext-interaction.qti-input-control-hidden qti-hottext:focus {
|
|
768
1137
|
outline-width: 2px;
|
|
769
|
-
outline-color: #
|
|
1138
|
+
outline-color: #93c5fd;
|
|
770
1139
|
}
|
|
771
1140
|
|
|
772
|
-
qti-hottext-interaction.qti-input-control-hidden qti-hottext[aria-checked="true"]{
|
|
1141
|
+
qti-hottext-interaction.qti-input-control-hidden qti-hottext[aria-checked="true"] {
|
|
773
1142
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
774
1143
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
775
1144
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
776
1145
|
--tw-ring-opacity: 1;
|
|
777
|
-
--tw-ring-color: rgb(
|
|
1146
|
+
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
778
1147
|
}
|
|
779
1148
|
|
|
780
|
-
qti-hottext-interaction.qti-input-control-hidden qti-hottext[aria-disabled="true"]{
|
|
1149
|
+
qti-hottext-interaction.qti-input-control-hidden qti-hottext[aria-disabled="true"] {
|
|
781
1150
|
cursor: not-allowed;
|
|
782
1151
|
--tw-bg-opacity: 1;
|
|
783
1152
|
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
|
|
@@ -790,12 +1159,12 @@ qti-hottext-interaction.qti-input-control-hidden qti-hottext[aria-disabled="true
|
|
|
790
1159
|
--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
|
|
791
1160
|
}
|
|
792
1161
|
|
|
793
|
-
qti-hottext-interaction.qti-input-control-hidden qti-hottext[aria-disabled="true"] > *{
|
|
1162
|
+
qti-hottext-interaction.qti-input-control-hidden qti-hottext[aria-disabled="true"] > * {
|
|
794
1163
|
--tw-text-opacity: 1 !important;
|
|
795
1164
|
color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
|
|
796
1165
|
}
|
|
797
1166
|
|
|
798
|
-
qti-hottext-interaction.qti-input-control-hidden qti-hottext[aria-readonly="true"]{
|
|
1167
|
+
qti-hottext-interaction.qti-input-control-hidden qti-hottext[aria-readonly="true"] {
|
|
799
1168
|
cursor: pointer;
|
|
800
1169
|
--tw-bg-opacity: 1;
|
|
801
1170
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
@@ -808,11 +1177,11 @@ qti-hottext-interaction.qti-input-control-hidden qti-hottext[aria-readonly="true
|
|
|
808
1177
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
809
1178
|
}
|
|
810
1179
|
|
|
811
|
-
qti-hottext-interaction.qti-input-control-hidden qti-hottext::part(ch){
|
|
1180
|
+
qti-hottext-interaction.qti-input-control-hidden qti-hottext::part(ch) {
|
|
812
1181
|
display: none !important;
|
|
813
1182
|
}
|
|
814
1183
|
|
|
815
|
-
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext{
|
|
1184
|
+
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext {
|
|
816
1185
|
cursor: pointer;
|
|
817
1186
|
border-radius: 0.375rem;
|
|
818
1187
|
--tw-text-opacity: 1;
|
|
@@ -849,7 +1218,7 @@ qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext::part(cha) {
|
|
|
849
1218
|
width: 66.666667%;
|
|
850
1219
|
}
|
|
851
1220
|
|
|
852
|
-
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[role='radio']::part(ch){
|
|
1221
|
+
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[role='radio']::part(ch) {
|
|
853
1222
|
display: flex;
|
|
854
1223
|
height: 1.25rem;
|
|
855
1224
|
width: 1.25rem;
|
|
@@ -868,13 +1237,13 @@ qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[role='radio']
|
|
|
868
1237
|
--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
|
|
869
1238
|
}
|
|
870
1239
|
|
|
871
|
-
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[role='radio'][aria-checked='true']::part(cha){
|
|
1240
|
+
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[role='radio'][aria-checked='true']::part(cha) {
|
|
872
1241
|
border-radius: 9999px;
|
|
873
1242
|
--tw-bg-opacity: 1;
|
|
874
|
-
background-color: rgb(
|
|
1243
|
+
background-color: rgb(59 130 246 / var(--tw-bg-opacity));
|
|
875
1244
|
}
|
|
876
1245
|
|
|
877
|
-
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[role='checkbox']::part(ch){
|
|
1246
|
+
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[role='checkbox']::part(ch) {
|
|
878
1247
|
display: flex;
|
|
879
1248
|
height: 1.25rem;
|
|
880
1249
|
width: 1.25rem;
|
|
@@ -897,7 +1266,7 @@ qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[role='checkbo
|
|
|
897
1266
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='red' width='100%' height='100%' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E");
|
|
898
1267
|
}
|
|
899
1268
|
|
|
900
|
-
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext{
|
|
1269
|
+
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext {
|
|
901
1270
|
display: inline-flex;
|
|
902
1271
|
|
|
903
1272
|
/* @apply inline-flex gap-1 px-1 py-0 align-bottom font-normal ring-offset-0; */
|
|
@@ -913,7 +1282,7 @@ qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext{
|
|
|
913
1282
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
914
1283
|
}
|
|
915
1284
|
|
|
916
|
-
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext::part(ch){
|
|
1285
|
+
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext::part(ch) {
|
|
917
1286
|
height: 1rem !important;
|
|
918
1287
|
width: 1rem !important;
|
|
919
1288
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;
|
|
@@ -921,25 +1290,25 @@ qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext::part(ch){
|
|
|
921
1290
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important;
|
|
922
1291
|
}
|
|
923
1292
|
|
|
924
|
-
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext:hover{
|
|
1293
|
+
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext:hover {
|
|
925
1294
|
--tw-bg-opacity: 1;
|
|
926
1295
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
927
1296
|
}
|
|
928
1297
|
|
|
929
|
-
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext:focus{
|
|
1298
|
+
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext:focus {
|
|
930
1299
|
outline-width: 2px;
|
|
931
|
-
outline-color: #
|
|
1300
|
+
outline-color: #93c5fd;
|
|
932
1301
|
}
|
|
933
1302
|
|
|
934
|
-
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[aria-checked="true"]{
|
|
1303
|
+
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[aria-checked="true"] {
|
|
935
1304
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
936
1305
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
937
1306
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
938
1307
|
--tw-ring-opacity: 1;
|
|
939
|
-
--tw-ring-color: rgb(
|
|
1308
|
+
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
940
1309
|
}
|
|
941
1310
|
|
|
942
|
-
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[aria-disabled="true"]{
|
|
1311
|
+
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[aria-disabled="true"] {
|
|
943
1312
|
cursor: not-allowed;
|
|
944
1313
|
--tw-bg-opacity: 1;
|
|
945
1314
|
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
|
|
@@ -952,12 +1321,12 @@ qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[aria-disabled
|
|
|
952
1321
|
--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
|
|
953
1322
|
}
|
|
954
1323
|
|
|
955
|
-
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[aria-disabled="true"] > *{
|
|
1324
|
+
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[aria-disabled="true"] > * {
|
|
956
1325
|
--tw-text-opacity: 1 !important;
|
|
957
1326
|
color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
|
|
958
1327
|
}
|
|
959
1328
|
|
|
960
|
-
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[aria-readonly="true"]{
|
|
1329
|
+
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[aria-readonly="true"] {
|
|
961
1330
|
cursor: pointer;
|
|
962
1331
|
--tw-bg-opacity: 1;
|
|
963
1332
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
@@ -970,7 +1339,7 @@ qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[aria-readonly
|
|
|
970
1339
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
971
1340
|
}
|
|
972
1341
|
|
|
973
|
-
qti-inline-choice-interaction::part(select){
|
|
1342
|
+
qti-inline-choice-interaction::part(select) {
|
|
974
1343
|
cursor: pointer;
|
|
975
1344
|
border-radius: 0.375rem;
|
|
976
1345
|
--tw-text-opacity: 1;
|
|
@@ -998,25 +1367,25 @@ qti-inline-choice-interaction::part(select){
|
|
|
998
1367
|
no-repeat center right 6px;
|
|
999
1368
|
}
|
|
1000
1369
|
|
|
1001
|
-
qti-inline-choice-interaction::part(select):hover{
|
|
1370
|
+
qti-inline-choice-interaction::part(select):hover {
|
|
1002
1371
|
--tw-bg-opacity: 1;
|
|
1003
1372
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1004
1373
|
}
|
|
1005
1374
|
|
|
1006
|
-
qti-inline-choice-interaction::part(select):focus{
|
|
1375
|
+
qti-inline-choice-interaction::part(select):focus {
|
|
1007
1376
|
outline-width: 2px;
|
|
1008
|
-
outline-color: #
|
|
1377
|
+
outline-color: #93c5fd;
|
|
1009
1378
|
}
|
|
1010
1379
|
|
|
1011
|
-
qti-inline-choice-interaction[aria-checked="true"]::part(select){
|
|
1380
|
+
qti-inline-choice-interaction[aria-checked="true"]::part(select) {
|
|
1012
1381
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1013
1382
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
1014
1383
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
1015
1384
|
--tw-ring-opacity: 1;
|
|
1016
|
-
--tw-ring-color: rgb(
|
|
1385
|
+
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
1017
1386
|
}
|
|
1018
1387
|
|
|
1019
|
-
qti-inline-choice-interaction[aria-disabled="true"]::part(select){
|
|
1388
|
+
qti-inline-choice-interaction[aria-disabled="true"]::part(select) {
|
|
1020
1389
|
cursor: not-allowed;
|
|
1021
1390
|
--tw-bg-opacity: 1;
|
|
1022
1391
|
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
|
|
@@ -1029,12 +1398,12 @@ qti-inline-choice-interaction[aria-disabled="true"]::part(select){
|
|
|
1029
1398
|
--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
|
|
1030
1399
|
}
|
|
1031
1400
|
|
|
1032
|
-
qti-inline-choice-interaction::part(select)[aria-disabled="true"] > *{
|
|
1401
|
+
qti-inline-choice-interaction::part(select)[aria-disabled="true"] > * {
|
|
1033
1402
|
--tw-text-opacity: 1 !important;
|
|
1034
1403
|
color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
|
|
1035
1404
|
}
|
|
1036
1405
|
|
|
1037
|
-
qti-inline-choice-interaction[aria-readonly="true"]::part(select){
|
|
1406
|
+
qti-inline-choice-interaction[aria-readonly="true"]::part(select) {
|
|
1038
1407
|
cursor: pointer;
|
|
1039
1408
|
--tw-bg-opacity: 1;
|
|
1040
1409
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
@@ -1047,14 +1416,14 @@ qti-inline-choice-interaction[aria-readonly="true"]::part(select){
|
|
|
1047
1416
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
1048
1417
|
}
|
|
1049
1418
|
|
|
1050
|
-
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:first-of-type{
|
|
1419
|
+
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:first-of-type {
|
|
1051
1420
|
display: flex;
|
|
1052
1421
|
flex-wrap: wrap;
|
|
1053
1422
|
gap: 0.5rem;
|
|
1054
1423
|
padding-bottom: 1rem;
|
|
1055
1424
|
}
|
|
1056
1425
|
|
|
1057
|
-
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:first-of-type qti-simple-associable-choice{
|
|
1426
|
+
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:first-of-type qti-simple-associable-choice {
|
|
1058
1427
|
cursor: pointer;
|
|
1059
1428
|
border-radius: 0.375rem;
|
|
1060
1429
|
--tw-text-opacity: 1;
|
|
@@ -1093,24 +1462,24 @@ qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:first-of-type
|
|
|
1093
1462
|
padding-right: 0.75rem;
|
|
1094
1463
|
}
|
|
1095
1464
|
|
|
1096
|
-
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:first-of-type qti-simple-associable-choice:hover{
|
|
1465
|
+
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:first-of-type qti-simple-associable-choice:hover {
|
|
1097
1466
|
--tw-bg-opacity: 1;
|
|
1098
1467
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1099
1468
|
}
|
|
1100
1469
|
|
|
1101
|
-
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:first-of-type qti-simple-associable-choice:focus{
|
|
1470
|
+
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:first-of-type qti-simple-associable-choice:focus {
|
|
1102
1471
|
outline-width: 2px;
|
|
1103
|
-
outline-color: #
|
|
1472
|
+
outline-color: #93c5fd;
|
|
1104
1473
|
}
|
|
1105
1474
|
|
|
1106
|
-
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type{
|
|
1475
|
+
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type {
|
|
1107
1476
|
display: grid;
|
|
1108
1477
|
grid-auto-columns: minmax(0, 1fr);
|
|
1109
1478
|
grid-auto-flow: column;
|
|
1110
1479
|
gap: 0.5rem;
|
|
1111
1480
|
}
|
|
1112
1481
|
|
|
1113
|
-
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice{
|
|
1482
|
+
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice {
|
|
1114
1483
|
cursor: pointer;
|
|
1115
1484
|
border-radius: 0.375rem;
|
|
1116
1485
|
--tw-text-opacity: 1;
|
|
@@ -1135,23 +1504,24 @@ qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type
|
|
|
1135
1504
|
--tw-ring-inset: unset;
|
|
1136
1505
|
}
|
|
1137
1506
|
|
|
1138
|
-
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice:hover{
|
|
1507
|
+
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice:hover {
|
|
1139
1508
|
--tw-bg-opacity: 1;
|
|
1140
1509
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1141
1510
|
}
|
|
1142
1511
|
|
|
1143
|
-
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice:focus{
|
|
1512
|
+
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice:focus {
|
|
1144
1513
|
outline-width: 2px;
|
|
1145
|
-
outline-color: #
|
|
1514
|
+
outline-color: #93c5fd;
|
|
1146
1515
|
}
|
|
1147
1516
|
|
|
1148
|
-
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice{
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1517
|
+
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice {
|
|
1518
|
+
/* @apply flex h-32 flex-col gap-2; */
|
|
1519
|
+
display: flex;
|
|
1520
|
+
height: 8rem;
|
|
1521
|
+
flex-direction: column;
|
|
1522
|
+
}
|
|
1153
1523
|
|
|
1154
|
-
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice > qti-simple-associable-choice{
|
|
1524
|
+
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice > qti-simple-associable-choice {
|
|
1155
1525
|
cursor: pointer;
|
|
1156
1526
|
border-radius: 0.375rem;
|
|
1157
1527
|
--tw-text-opacity: 1;
|
|
@@ -1170,10 +1540,6 @@ qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type
|
|
|
1170
1540
|
user-select: none;
|
|
1171
1541
|
--tw-bg-opacity: 1;
|
|
1172
1542
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
1173
|
-
padding-top: 0.25rem;
|
|
1174
|
-
padding-bottom: 0.25rem;
|
|
1175
|
-
padding-left: 1rem;
|
|
1176
|
-
padding-right: 0.5rem;
|
|
1177
1543
|
font-weight: 600;
|
|
1178
1544
|
--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
1179
1545
|
--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
|
|
@@ -1188,20 +1554,28 @@ qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type
|
|
|
1188
1554
|
background-repeat: repeat-y;
|
|
1189
1555
|
background-position: left 2px;
|
|
1190
1556
|
background-size: 14px 8px;
|
|
1557
|
+
padding-top: 0.5rem;
|
|
1558
|
+
padding-bottom: 0.5rem;
|
|
1559
|
+
padding-left: 1rem;
|
|
1560
|
+
padding-right: 0.75rem;
|
|
1191
1561
|
}
|
|
1192
1562
|
|
|
1193
|
-
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice > qti-simple-associable-choice:hover{
|
|
1563
|
+
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice > qti-simple-associable-choice:hover {
|
|
1194
1564
|
--tw-bg-opacity: 1;
|
|
1195
1565
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1196
1566
|
}
|
|
1197
1567
|
|
|
1198
|
-
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice > qti-simple-associable-choice:focus{
|
|
1568
|
+
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice > qti-simple-associable-choice:focus {
|
|
1199
1569
|
outline-width: 2px;
|
|
1200
|
-
outline-color: #
|
|
1570
|
+
outline-color: #93c5fd;
|
|
1201
1571
|
}
|
|
1202
1572
|
|
|
1573
|
+
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice > qti-simple-associable-choice {
|
|
1574
|
+
flex-basis: fit-content;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1203
1577
|
qti-order-interaction::part(qti-simple-choice),
|
|
1204
|
-
qti-order-interaction qti-simple-choice{
|
|
1578
|
+
qti-order-interaction qti-simple-choice {
|
|
1205
1579
|
cursor: pointer;
|
|
1206
1580
|
border-radius: 0.375rem;
|
|
1207
1581
|
--tw-text-opacity: 1;
|
|
@@ -1241,18 +1615,18 @@ qti-order-interaction::part(qti-simple-choice),
|
|
|
1241
1615
|
}
|
|
1242
1616
|
|
|
1243
1617
|
qti-order-interaction::part(qti-simple-choice):hover,
|
|
1244
|
-
qti-order-interaction qti-simple-choice:hover{
|
|
1618
|
+
qti-order-interaction qti-simple-choice:hover {
|
|
1245
1619
|
--tw-bg-opacity: 1;
|
|
1246
1620
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1247
1621
|
}
|
|
1248
1622
|
|
|
1249
1623
|
qti-order-interaction::part(qti-simple-choice):focus,
|
|
1250
|
-
qti-order-interaction qti-simple-choice:focus{
|
|
1624
|
+
qti-order-interaction qti-simple-choice:focus {
|
|
1251
1625
|
outline-width: 2px;
|
|
1252
|
-
outline-color: #
|
|
1626
|
+
outline-color: #93c5fd;
|
|
1253
1627
|
}
|
|
1254
1628
|
|
|
1255
|
-
qti-order-interaction::part(qti-simple-choice){
|
|
1629
|
+
qti-order-interaction::part(qti-simple-choice) {
|
|
1256
1630
|
display: flex;
|
|
1257
1631
|
width: 100%;
|
|
1258
1632
|
align-items: center;
|
|
@@ -1260,15 +1634,15 @@ qti-order-interaction::part(qti-simple-choice){
|
|
|
1260
1634
|
text-overflow: ellipsis;
|
|
1261
1635
|
}
|
|
1262
1636
|
|
|
1263
|
-
qti-order-interaction::part(drops){
|
|
1637
|
+
qti-order-interaction::part(drops) {
|
|
1264
1638
|
gap: 0.5rem;
|
|
1265
1639
|
}
|
|
1266
1640
|
|
|
1267
|
-
qti-order-interaction::part(drags){
|
|
1641
|
+
qti-order-interaction::part(drags) {
|
|
1268
1642
|
gap: 0.5rem;
|
|
1269
1643
|
}
|
|
1270
1644
|
|
|
1271
|
-
qti-order-interaction::part(drop-list){
|
|
1645
|
+
qti-order-interaction::part(drop-list) {
|
|
1272
1646
|
cursor: pointer;
|
|
1273
1647
|
border-radius: 0.375rem;
|
|
1274
1648
|
--tw-text-opacity: 1;
|
|
@@ -1295,26 +1669,26 @@ qti-order-interaction::part(drop-list){
|
|
|
1295
1669
|
min-height: 4rem;
|
|
1296
1670
|
}
|
|
1297
1671
|
|
|
1298
|
-
qti-order-interaction::part(drop-list):hover{
|
|
1672
|
+
qti-order-interaction::part(drop-list):hover {
|
|
1299
1673
|
--tw-bg-opacity: 1;
|
|
1300
1674
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1301
1675
|
}
|
|
1302
1676
|
|
|
1303
|
-
qti-order-interaction::part(drop-list):focus{
|
|
1677
|
+
qti-order-interaction::part(drop-list):focus {
|
|
1304
1678
|
outline-width: 2px;
|
|
1305
|
-
outline-color: #
|
|
1679
|
+
outline-color: #93c5fd;
|
|
1306
1680
|
}
|
|
1307
1681
|
|
|
1308
|
-
qti-order-interaction::part(active){
|
|
1682
|
+
qti-order-interaction::part(active) {
|
|
1309
1683
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1310
1684
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
1311
1685
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
1312
1686
|
--tw-ring-opacity: 1;
|
|
1313
|
-
--tw-ring-color: rgb(
|
|
1687
|
+
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
1314
1688
|
}
|
|
1315
1689
|
|
|
1316
1690
|
qti-associate-interaction::part(qti-simple-associable-choice),
|
|
1317
|
-
qti-associate-interaction qti-simple-associable-choice{
|
|
1691
|
+
qti-associate-interaction qti-simple-associable-choice {
|
|
1318
1692
|
cursor: pointer;
|
|
1319
1693
|
border-radius: 0.375rem;
|
|
1320
1694
|
--tw-text-opacity: 1;
|
|
@@ -1358,18 +1732,18 @@ qti-associate-interaction::part(qti-simple-associable-choice),
|
|
|
1358
1732
|
}
|
|
1359
1733
|
|
|
1360
1734
|
qti-associate-interaction::part(qti-simple-associable-choice):hover,
|
|
1361
|
-
qti-associate-interaction qti-simple-associable-choice:hover{
|
|
1735
|
+
qti-associate-interaction qti-simple-associable-choice:hover {
|
|
1362
1736
|
--tw-bg-opacity: 1;
|
|
1363
1737
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1364
1738
|
}
|
|
1365
1739
|
|
|
1366
1740
|
qti-associate-interaction::part(qti-simple-associable-choice):focus,
|
|
1367
|
-
qti-associate-interaction qti-simple-associable-choice:focus{
|
|
1741
|
+
qti-associate-interaction qti-simple-associable-choice:focus {
|
|
1368
1742
|
outline-width: 2px;
|
|
1369
|
-
outline-color: #
|
|
1743
|
+
outline-color: #93c5fd;
|
|
1370
1744
|
}
|
|
1371
1745
|
|
|
1372
|
-
qti-associate-interaction::part(associables-container){
|
|
1746
|
+
qti-associate-interaction::part(associables-container) {
|
|
1373
1747
|
margin-top: 0.5rem;
|
|
1374
1748
|
margin-bottom: 0.5rem;
|
|
1375
1749
|
display: flex;
|
|
@@ -1383,15 +1757,15 @@ qti-associate-interaction::part(associables-container){
|
|
|
1383
1757
|
);
|
|
1384
1758
|
}
|
|
1385
1759
|
|
|
1386
|
-
qti-associate-interaction::part(active){
|
|
1760
|
+
qti-associate-interaction::part(active) {
|
|
1387
1761
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1388
1762
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
1389
1763
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
1390
1764
|
--tw-ring-opacity: 1;
|
|
1391
|
-
--tw-ring-color: rgb(
|
|
1765
|
+
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
1392
1766
|
}
|
|
1393
1767
|
|
|
1394
|
-
qti-associate-interaction::part(drop-list){
|
|
1768
|
+
qti-associate-interaction::part(drop-list) {
|
|
1395
1769
|
cursor: pointer;
|
|
1396
1770
|
border-radius: 0.375rem;
|
|
1397
1771
|
--tw-text-opacity: 1;
|
|
@@ -1421,7 +1795,7 @@ qti-associate-interaction::part(drop-list){
|
|
|
1421
1795
|
|
|
1422
1796
|
/* @apply my-2; */
|
|
1423
1797
|
|
|
1424
|
-
qti-graphic-order-interaction qti-hotspot-choice{
|
|
1798
|
+
qti-graphic-order-interaction qti-hotspot-choice {
|
|
1425
1799
|
cursor: pointer;
|
|
1426
1800
|
border-radius: 0.375rem;
|
|
1427
1801
|
--tw-text-opacity: 1;
|
|
@@ -1431,9 +1805,8 @@ qti-graphic-order-interaction qti-hotspot-choice{
|
|
|
1431
1805
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
1432
1806
|
--tw-ring-inset: inset;
|
|
1433
1807
|
--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
|
|
1434
|
-
height:
|
|
1435
|
-
width:
|
|
1436
|
-
border-radius: 9999px !important;
|
|
1808
|
+
height: 100%;
|
|
1809
|
+
width: 100%;
|
|
1437
1810
|
background-color: transparent;
|
|
1438
1811
|
padding: 0px;
|
|
1439
1812
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
@@ -1443,25 +1816,25 @@ qti-graphic-order-interaction qti-hotspot-choice{
|
|
|
1443
1816
|
--tw-ring-color: rgb(17 24 39 / var(--tw-ring-opacity));
|
|
1444
1817
|
}
|
|
1445
1818
|
|
|
1446
|
-
qti-graphic-order-interaction qti-hotspot-choice:hover{
|
|
1819
|
+
qti-graphic-order-interaction qti-hotspot-choice:hover {
|
|
1447
1820
|
--tw-bg-opacity: 1;
|
|
1448
1821
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1449
1822
|
}
|
|
1450
1823
|
|
|
1451
|
-
qti-graphic-order-interaction qti-hotspot-choice:focus{
|
|
1824
|
+
qti-graphic-order-interaction qti-hotspot-choice:focus {
|
|
1452
1825
|
outline-width: 2px;
|
|
1453
|
-
outline-color: #
|
|
1826
|
+
outline-color: #93c5fd;
|
|
1454
1827
|
}
|
|
1455
1828
|
|
|
1456
|
-
qti-graphic-order-interaction qti-hotspot-choice[aria-checked="true"]{
|
|
1829
|
+
qti-graphic-order-interaction qti-hotspot-choice[aria-checked="true"] {
|
|
1457
1830
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1458
1831
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
1459
1832
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
1460
1833
|
--tw-ring-opacity: 1;
|
|
1461
|
-
--tw-ring-color: rgb(
|
|
1834
|
+
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
1462
1835
|
}
|
|
1463
1836
|
|
|
1464
|
-
qti-graphic-order-interaction qti-hotspot-choice[aria-disabled="true"]{
|
|
1837
|
+
qti-graphic-order-interaction qti-hotspot-choice[aria-disabled="true"] {
|
|
1465
1838
|
cursor: not-allowed;
|
|
1466
1839
|
--tw-bg-opacity: 1;
|
|
1467
1840
|
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
|
|
@@ -1474,12 +1847,12 @@ qti-graphic-order-interaction qti-hotspot-choice[aria-disabled="true"]{
|
|
|
1474
1847
|
--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
|
|
1475
1848
|
}
|
|
1476
1849
|
|
|
1477
|
-
qti-graphic-order-interaction qti-hotspot-choice[aria-disabled="true"] > *{
|
|
1850
|
+
qti-graphic-order-interaction qti-hotspot-choice[aria-disabled="true"] > * {
|
|
1478
1851
|
--tw-text-opacity: 1 !important;
|
|
1479
1852
|
color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
|
|
1480
1853
|
}
|
|
1481
1854
|
|
|
1482
|
-
qti-graphic-order-interaction qti-hotspot-choice[aria-readonly="true"]{
|
|
1855
|
+
qti-graphic-order-interaction qti-hotspot-choice[aria-readonly="true"] {
|
|
1483
1856
|
cursor: pointer;
|
|
1484
1857
|
--tw-bg-opacity: 1;
|
|
1485
1858
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
@@ -1492,24 +1865,39 @@ qti-graphic-order-interaction qti-hotspot-choice[aria-readonly="true"]{
|
|
|
1492
1865
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
1493
1866
|
}
|
|
1494
1867
|
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1868
|
+
/* &::after {
|
|
1869
|
+
content: '';
|
|
1870
|
+
@apply absolute top-0 block scale-75 bg-white;
|
|
1871
|
+
height: inherit;
|
|
1872
|
+
width: inherit;
|
|
1873
|
+
clip-path: inherit;
|
|
1874
|
+
} */
|
|
1875
|
+
|
|
1876
|
+
qti-graphic-order-interaction qti-hotspot-choice[aria-ordervalue] {
|
|
1877
|
+
height: 1.5rem;
|
|
1878
|
+
width: 1.5rem;
|
|
1879
|
+
border-radius: 9999px;
|
|
1880
|
+
--tw-bg-opacity: 1;
|
|
1881
|
+
background-color: rgb(59 130 246 / var(--tw-bg-opacity));
|
|
1882
|
+
--tw-text-opacity: 1;
|
|
1883
|
+
color: rgb(255 255 255 / var(--tw-text-opacity));
|
|
1884
|
+
display: flex;
|
|
1885
|
+
align-items: center;
|
|
1886
|
+
justify-content: center;
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
qti-graphic-order-interaction qti-hotspot-choice[aria-ordervalue]::after {
|
|
1890
|
+
content: attr(aria-ordervalue) !important;
|
|
1891
|
+
}
|
|
1504
1892
|
|
|
1505
|
-
qti-graphic-associate-interaction{
|
|
1893
|
+
qti-graphic-associate-interaction {
|
|
1506
1894
|
position: relative;
|
|
1507
1895
|
display: block;
|
|
1508
1896
|
}
|
|
1509
1897
|
|
|
1510
1898
|
qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'] {
|
|
1511
1899
|
/* border-radius: 100%;
|
|
1512
|
-
|
|
1900
|
+
background-color: green; */
|
|
1513
1901
|
cursor: pointer;
|
|
1514
1902
|
border-radius: 0.375rem;
|
|
1515
1903
|
--tw-text-opacity: 1;
|
|
@@ -1519,9 +1907,8 @@ qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'] {
|
|
|
1519
1907
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
1520
1908
|
--tw-ring-inset: inset;
|
|
1521
1909
|
--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
|
|
1522
|
-
height:
|
|
1523
|
-
width:
|
|
1524
|
-
border-radius: 9999px !important;
|
|
1910
|
+
height: 100%;
|
|
1911
|
+
width: 100%;
|
|
1525
1912
|
background-color: transparent;
|
|
1526
1913
|
padding: 0px;
|
|
1527
1914
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
@@ -1531,25 +1918,25 @@ qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'] {
|
|
|
1531
1918
|
--tw-ring-color: rgb(17 24 39 / var(--tw-ring-opacity));
|
|
1532
1919
|
}
|
|
1533
1920
|
|
|
1534
|
-
qti-graphic-associate-interaction qti-associable-hotspot[shape='circle']:hover{
|
|
1921
|
+
qti-graphic-associate-interaction qti-associable-hotspot[shape='circle']:hover {
|
|
1535
1922
|
--tw-bg-opacity: 1;
|
|
1536
1923
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1537
1924
|
}
|
|
1538
1925
|
|
|
1539
|
-
qti-graphic-associate-interaction qti-associable-hotspot[shape='circle']:focus{
|
|
1926
|
+
qti-graphic-associate-interaction qti-associable-hotspot[shape='circle']:focus {
|
|
1540
1927
|
outline-width: 2px;
|
|
1541
|
-
outline-color: #
|
|
1928
|
+
outline-color: #93c5fd;
|
|
1542
1929
|
}
|
|
1543
1930
|
|
|
1544
|
-
qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'][aria-checked="true"]{
|
|
1931
|
+
qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'][aria-checked="true"] {
|
|
1545
1932
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1546
1933
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
1547
1934
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
1548
1935
|
--tw-ring-opacity: 1;
|
|
1549
|
-
--tw-ring-color: rgb(
|
|
1936
|
+
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
1550
1937
|
}
|
|
1551
1938
|
|
|
1552
|
-
qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'][aria-disabled="true"]{
|
|
1939
|
+
qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'][aria-disabled="true"] {
|
|
1553
1940
|
cursor: not-allowed;
|
|
1554
1941
|
--tw-bg-opacity: 1;
|
|
1555
1942
|
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
|
|
@@ -1562,12 +1949,12 @@ qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'][aria-di
|
|
|
1562
1949
|
--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
|
|
1563
1950
|
}
|
|
1564
1951
|
|
|
1565
|
-
qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'][aria-disabled="true"] > *{
|
|
1952
|
+
qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'][aria-disabled="true"] > * {
|
|
1566
1953
|
--tw-text-opacity: 1 !important;
|
|
1567
1954
|
color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
|
|
1568
1955
|
}
|
|
1569
1956
|
|
|
1570
|
-
qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'][aria-readonly="true"]{
|
|
1957
|
+
qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'][aria-readonly="true"] {
|
|
1571
1958
|
cursor: pointer;
|
|
1572
1959
|
--tw-bg-opacity: 1;
|
|
1573
1960
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
@@ -1592,9 +1979,8 @@ qti-graphic-associate-interaction qti-associable-hotspot[shape='square'] {
|
|
|
1592
1979
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
1593
1980
|
--tw-ring-inset: inset;
|
|
1594
1981
|
--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
|
|
1595
|
-
height:
|
|
1596
|
-
width:
|
|
1597
|
-
border-radius: 9999px !important;
|
|
1982
|
+
height: 100%;
|
|
1983
|
+
width: 100%;
|
|
1598
1984
|
background-color: transparent;
|
|
1599
1985
|
padding: 0px;
|
|
1600
1986
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
@@ -1604,25 +1990,25 @@ qti-graphic-associate-interaction qti-associable-hotspot[shape='square'] {
|
|
|
1604
1990
|
--tw-ring-color: rgb(17 24 39 / var(--tw-ring-opacity));
|
|
1605
1991
|
}
|
|
1606
1992
|
|
|
1607
|
-
qti-graphic-associate-interaction qti-associable-hotspot[shape='square']:hover{
|
|
1993
|
+
qti-graphic-associate-interaction qti-associable-hotspot[shape='square']:hover {
|
|
1608
1994
|
--tw-bg-opacity: 1;
|
|
1609
1995
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1610
1996
|
}
|
|
1611
1997
|
|
|
1612
|
-
qti-graphic-associate-interaction qti-associable-hotspot[shape='square']:focus{
|
|
1998
|
+
qti-graphic-associate-interaction qti-associable-hotspot[shape='square']:focus {
|
|
1613
1999
|
outline-width: 2px;
|
|
1614
|
-
outline-color: #
|
|
2000
|
+
outline-color: #93c5fd;
|
|
1615
2001
|
}
|
|
1616
2002
|
|
|
1617
|
-
qti-graphic-associate-interaction qti-associable-hotspot[shape='square'][aria-checked="true"]{
|
|
2003
|
+
qti-graphic-associate-interaction qti-associable-hotspot[shape='square'][aria-checked="true"] {
|
|
1618
2004
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1619
2005
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
1620
2006
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
1621
2007
|
--tw-ring-opacity: 1;
|
|
1622
|
-
--tw-ring-color: rgb(
|
|
2008
|
+
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
1623
2009
|
}
|
|
1624
2010
|
|
|
1625
|
-
qti-graphic-associate-interaction qti-associable-hotspot[shape='square'][aria-disabled="true"]{
|
|
2011
|
+
qti-graphic-associate-interaction qti-associable-hotspot[shape='square'][aria-disabled="true"] {
|
|
1626
2012
|
cursor: not-allowed;
|
|
1627
2013
|
--tw-bg-opacity: 1;
|
|
1628
2014
|
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
|
|
@@ -1635,12 +2021,12 @@ qti-graphic-associate-interaction qti-associable-hotspot[shape='square'][aria-di
|
|
|
1635
2021
|
--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
|
|
1636
2022
|
}
|
|
1637
2023
|
|
|
1638
|
-
qti-graphic-associate-interaction qti-associable-hotspot[shape='square'][aria-disabled="true"] > *{
|
|
2024
|
+
qti-graphic-associate-interaction qti-associable-hotspot[shape='square'][aria-disabled="true"] > * {
|
|
1639
2025
|
--tw-text-opacity: 1 !important;
|
|
1640
2026
|
color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
|
|
1641
2027
|
}
|
|
1642
2028
|
|
|
1643
|
-
qti-graphic-associate-interaction qti-associable-hotspot[shape='square'][aria-readonly="true"]{
|
|
2029
|
+
qti-graphic-associate-interaction qti-associable-hotspot[shape='square'][aria-readonly="true"] {
|
|
1644
2030
|
cursor: pointer;
|
|
1645
2031
|
--tw-bg-opacity: 1;
|
|
1646
2032
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
@@ -1653,22 +2039,22 @@ qti-graphic-associate-interaction qti-associable-hotspot[shape='square'][aria-re
|
|
|
1653
2039
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
1654
2040
|
}
|
|
1655
2041
|
|
|
1656
|
-
qti-graphic-gap-match-interaction{
|
|
2042
|
+
qti-graphic-gap-match-interaction {
|
|
1657
2043
|
position: relative;
|
|
1658
2044
|
}
|
|
1659
2045
|
|
|
1660
|
-
qti-graphic-gap-match-interaction img{
|
|
2046
|
+
qti-graphic-gap-match-interaction img {
|
|
1661
2047
|
margin: 0px;
|
|
1662
2048
|
padding: 0px;
|
|
1663
2049
|
}
|
|
1664
2050
|
|
|
1665
|
-
qti-slider-interaction{
|
|
2051
|
+
qti-slider-interaction {
|
|
1666
2052
|
position: relative;
|
|
1667
2053
|
width: 100%;
|
|
1668
2054
|
display: block;
|
|
1669
2055
|
}
|
|
1670
2056
|
|
|
1671
|
-
qti-slider-interaction::part(knob){
|
|
2057
|
+
qti-slider-interaction::part(knob) {
|
|
1672
2058
|
position: absolute;
|
|
1673
2059
|
height: 1rem;
|
|
1674
2060
|
width: 1rem;
|
|
@@ -1678,10 +2064,10 @@ qti-slider-interaction::part(knob){
|
|
|
1678
2064
|
cursor: pointer;
|
|
1679
2065
|
border-radius: 9999px;
|
|
1680
2066
|
--tw-bg-opacity: 1;
|
|
1681
|
-
background-color: rgb(
|
|
2067
|
+
background-color: rgb(59 130 246 / var(--tw-bg-opacity));
|
|
1682
2068
|
}
|
|
1683
2069
|
|
|
1684
|
-
qti-slider-interaction::part(rail){
|
|
2070
|
+
qti-slider-interaction::part(rail) {
|
|
1685
2071
|
height: 1rem;
|
|
1686
2072
|
background-position: 0 center;
|
|
1687
2073
|
--qti-border-color: #ff0000;
|
|
@@ -1692,31 +2078,121 @@ qti-slider-interaction::part(rail){
|
|
|
1692
2078
|
background-size: calc(calc(100% - var(--qti-border-width)) / ((var(--max) - var(--min)) / var(--step))) 50%;
|
|
1693
2079
|
}
|
|
1694
2080
|
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
margin-left: 4rem;
|
|
1700
|
-
font-weight: bold;
|
|
1701
|
-
gap: 2rem;
|
|
1702
|
-
}
|
|
2081
|
+
qti-select-point-interaction::part(point):hover {
|
|
2082
|
+
background-color: rgb(219 234 254 / var(--tw-bg-opacity));
|
|
2083
|
+
--tw-bg-opacity: 0.3;
|
|
2084
|
+
}
|
|
1703
2085
|
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
2086
|
+
qti-select-point-interaction::part(point) {
|
|
2087
|
+
cursor: pointer;
|
|
2088
|
+
border-radius: 0.375rem;
|
|
2089
|
+
--tw-text-opacity: 1;
|
|
2090
|
+
color: rgb(17 24 39 / var(--tw-text-opacity));
|
|
2091
|
+
outline: 2px solid transparent;
|
|
2092
|
+
outline-offset: 2px;
|
|
2093
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
2094
|
+
--tw-ring-inset: inset;
|
|
2095
|
+
--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
|
|
2096
|
+
height: 1.5rem;
|
|
2097
|
+
width: 1.5rem;
|
|
2098
|
+
background-color: transparent;
|
|
2099
|
+
padding: 0px;
|
|
2100
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
2101
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
2102
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
2103
|
+
--tw-ring-opacity: 1;
|
|
2104
|
+
--tw-ring-color: rgb(17 24 39 / var(--tw-ring-opacity));
|
|
2105
|
+
border-radius: 9999px;
|
|
2106
|
+
}
|
|
1708
2107
|
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
2108
|
+
qti-select-point-interaction::part(point):hover {
|
|
2109
|
+
--tw-ring-opacity: 1;
|
|
2110
|
+
--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity));
|
|
2111
|
+
}
|
|
1712
2112
|
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
2113
|
+
qti-select-point-interaction::part(point):focus {
|
|
2114
|
+
outline-width: 2px;
|
|
2115
|
+
outline-color: #93c5fd;
|
|
2116
|
+
}
|
|
2117
|
+
|
|
2118
|
+
qti-select-point-interaction[aria-checked="true"]::part(point) {
|
|
2119
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
2120
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
2121
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
2122
|
+
--tw-ring-opacity: 1;
|
|
2123
|
+
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
2124
|
+
}
|
|
2125
|
+
|
|
2126
|
+
qti-select-point-interaction[aria-disabled="true"]::part(point) {
|
|
2127
|
+
cursor: not-allowed;
|
|
2128
|
+
--tw-bg-opacity: 1;
|
|
2129
|
+
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
|
|
2130
|
+
--tw-text-opacity: 1;
|
|
2131
|
+
color: rgb(107 114 128 / var(--tw-text-opacity));
|
|
2132
|
+
--tw-shadow: 0 0 #0000;
|
|
2133
|
+
--tw-shadow-colored: 0 0 #0000;
|
|
2134
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
2135
|
+
--tw-ring-opacity: 1;
|
|
2136
|
+
--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
|
|
2137
|
+
}
|
|
2138
|
+
|
|
2139
|
+
qti-select-point-interaction::part(point)[aria-disabled="true"] > * {
|
|
2140
|
+
--tw-text-opacity: 1 !important;
|
|
2141
|
+
color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
|
|
2142
|
+
}
|
|
2143
|
+
|
|
2144
|
+
qti-select-point-interaction[aria-readonly="true"]::part(point) {
|
|
2145
|
+
cursor: pointer;
|
|
2146
|
+
--tw-bg-opacity: 1;
|
|
2147
|
+
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
2148
|
+
--tw-shadow: 0 0 #0000;
|
|
2149
|
+
--tw-shadow-colored: 0 0 #0000;
|
|
2150
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
2151
|
+
outline-width: 0px;
|
|
2152
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
2153
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
2154
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
2155
|
+
}
|
|
2156
|
+
|
|
2157
|
+
qti-position-object-stage qti-position-object-interaction {
|
|
2158
|
+
/* no styles necessary, only layout styles, defined in the component */
|
|
2159
|
+
/* height: 40px; */
|
|
1717
2160
|
}
|
|
1718
|
-
|
|
1719
|
-
|
|
2161
|
+
|
|
2162
|
+
qti-choice-interaction.qti-choices-stacking-2 {
|
|
2163
|
+
display: grid;
|
|
2164
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
2165
|
+
}
|
|
2166
|
+
|
|
2167
|
+
qti-choice-interaction.qti-choices-stacking-3 {
|
|
2168
|
+
display: grid;
|
|
2169
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
2170
|
+
}
|
|
2171
|
+
|
|
2172
|
+
qti-choice-interaction.qti-choices-stacking-4 {
|
|
2173
|
+
display: grid;
|
|
2174
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
2175
|
+
}
|
|
2176
|
+
|
|
2177
|
+
qti-choice-interaction.qti-choices-stacking-5 {
|
|
2178
|
+
display: grid;
|
|
2179
|
+
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
2180
|
+
}
|
|
2181
|
+
|
|
2182
|
+
qti-choice-interaction.qti-orientation-horizontal {
|
|
2183
|
+
/* is the default layout */
|
|
2184
|
+
}
|
|
2185
|
+
|
|
2186
|
+
qti-choice-interaction[orientation='horizontal'] {
|
|
2187
|
+
flex-direction: row;
|
|
2188
|
+
}
|
|
2189
|
+
|
|
2190
|
+
img,
|
|
2191
|
+
video {
|
|
2192
|
+
max-width: 100%;
|
|
2193
|
+
height: auto;
|
|
2194
|
+
}
|
|
2195
|
+
`;var r=class extends p(m,"qti-assessment-item"){constructor(){super(...arguments);this.disabled=!1;this.readonly=!1;this.provider=new C(this,h,{log:t=>console.log(`[my-app] ${t}`),view:"candidate"});this.processResponse=()=>{var t;return(t=this._item)==null?void 0:t.processResponse()};this.showCorrectResponse=()=>{var t;return(t=this._item)==null?void 0:t.showCorrectResponse()};this.validateResponses=()=>this._item?this._item.validateResponses():!1;this.resetInteractions=()=>{var t;return(t=this._item)==null?void 0:t.resetInteractions()};this.render=()=>y`${k(this._xml)}`}handleDisabledChange(t,i){var n,a;i&&((n=this._item)==null||n.setAttribute("disabled","")),!i&&((a=this._item)==null||a.removeAttribute("disabled"))}handleReadonlyChange(t,i){var n,a;i&&((n=this._item)==null||n.setAttribute("readonly","")),!i&&((a=this._item)==null||a.removeAttribute("readonly"))}handleResponsesChange(t,i){this._item&&(this._item.responses=i)}set qtiContext(t){this.provider.value.view=t.view,this.provider.updateObservers()}get _item(){var t;return(t=this.shadowRoot)==null?void 0:t.querySelector("qti-assessment-item")}set xml(t){let i=this._xml;this._xml=t,this.requestUpdate("xml",i),requestAnimationFrame(()=>{var n;(n=this._item)==null||n.classList.add("qti-theme-raised")})}get xml(){return this._xml}connectedCallback(){super.connectedCallback();let t=new CSSStyleSheet;t.replaceSync(f),this.shadowRoot.adoptedStyleSheets.push(t)}};r.styles=x`
|
|
1720
2196
|
:host {
|
|
1721
2197
|
display: block; /* necessary to calculate scaling position */
|
|
1722
2198
|
width: 100%;
|
|
@@ -1732,4 +2208,4 @@ qti-slider-interaction::part(rail){
|
|
|
1732
2208
|
width: 800px;
|
|
1733
2209
|
transform-origin: 0 0;
|
|
1734
2210
|
}
|
|
1735
|
-
`,
|
|
2211
|
+
`,o([s({type:Boolean})],r.prototype,"disabled",2),o([w("disabled",{waitUntilFirstUpdate:!0})],r.prototype,"handleDisabledChange",1),o([s({type:Boolean})],r.prototype,"readonly",2),o([w("readonly",{waitUntilFirstUpdate:!0})],r.prototype,"handleReadonlyChange",1),o([s({type:Object,attribute:!1})],r.prototype,"responses",2),o([w("responses",{waitUntilFirstUpdate:!0})],r.prototype,"handleResponsesChange",1),o([s({type:String})],r.prototype,"xml",1),r=o([q("qti-item")],r);export{r as a};
|