@citolab/qti-components 6.3.7 → 6.4.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/dist/{chunk-WEDIB3NH.cjs → chunk-4UAPG3LE.cjs} +59 -708
- package/dist/{chunk-Q5WLROU6.js → chunk-C4LCNAWX.js} +59 -708
- package/dist/chunk-DMECNMIP.js +405 -0
- package/dist/{chunk-6G76D2MI.cjs → chunk-HYQC3D4Z.cjs} +1 -1
- package/dist/{chunk-M4CYU6DC.cjs → chunk-SLKHOXHJ.cjs} +1 -1
- package/dist/{chunk-QROD4MVT.js → chunk-V6U2X6CM.js} +1 -1
- package/dist/chunk-W7PJYSDO.cjs +405 -0
- package/dist/chunk-YWGBLO7P.js +1 -0
- package/dist/context/index.cjs +1 -1
- package/dist/context/index.d.cts +3 -3
- package/dist/context/index.d.ts +3 -3
- package/dist/context/index.js +1 -1
- package/dist/custom-elements.json +1216 -743
- package/dist/decorators/index.cjs +1 -1
- package/dist/decorators/index.js +1 -1
- package/dist/index.bundled.css +487 -0
- package/dist/index.cjs +368 -1742
- package/dist/index.css +48 -706
- package/dist/index.d.cts +105 -45
- package/dist/index.d.ts +105 -45
- package/dist/index.js +368 -1742
- package/dist/qti-components/index.cjs +35 -33
- package/dist/qti-components/index.d.cts +6 -9
- package/dist/qti-components/index.d.ts +6 -9
- package/dist/qti-components/index.js +59 -57
- package/dist/qti-item/index.cjs +1 -1
- package/dist/qti-item/index.d.cts +33 -2
- package/dist/qti-item/index.d.ts +33 -2
- package/dist/qti-item/index.js +1 -1
- package/dist/qti-item-react/index.cjs +1 -1
- package/dist/qti-item-react/index.d.cts +2 -2
- package/dist/qti-item-react/index.d.ts +2 -2
- package/dist/qti-item-react/index.js +1 -1
- package/dist/{qti-simple-choice-1e52645f.d.ts → qti-simple-choice-216b88b7.d.ts} +3 -1
- package/dist/qti-test/index.cjs +1 -1
- package/dist/qti-test/index.d.cts +44 -50
- package/dist/qti-test/index.d.ts +44 -50
- package/dist/qti-test/index.js +1 -1
- package/dist/qti-test-react/index.cjs +1 -1
- package/dist/qti-test-react/index.d.cts +41 -4
- package/dist/qti-test-react/index.d.ts +41 -4
- package/dist/qti-test-react/index.js +1 -1
- package/dist/qti-transform/index.cjs +1 -1
- package/dist/qti-transform/index.js +1 -1
- package/dist/test-print-variables-7ec6a0d5.d.ts +100 -0
- package/dist/test-print-variables-d61937ce.d.ts +100 -0
- package/package.json +21 -19
- package/dist/chunk-343LZK3D.js +0 -1
- package/dist/chunk-BKBZWUX6.cjs +0 -1
- package/dist/chunk-DPSTDDQZ.js +0 -1
- package/dist/chunk-GKMV5OHL.cjs +0 -1195
- package/dist/chunk-KDPWLV2I.js +0 -1195
- package/dist/chunk-MTPOYN4D.js +0 -0
- package/dist/chunk-TEMU6PXC.cjs +0 -1
- package/dist/qti-test-39419b1a.d.ts +0 -63
- package/dist/qti-test-f4fd5ff3.d.ts +0 -63
|
@@ -1,445 +1,5 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
https://play.tailwindcss.com/OFThGk8CbR
|
|
5
|
-
https://play.tailwindcss.com/CeHVrnwgXR
|
|
6
|
-
https://play.tailwindcss.com/JOgoCf81JM
|
|
7
|
-
|
|
8
|
-
We make use of the default prose stylesheet, since it is much better looking then
|
|
9
|
-
the default HTML styling.
|
|
10
|
-
https://play.tailwindcss.com/uj1vGACRJA?layout=preview
|
|
11
|
-
|
|
12
|
-
So first we ( as tailwind does ) reset ALL styling on all default elements
|
|
13
|
-
Then we add the prose stylesheet: the Interaction will / or will not have a no-prose declaration, don't know about that yet
|
|
14
|
-
Then we create tailwind components
|
|
15
|
-
Then we consume these components in our qti-webcomponents
|
|
16
|
-
|
|
17
|
-
outline: used for focus
|
|
18
|
-
ring: used for border around the elements, can be active, its an inner ring, except for
|
|
19
|
-
the dropping well, because that has to surround the drag with the inner ring
|
|
20
|
-
|
|
21
|
-
There are 6 types
|
|
22
|
-
- text : text-entry and extended-text
|
|
23
|
-
- select : inline-choice
|
|
24
|
-
- button : .input-control-hidden qti-choice, qti-hotspot
|
|
25
|
-
- check : qti-choice, qti-hotspot
|
|
26
|
-
- drag : gap-match, match, order, associate
|
|
27
|
-
- drop : gap-match, match, order, associate
|
|
28
|
-
- spot : gap-select-point, graphic-order, qti-graphic-associate
|
|
29
|
-
|
|
30
|
-
trying to get the follower modifiers to work:
|
|
31
|
-
|
|
32
|
-
- sm , for elements inside text
|
|
33
|
-
- lg, , for large readable containers
|
|
34
|
-
- in , inline in text
|
|
35
|
-
|
|
36
|
-
taking into account cursors, select-none for some of the elements
|
|
37
|
-
*/
|
|
38
|
-
|
|
39
|
-
/* FIXMEs
|
|
40
|
-
Outline always on top, sometimes it slips under the hover background
|
|
41
|
-
Intext with inline gaps does not align nicely with existing text https://play.tailwindcss.com/cJEGhvANwM
|
|
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
|
-
*/
|
|
44
|
-
|
|
45
|
-
/* @layer base, components, utilities, variants; */
|
|
46
|
-
|
|
47
|
-
/* layout, dimensions, design */
|
|
48
|
-
|
|
49
|
-
/* ! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com
|
|
50
|
-
*/
|
|
51
|
-
|
|
52
|
-
/*
|
|
53
|
-
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
|
54
|
-
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
|
|
55
|
-
*/
|
|
56
|
-
|
|
57
|
-
*,
|
|
58
|
-
::before,
|
|
59
|
-
::after {
|
|
60
|
-
box-sizing: border-box; /* 1 */
|
|
61
|
-
border-width: 0; /* 2 */
|
|
62
|
-
border-style: solid; /* 2 */
|
|
63
|
-
border-color: #e5e7eb; /* 2 */
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
::before,
|
|
67
|
-
::after {
|
|
68
|
-
--tw-content: '';
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/*
|
|
72
|
-
1. Use a consistent sensible line-height in all browsers.
|
|
73
|
-
2. Prevent adjustments of font size after orientation changes in iOS.
|
|
74
|
-
3. Use a more readable tab size.
|
|
75
|
-
4. Use the user's configured \`sans\` font-family by default.
|
|
76
|
-
5. Use the user's configured \`sans\` font-feature-settings by default.
|
|
77
|
-
6. Use the user's configured \`sans\` font-variation-settings by default.
|
|
78
|
-
*/
|
|
79
|
-
|
|
80
|
-
html {
|
|
81
|
-
line-height: 1.5; /* 1 */
|
|
82
|
-
-webkit-text-size-adjust: 100%; /* 2 */
|
|
83
|
-
-moz-tab-size: 4; /* 3 */
|
|
84
|
-
-o-tab-size: 4;
|
|
85
|
-
tab-size: 4; /* 3 */
|
|
86
|
-
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
|
|
87
|
-
font-feature-settings: normal; /* 5 */
|
|
88
|
-
font-variation-settings: normal; /* 6 */
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
/*
|
|
92
|
-
1. Remove the margin in all browsers.
|
|
93
|
-
2. Inherit line-height from \`html\` so users can set them as a class directly on the \`html\` element.
|
|
94
|
-
*/
|
|
95
|
-
|
|
96
|
-
body {
|
|
97
|
-
margin: 0; /* 1 */
|
|
98
|
-
line-height: inherit; /* 2 */
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/*
|
|
102
|
-
1. Add the correct height in Firefox.
|
|
103
|
-
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
|
104
|
-
3. Ensure horizontal rules are visible by default.
|
|
105
|
-
*/
|
|
106
|
-
|
|
107
|
-
hr {
|
|
108
|
-
height: 0; /* 1 */
|
|
109
|
-
color: inherit; /* 2 */
|
|
110
|
-
border-top-width: 1px; /* 3 */
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
/*
|
|
114
|
-
Add the correct text decoration in Chrome, Edge, and Safari.
|
|
115
|
-
*/
|
|
116
|
-
|
|
117
|
-
abbr:where([title]) {
|
|
118
|
-
-webkit-text-decoration: underline dotted;
|
|
119
|
-
text-decoration: underline dotted;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
/*
|
|
123
|
-
Remove the default font size and weight for headings.
|
|
124
|
-
*/
|
|
125
|
-
|
|
126
|
-
h1,
|
|
127
|
-
h2,
|
|
128
|
-
h3,
|
|
129
|
-
h4,
|
|
130
|
-
h5,
|
|
131
|
-
h6 {
|
|
132
|
-
font-size: inherit;
|
|
133
|
-
font-weight: inherit;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
/*
|
|
137
|
-
Reset links to optimize for opt-in styling instead of opt-out.
|
|
138
|
-
*/
|
|
139
|
-
|
|
140
|
-
a {
|
|
141
|
-
color: inherit;
|
|
142
|
-
text-decoration: inherit;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
/*
|
|
146
|
-
Add the correct font weight in Edge and Safari.
|
|
147
|
-
*/
|
|
148
|
-
|
|
149
|
-
b,
|
|
150
|
-
strong {
|
|
151
|
-
font-weight: bolder;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
/*
|
|
155
|
-
1. Use the user's configured \`mono\` font family by default.
|
|
156
|
-
2. Correct the odd \`em\` font sizing in all browsers.
|
|
157
|
-
*/
|
|
158
|
-
|
|
159
|
-
code,
|
|
160
|
-
kbd,
|
|
161
|
-
samp,
|
|
162
|
-
pre {
|
|
163
|
-
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
|
|
164
|
-
font-size: 1em; /* 2 */
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
/*
|
|
168
|
-
Add the correct font size in all browsers.
|
|
169
|
-
*/
|
|
170
|
-
|
|
171
|
-
small {
|
|
172
|
-
font-size: 80%;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
/*
|
|
176
|
-
Prevent \`sub\` and \`sup\` elements from affecting the line height in all browsers.
|
|
177
|
-
*/
|
|
178
|
-
|
|
179
|
-
sub,
|
|
180
|
-
sup {
|
|
181
|
-
font-size: 75%;
|
|
182
|
-
line-height: 0;
|
|
183
|
-
position: relative;
|
|
184
|
-
vertical-align: baseline;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
sub {
|
|
188
|
-
bottom: -0.25em;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
sup {
|
|
192
|
-
top: -0.5em;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
/*
|
|
196
|
-
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
|
197
|
-
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
198
|
-
3. Remove gaps between table borders by default.
|
|
199
|
-
*/
|
|
200
|
-
|
|
201
|
-
table {
|
|
202
|
-
text-indent: 0; /* 1 */
|
|
203
|
-
border-color: inherit; /* 2 */
|
|
204
|
-
border-collapse: collapse; /* 3 */
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
/*
|
|
208
|
-
1. Change the font styles in all browsers.
|
|
209
|
-
2. Remove the margin in Firefox and Safari.
|
|
210
|
-
3. Remove default padding in all browsers.
|
|
211
|
-
*/
|
|
212
|
-
|
|
213
|
-
button,
|
|
214
|
-
input,
|
|
215
|
-
optgroup,
|
|
216
|
-
select,
|
|
217
|
-
textarea {
|
|
218
|
-
font-family: inherit; /* 1 */
|
|
219
|
-
font-feature-settings: inherit; /* 1 */
|
|
220
|
-
font-variation-settings: inherit; /* 1 */
|
|
221
|
-
font-size: 100%; /* 1 */
|
|
222
|
-
font-weight: inherit; /* 1 */
|
|
223
|
-
line-height: inherit; /* 1 */
|
|
224
|
-
color: inherit; /* 1 */
|
|
225
|
-
margin: 0; /* 2 */
|
|
226
|
-
padding: 0; /* 3 */
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
/*
|
|
230
|
-
Remove the inheritance of text transform in Edge and Firefox.
|
|
231
|
-
*/
|
|
232
|
-
|
|
233
|
-
button,
|
|
234
|
-
select {
|
|
235
|
-
text-transform: none;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
/*
|
|
239
|
-
1. Correct the inability to style clickable types in iOS and Safari.
|
|
240
|
-
2. Remove default button styles.
|
|
241
|
-
*/
|
|
242
|
-
|
|
243
|
-
button,
|
|
244
|
-
[type='button'],
|
|
245
|
-
[type='reset'],
|
|
246
|
-
[type='submit'] {
|
|
247
|
-
-webkit-appearance: button; /* 1 */
|
|
248
|
-
background-color: transparent; /* 2 */
|
|
249
|
-
background-image: none; /* 2 */
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
/*
|
|
253
|
-
Use the modern Firefox focus style for all focusable elements.
|
|
254
|
-
*/
|
|
255
|
-
|
|
256
|
-
:-moz-focusring {
|
|
257
|
-
outline: auto;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
/*
|
|
261
|
-
Remove the additional \`:invalid\` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
|
|
262
|
-
*/
|
|
263
|
-
|
|
264
|
-
:-moz-ui-invalid {
|
|
265
|
-
box-shadow: none;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
/*
|
|
269
|
-
Add the correct vertical alignment in Chrome and Firefox.
|
|
270
|
-
*/
|
|
271
|
-
|
|
272
|
-
progress {
|
|
273
|
-
vertical-align: baseline;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
/*
|
|
277
|
-
Correct the cursor style of increment and decrement buttons in Safari.
|
|
278
|
-
*/
|
|
279
|
-
|
|
280
|
-
::-webkit-inner-spin-button,
|
|
281
|
-
::-webkit-outer-spin-button {
|
|
282
|
-
height: auto;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
/*
|
|
286
|
-
1. Correct the odd appearance in Chrome and Safari.
|
|
287
|
-
2. Correct the outline style in Safari.
|
|
288
|
-
*/
|
|
289
|
-
|
|
290
|
-
[type='search'] {
|
|
291
|
-
-webkit-appearance: textfield; /* 1 */
|
|
292
|
-
outline-offset: -2px; /* 2 */
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
/*
|
|
296
|
-
Remove the inner padding in Chrome and Safari on macOS.
|
|
297
|
-
*/
|
|
298
|
-
|
|
299
|
-
::-webkit-search-decoration {
|
|
300
|
-
-webkit-appearance: none;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
/*
|
|
304
|
-
1. Correct the inability to style clickable types in iOS and Safari.
|
|
305
|
-
2. Change font properties to \`inherit\` in Safari.
|
|
306
|
-
*/
|
|
307
|
-
|
|
308
|
-
::-webkit-file-upload-button {
|
|
309
|
-
-webkit-appearance: button; /* 1 */
|
|
310
|
-
font: inherit; /* 2 */
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
/*
|
|
314
|
-
Add the correct display in Chrome and Safari.
|
|
315
|
-
*/
|
|
316
|
-
|
|
317
|
-
summary {
|
|
318
|
-
display: list-item;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
/*
|
|
322
|
-
Removes the default spacing and border for appropriate elements.
|
|
323
|
-
*/
|
|
324
|
-
|
|
325
|
-
blockquote,
|
|
326
|
-
dl,
|
|
327
|
-
dd,
|
|
328
|
-
h1,
|
|
329
|
-
h2,
|
|
330
|
-
h3,
|
|
331
|
-
h4,
|
|
332
|
-
h5,
|
|
333
|
-
h6,
|
|
334
|
-
hr,
|
|
335
|
-
figure,
|
|
336
|
-
p,
|
|
337
|
-
pre {
|
|
338
|
-
margin: 0;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
fieldset {
|
|
342
|
-
margin: 0;
|
|
343
|
-
padding: 0;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
legend {
|
|
347
|
-
padding: 0;
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
ol,
|
|
351
|
-
ul,
|
|
352
|
-
menu {
|
|
353
|
-
list-style: none;
|
|
354
|
-
margin: 0;
|
|
355
|
-
padding: 0;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
/*
|
|
359
|
-
Reset default styling for dialogs.
|
|
360
|
-
*/
|
|
361
|
-
|
|
362
|
-
dialog {
|
|
363
|
-
padding: 0;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
/*
|
|
367
|
-
Prevent resizing textareas horizontally by default.
|
|
368
|
-
*/
|
|
369
|
-
|
|
370
|
-
textarea {
|
|
371
|
-
resize: vertical;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
/*
|
|
375
|
-
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
|
|
376
|
-
2. Set the default placeholder color to the user's configured gray 400 color.
|
|
377
|
-
*/
|
|
378
|
-
|
|
379
|
-
input::-moz-placeholder, textarea::-moz-placeholder {
|
|
380
|
-
opacity: 1; /* 1 */
|
|
381
|
-
color: #9ca3af; /* 2 */
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
input::placeholder,
|
|
385
|
-
textarea::placeholder {
|
|
386
|
-
opacity: 1; /* 1 */
|
|
387
|
-
color: #9ca3af; /* 2 */
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
/*
|
|
391
|
-
Set the default cursor for buttons.
|
|
392
|
-
*/
|
|
393
|
-
|
|
394
|
-
button,
|
|
395
|
-
[role="button"] {
|
|
396
|
-
cursor: pointer;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
/*
|
|
400
|
-
Make sure disabled buttons don't get the pointer cursor.
|
|
401
|
-
*/
|
|
402
|
-
|
|
403
|
-
:disabled {
|
|
404
|
-
cursor: default;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
/*
|
|
408
|
-
1. Make replaced elements \`display: block\` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
409
|
-
2. Add \`vertical-align: middle\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
|
410
|
-
This can trigger a poorly considered lint error in some tools but is included by design.
|
|
411
|
-
*/
|
|
412
|
-
|
|
413
|
-
img,
|
|
414
|
-
svg,
|
|
415
|
-
video,
|
|
416
|
-
canvas,
|
|
417
|
-
audio,
|
|
418
|
-
iframe,
|
|
419
|
-
embed,
|
|
420
|
-
object {
|
|
421
|
-
display: block; /* 1 */
|
|
422
|
-
vertical-align: middle; /* 2 */
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
/*
|
|
426
|
-
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
427
|
-
*/
|
|
428
|
-
|
|
429
|
-
img,
|
|
430
|
-
video {
|
|
431
|
-
max-width: 100%;
|
|
432
|
-
height: auto;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
/* Make elements with the HTML hidden attribute stay hidden by default */
|
|
436
|
-
|
|
437
|
-
[hidden] {
|
|
438
|
-
display: none;
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
/** default styles for all components */
|
|
442
|
-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkCCQXZDO6cjs = require('./chunk-CCQXZDO6.cjs');var _chunkHYQC3D4Zcjs = require('./chunk-HYQC3D4Z.cjs');var _lit = require('lit');var _decoratorsjs = require('lit/decorators.js');var _unsafehtmljs = require('lit/directives/unsafe-html.js');var w=`
|
|
2
|
+
/** default styles for all components */
|
|
443
3
|
*, ::before, ::after{
|
|
444
4
|
--tw-border-spacing-x: 0;
|
|
445
5
|
--tw-border-spacing-y: 0;
|
|
@@ -489,7 +49,6 @@ video {
|
|
|
489
49
|
--tw-backdrop-saturate: ;
|
|
490
50
|
--tw-backdrop-sepia: ;
|
|
491
51
|
}
|
|
492
|
-
|
|
493
52
|
::backdrop{
|
|
494
53
|
--tw-border-spacing-x: 0;
|
|
495
54
|
--tw-border-spacing-y: 0;
|
|
@@ -539,100 +98,106 @@ video {
|
|
|
539
98
|
--tw-backdrop-saturate: ;
|
|
540
99
|
--tw-backdrop-sepia: ;
|
|
541
100
|
}
|
|
542
|
-
|
|
543
101
|
/** The different components, you can choose only one */
|
|
544
|
-
|
|
545
102
|
/* - button : .input-control-hidden qti-choice, qti-hotspot */
|
|
546
|
-
|
|
547
103
|
/* - select : inline-choice */
|
|
548
|
-
|
|
549
104
|
/* - check : qti-choice, qti-hotspot */
|
|
550
|
-
|
|
551
105
|
/* !important, remove for checkbox and radio the active ring, the radio and checkbox will be selected instead */
|
|
552
|
-
|
|
553
106
|
/* @apply select-none; */
|
|
554
|
-
|
|
555
107
|
/* - text : text-entry and extended-text */
|
|
556
|
-
|
|
557
108
|
/* - spot : gap-select-point, graphic-order, qti-graphic-associate */
|
|
558
|
-
|
|
559
109
|
/* - drag : gap-match, match, order, associate */
|
|
560
|
-
|
|
561
110
|
/* - drop : gap-match, match, order, associate */
|
|
562
|
-
|
|
563
111
|
/** End components */
|
|
564
|
-
|
|
565
112
|
/* hover, every element has a hover, except disabled( which overrides hover */
|
|
566
|
-
|
|
567
113
|
/* focus, every element has a focus, even drop ( for keyboard access, eventually ) */
|
|
568
|
-
|
|
569
114
|
/* active, choice active class and, used on checkbox and radio where not .qti-input-choice-hidden */
|
|
570
|
-
|
|
571
115
|
/* readonly, overwrites cursor, hover background, outline for focus and ring */
|
|
572
|
-
|
|
573
116
|
/* disabled, make gray state */
|
|
574
|
-
|
|
575
117
|
/* drag in the drop, else the drag in the drop was black and not gray */
|
|
576
|
-
|
|
577
118
|
/** Modifiers */
|
|
578
|
-
|
|
579
119
|
/* PK: There was no utility to reset the ring-inset
|
|
580
120
|
We use this for the drop container, where we want the ring to have an outset
|
|
581
121
|
So the drag, with ring-inset, snugs neatly into the drop with ring-'outset'
|
|
582
122
|
by unsetting the ring-inset */
|
|
583
|
-
|
|
584
123
|
/* intext for elements which has to appear in text
|
|
585
124
|
- intext : gap-match > qti-gap, hottext > hottext, select
|
|
586
125
|
*/
|
|
587
|
-
|
|
588
126
|
/* small for elements which has to appear in text
|
|
589
127
|
- intext : gap-match > qti-gap, hottext > hottext, select
|
|
590
128
|
*/
|
|
591
|
-
|
|
592
129
|
/* @apply gap-0.5 rounded !px-1 !py-0 outline-offset-0 ring-1; */
|
|
130
|
+
/* PK: Tailwind theming file for all qti-components
|
|
131
|
+
Uses tailwind components and utilities from the other files
|
|
593
132
|
|
|
594
|
-
|
|
133
|
+
https://play.tailwindcss.com/OFThGk8CbR
|
|
134
|
+
https://play.tailwindcss.com/CeHVrnwgXR
|
|
135
|
+
https://play.tailwindcss.com/JOgoCf81JM
|
|
136
|
+
|
|
137
|
+
You should in you project include modern-normalize.css
|
|
138
|
+
|
|
139
|
+
Then we create tailwind components
|
|
140
|
+
Then we consume these components in our qti-webcomponents
|
|
141
|
+
|
|
142
|
+
outline: used for focus
|
|
143
|
+
ring: used for border around the elements, can be active, its an inner ring, except for
|
|
144
|
+
the dropping well, because that has to surround the drag with the inner ring
|
|
145
|
+
|
|
146
|
+
There are 6 types
|
|
147
|
+
- text : text-entry and extended-text
|
|
148
|
+
- select : inline-choice
|
|
149
|
+
- button : .input-control-hidden qti-choice, qti-hotspot
|
|
150
|
+
- check : qti-choice, qti-hotspot
|
|
151
|
+
- drag : gap-match, match, order, associate
|
|
152
|
+
- drop : gap-match, match, order, associate
|
|
153
|
+
- spot : gap-select-point, graphic-order, qti-graphic-associate
|
|
154
|
+
|
|
155
|
+
trying to get the follower modifiers to work:
|
|
595
156
|
|
|
157
|
+
- sm , for elements inside text
|
|
158
|
+
- lg, , for large readable containers
|
|
159
|
+
- in , inline in text
|
|
160
|
+
|
|
161
|
+
taking into account cursors, select-none for some of the elements
|
|
162
|
+
*/
|
|
163
|
+
/* FIXMEs
|
|
164
|
+
Outline always on top, sometimes it slips under the hover background
|
|
165
|
+
Intext with inline gaps does not align nicely with existing text https://play.tailwindcss.com/cJEGhvANwM
|
|
166
|
+
modifiers can not be in components, like this example where red should be a modifier inside base https://play.tailwindcss.com/JSnnv1Vvab?file=css
|
|
167
|
+
*/
|
|
168
|
+
/* @layer base, components, utilities, variants; */
|
|
169
|
+
/* layout, dimensions, design */
|
|
170
|
+
/* QTI Interactions */
|
|
596
171
|
.qti-underline {
|
|
597
172
|
text-decoration: underline;
|
|
598
173
|
}
|
|
599
|
-
|
|
600
174
|
.qti-align-left {
|
|
601
175
|
text-align: left;
|
|
602
176
|
}
|
|
603
|
-
|
|
604
177
|
.qti-align-center {
|
|
605
178
|
text-align: center;
|
|
606
179
|
}
|
|
607
|
-
|
|
608
180
|
.qti-align-right {
|
|
609
181
|
text-align: right;
|
|
610
182
|
}
|
|
611
|
-
|
|
612
183
|
.qti-valign-top {
|
|
613
184
|
vertical-align: top;
|
|
614
185
|
}
|
|
615
|
-
|
|
616
186
|
.qti-valign-middle {
|
|
617
187
|
vertical-align: middle;
|
|
618
188
|
}
|
|
619
|
-
|
|
620
189
|
.qti-valign-baseline {
|
|
621
190
|
vertical-align: baseline;
|
|
622
191
|
}
|
|
623
|
-
|
|
624
192
|
.qti-valign-bottom {
|
|
625
193
|
vertical-align: bottom;
|
|
626
194
|
}
|
|
627
|
-
|
|
628
195
|
.qti-fullwidth {
|
|
629
196
|
width: 100%;
|
|
630
197
|
}
|
|
631
|
-
|
|
632
198
|
.qti-hidden {
|
|
633
199
|
display: none;
|
|
634
200
|
}
|
|
635
|
-
|
|
636
201
|
.qti-visually-hidden {
|
|
637
202
|
position: fixed !important;
|
|
638
203
|
overflow: hidden;
|
|
@@ -642,12 +207,10 @@ video {
|
|
|
642
207
|
margin: -1px;
|
|
643
208
|
clip: rect(1px 1px 1px 1px);
|
|
644
209
|
}
|
|
645
|
-
|
|
646
210
|
.qti-bordered {
|
|
647
211
|
padding: 2px;
|
|
648
212
|
border: 1px solid #888;
|
|
649
213
|
}
|
|
650
|
-
|
|
651
214
|
.qti-well{
|
|
652
215
|
cursor: pointer;
|
|
653
216
|
outline: 2px solid transparent;
|
|
@@ -672,165 +235,125 @@ video {
|
|
|
672
235
|
--tw-text-opacity: 1;
|
|
673
236
|
color: rgb(75 85 99 / var(--tw-text-opacity));
|
|
674
237
|
}
|
|
675
|
-
|
|
676
238
|
.qti-layout-row {
|
|
677
239
|
display: flow-root;
|
|
678
240
|
width: 100%;
|
|
679
241
|
}
|
|
680
|
-
|
|
681
242
|
.qti-layout-row [class*='qti-layout-col'] {
|
|
682
243
|
margin-left: 2.1276595745%;
|
|
683
244
|
float: left;
|
|
684
245
|
}
|
|
685
|
-
|
|
686
246
|
.qti-layout-row [class*='qti-layout-col']:first-child {
|
|
687
247
|
margin-left: 0;
|
|
688
248
|
}
|
|
689
|
-
|
|
690
249
|
.qti-layout-row .qti-layout-col12 {
|
|
691
250
|
width: 100%;
|
|
692
251
|
}
|
|
693
|
-
|
|
694
252
|
.qti-layout-row .qti-layout-offset12 {
|
|
695
253
|
margin-left: 104.2553191489%;
|
|
696
254
|
}
|
|
697
|
-
|
|
698
255
|
.qti-layout-row .qti-layout-offset12:first-child {
|
|
699
256
|
margin-left: 102.1276595745%;
|
|
700
257
|
}
|
|
701
|
-
|
|
702
258
|
.qti-layout-row .qti-layout-col11 {
|
|
703
259
|
width: 91.4893617021%;
|
|
704
260
|
}
|
|
705
|
-
|
|
706
261
|
.qti-layout-row .qti-layout-offset11 {
|
|
707
262
|
margin-left: 95.7446808511%;
|
|
708
263
|
}
|
|
709
|
-
|
|
710
264
|
.qti-layout-row .qti-layout-offset11:first-child {
|
|
711
265
|
margin-left: 93.6170212766%;
|
|
712
266
|
}
|
|
713
|
-
|
|
714
267
|
.qti-layout-row .qti-layout-col10 {
|
|
715
268
|
width: 82.9787234043%;
|
|
716
269
|
}
|
|
717
|
-
|
|
718
270
|
.qti-layout-row .qti-layout-offset10 {
|
|
719
271
|
margin-left: 87.2340425532%;
|
|
720
272
|
}
|
|
721
|
-
|
|
722
273
|
.qti-layout-row .qti-layout-offset10:first-child {
|
|
723
274
|
margin-left: 85.1063829787%;
|
|
724
275
|
}
|
|
725
|
-
|
|
726
276
|
.qti-layout-row .qti-layout-col9 {
|
|
727
277
|
width: 74.4680851064%;
|
|
728
278
|
}
|
|
729
|
-
|
|
730
279
|
.qti-layout-row .qti-layout-offset9 {
|
|
731
280
|
margin-left: 78.7234042553%;
|
|
732
281
|
}
|
|
733
|
-
|
|
734
282
|
.qti-layout-row .qti-layout-offset9:first-child {
|
|
735
283
|
margin-left: 76.5957446809%;
|
|
736
284
|
}
|
|
737
|
-
|
|
738
285
|
.qti-layout-row .qti-layout-col8 {
|
|
739
286
|
width: 65.9574468085%;
|
|
740
287
|
}
|
|
741
|
-
|
|
742
288
|
.qti-layout-row .qti-layout-offset8 {
|
|
743
289
|
margin-left: 70.2127659574%;
|
|
744
290
|
}
|
|
745
|
-
|
|
746
291
|
.qti-layout-row .qti-layout-offset8:first-child {
|
|
747
292
|
margin-left: 68.085106383%;
|
|
748
293
|
}
|
|
749
|
-
|
|
750
294
|
.qti-layout-row .qti-layout-col7 {
|
|
751
295
|
width: 57.4468085106%;
|
|
752
296
|
}
|
|
753
|
-
|
|
754
297
|
.qti-layout-row .qti-layout-offset7 {
|
|
755
298
|
margin-left: 61.7021276596%;
|
|
756
299
|
}
|
|
757
|
-
|
|
758
300
|
.qti-layout-row .qti-layout-offset7:first-child {
|
|
759
301
|
margin-left: 59.5744680851%;
|
|
760
302
|
}
|
|
761
|
-
|
|
762
303
|
.qti-layout-row .qti-layout-col6 {
|
|
763
304
|
width: 48.9361702128%;
|
|
764
305
|
}
|
|
765
|
-
|
|
766
306
|
.qti-layout-row .qti-layout-offset6 {
|
|
767
307
|
margin-left: 53.1914893617%;
|
|
768
308
|
}
|
|
769
|
-
|
|
770
309
|
.qti-layout-row .qti-layout-offset6:first-child {
|
|
771
310
|
margin-left: 51.0638297872%;
|
|
772
311
|
}
|
|
773
|
-
|
|
774
312
|
.qti-layout-row .qti-layout-col5 {
|
|
775
313
|
width: 40.4255319149%;
|
|
776
314
|
}
|
|
777
|
-
|
|
778
315
|
.qti-layout-row .qti-layout-offset5 {
|
|
779
316
|
margin-left: 44.6808510638%;
|
|
780
317
|
}
|
|
781
|
-
|
|
782
318
|
.qti-layout-row .qti-layout-offset5:first-child {
|
|
783
319
|
margin-left: 42.5531914894%;
|
|
784
320
|
}
|
|
785
|
-
|
|
786
321
|
.qti-layout-row .qti-layout-col4 {
|
|
787
322
|
width: 31.914893617%;
|
|
788
323
|
}
|
|
789
|
-
|
|
790
324
|
.qti-layout-row .qti-layout-offset4 {
|
|
791
325
|
margin-left: 36.170212766%;
|
|
792
326
|
}
|
|
793
|
-
|
|
794
327
|
.qti-layout-row .qti-layout-offset4:first-child {
|
|
795
328
|
margin-left: 34.0425531915%;
|
|
796
329
|
}
|
|
797
|
-
|
|
798
330
|
.qti-layout-row .qti-layout-col3 {
|
|
799
331
|
width: 23.4042553191%;
|
|
800
332
|
}
|
|
801
|
-
|
|
802
333
|
.qti-layout-row .qti-layout-offset3 {
|
|
803
334
|
margin-left: 27.6595744681%;
|
|
804
335
|
}
|
|
805
|
-
|
|
806
336
|
.qti-layout-row .qti-layout-offset3:first-child {
|
|
807
337
|
margin-left: 25.5319148936%;
|
|
808
338
|
}
|
|
809
|
-
|
|
810
339
|
.qti-layout-row .qti-layout-col2 {
|
|
811
340
|
width: 14.8936170213%;
|
|
812
341
|
}
|
|
813
|
-
|
|
814
342
|
.qti-layout-row .qti-layout-offset2 {
|
|
815
343
|
margin-left: 19.1489361702%;
|
|
816
344
|
}
|
|
817
|
-
|
|
818
345
|
.qti-layout-row .qti-layout-offset2:first-child {
|
|
819
346
|
margin-left: 17.0212765957%;
|
|
820
347
|
}
|
|
821
|
-
|
|
822
348
|
.qti-layout-row .qti-layout-col1 {
|
|
823
349
|
width: 6.3829787234%;
|
|
824
350
|
}
|
|
825
|
-
|
|
826
351
|
.qti-layout-row .qti-layout-offset1 {
|
|
827
352
|
margin-left: 10.6382978723%;
|
|
828
353
|
}
|
|
829
|
-
|
|
830
354
|
.qti-layout-row .qti-layout-offset1:first-child {
|
|
831
355
|
margin-left: 8.5106382979%;
|
|
832
356
|
}
|
|
833
|
-
|
|
834
357
|
/* .qti-input-width-1 {
|
|
835
358
|
width: 1ch;
|
|
836
359
|
min-width: 1ch;
|
|
@@ -867,13 +390,11 @@ video {
|
|
|
867
390
|
width: 72ch;
|
|
868
391
|
min-width: 72ch;
|
|
869
392
|
} */
|
|
870
|
-
|
|
871
393
|
qti-choice-interaction{
|
|
872
394
|
margin-top: 0.5rem;
|
|
873
395
|
margin-bottom: 0.5rem;
|
|
874
396
|
gap: 0.5rem;
|
|
875
397
|
}
|
|
876
|
-
|
|
877
398
|
qti-choice-interaction.qti-input-control-hidden qti-simple-choice{
|
|
878
399
|
cursor: pointer;
|
|
879
400
|
border-radius: 0.375rem;
|
|
@@ -895,17 +416,14 @@ qti-choice-interaction.qti-input-control-hidden qti-simple-choice{
|
|
|
895
416
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
896
417
|
/* @apply select-none; */
|
|
897
418
|
}
|
|
898
|
-
|
|
899
419
|
qti-choice-interaction.qti-input-control-hidden qti-simple-choice:hover{
|
|
900
420
|
--tw-bg-opacity: 1;
|
|
901
421
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
902
422
|
}
|
|
903
|
-
|
|
904
423
|
qti-choice-interaction.qti-input-control-hidden qti-simple-choice:focus{
|
|
905
424
|
outline-width: 2px;
|
|
906
425
|
outline-color: #93c5fd;
|
|
907
426
|
}
|
|
908
|
-
|
|
909
427
|
qti-choice-interaction.qti-input-control-hidden qti-simple-choice[aria-checked="true"]{
|
|
910
428
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
911
429
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
@@ -913,7 +431,6 @@ qti-choice-interaction.qti-input-control-hidden qti-simple-choice[aria-checked="
|
|
|
913
431
|
--tw-ring-opacity: 1;
|
|
914
432
|
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
915
433
|
}
|
|
916
|
-
|
|
917
434
|
qti-choice-interaction.qti-input-control-hidden qti-simple-choice[aria-disabled="true"]{
|
|
918
435
|
cursor: not-allowed;
|
|
919
436
|
--tw-bg-opacity: 1;
|
|
@@ -926,12 +443,10 @@ qti-choice-interaction.qti-input-control-hidden qti-simple-choice[aria-disabled=
|
|
|
926
443
|
--tw-ring-opacity: 1;
|
|
927
444
|
--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
|
|
928
445
|
}
|
|
929
|
-
|
|
930
446
|
qti-choice-interaction.qti-input-control-hidden qti-simple-choice[aria-disabled="true"] > *{
|
|
931
447
|
--tw-text-opacity: 1 !important;
|
|
932
448
|
color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
|
|
933
449
|
}
|
|
934
|
-
|
|
935
450
|
qti-choice-interaction.qti-input-control-hidden qti-simple-choice[aria-readonly="true"]{
|
|
936
451
|
cursor: pointer;
|
|
937
452
|
--tw-bg-opacity: 1;
|
|
@@ -944,7 +459,6 @@ qti-choice-interaction.qti-input-control-hidden qti-simple-choice[aria-readonly=
|
|
|
944
459
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
945
460
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
946
461
|
}
|
|
947
|
-
|
|
948
462
|
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice{
|
|
949
463
|
cursor: pointer;
|
|
950
464
|
border-radius: 0.375rem;
|
|
@@ -969,13 +483,11 @@ qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice{
|
|
|
969
483
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;
|
|
970
484
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important;
|
|
971
485
|
}
|
|
972
|
-
|
|
973
486
|
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice::part(cha) {
|
|
974
487
|
/* let the checkmark or radio circle already take up space, else when checking everyhing collapses */
|
|
975
488
|
height: 66.666667%;
|
|
976
489
|
width: 66.666667%;
|
|
977
490
|
}
|
|
978
|
-
|
|
979
491
|
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[role='radio']::part(ch){
|
|
980
492
|
display: flex;
|
|
981
493
|
height: 1.25rem;
|
|
@@ -994,13 +506,11 @@ qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[role='ra
|
|
|
994
506
|
--tw-ring-opacity: 1;
|
|
995
507
|
--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
|
|
996
508
|
}
|
|
997
|
-
|
|
998
509
|
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[role='radio'][aria-checked='true']::part(cha){
|
|
999
510
|
border-radius: 9999px;
|
|
1000
511
|
--tw-bg-opacity: 1;
|
|
1001
512
|
background-color: rgb(59 130 246 / var(--tw-bg-opacity));
|
|
1002
513
|
}
|
|
1003
|
-
|
|
1004
514
|
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[role='checkbox']::part(ch){
|
|
1005
515
|
display: flex;
|
|
1006
516
|
height: 1.25rem;
|
|
@@ -1019,23 +529,19 @@ qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[role='ch
|
|
|
1019
529
|
--tw-ring-opacity: 1;
|
|
1020
530
|
--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
|
|
1021
531
|
}
|
|
1022
|
-
|
|
1023
532
|
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[role='checkbox'][aria-checked='true']::part(cha){
|
|
1024
533
|
--tw-bg-opacity: 1;
|
|
1025
534
|
background-color: rgb(59 130 246 / var(--tw-bg-opacity));
|
|
1026
535
|
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' 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");
|
|
1027
536
|
}
|
|
1028
|
-
|
|
1029
537
|
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice:hover{
|
|
1030
538
|
--tw-bg-opacity: 1;
|
|
1031
539
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1032
540
|
}
|
|
1033
|
-
|
|
1034
541
|
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice:focus{
|
|
1035
542
|
outline-width: 2px;
|
|
1036
543
|
outline-color: #93c5fd;
|
|
1037
544
|
}
|
|
1038
|
-
|
|
1039
545
|
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[aria-checked="true"]{
|
|
1040
546
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1041
547
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
@@ -1043,7 +549,6 @@ qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[aria-che
|
|
|
1043
549
|
--tw-ring-opacity: 1;
|
|
1044
550
|
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
1045
551
|
}
|
|
1046
|
-
|
|
1047
552
|
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[aria-disabled="true"]{
|
|
1048
553
|
cursor: not-allowed;
|
|
1049
554
|
--tw-bg-opacity: 1;
|
|
@@ -1056,12 +561,10 @@ qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[aria-dis
|
|
|
1056
561
|
--tw-ring-opacity: 1;
|
|
1057
562
|
--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
|
|
1058
563
|
}
|
|
1059
|
-
|
|
1060
564
|
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[aria-disabled="true"] > *{
|
|
1061
565
|
--tw-text-opacity: 1 !important;
|
|
1062
566
|
color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
|
|
1063
567
|
}
|
|
1064
|
-
|
|
1065
568
|
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[aria-readonly="true"]{
|
|
1066
569
|
cursor: pointer;
|
|
1067
570
|
--tw-bg-opacity: 1;
|
|
@@ -1074,17 +577,22 @@ qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[aria-rea
|
|
|
1074
577
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
1075
578
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
1076
579
|
}
|
|
1077
|
-
|
|
580
|
+
qti-choice-interaction qti-simple-choice[data-correct-response='true'] {
|
|
581
|
+
/* @apply bg-green-100 text-green-600; */
|
|
582
|
+
}
|
|
583
|
+
qti-choice-interaction qti-simple-choice[data-correct-response='true']::after {
|
|
584
|
+
content: '\\02714';
|
|
585
|
+
--tw-text-opacity: 1;
|
|
586
|
+
color: rgb(22 163 74 / var(--tw-text-opacity));
|
|
587
|
+
}
|
|
1078
588
|
qti-choice-interaction qti-simple-choice > p{
|
|
1079
589
|
margin: 0px;
|
|
1080
590
|
padding: 0px;
|
|
1081
591
|
}
|
|
1082
|
-
|
|
1083
592
|
qti-text-entry-interaction{
|
|
1084
593
|
margin-top: 0.5rem;
|
|
1085
594
|
margin-bottom: 0.5rem;
|
|
1086
595
|
}
|
|
1087
|
-
|
|
1088
596
|
qti-text-entry-interaction::part(input){
|
|
1089
597
|
cursor: pointer;
|
|
1090
598
|
outline: 2px solid transparent;
|
|
@@ -1105,22 +613,18 @@ qti-text-entry-interaction::part(input){
|
|
|
1105
613
|
--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);
|
|
1106
614
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
1107
615
|
}
|
|
1108
|
-
|
|
1109
616
|
qti-text-entry-interaction::part(input):hover{
|
|
1110
617
|
--tw-bg-opacity: 1;
|
|
1111
618
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1112
619
|
}
|
|
1113
|
-
|
|
1114
620
|
qti-text-entry-interaction::part(input):focus{
|
|
1115
621
|
outline-width: 2px;
|
|
1116
622
|
outline-color: #93c5fd;
|
|
1117
623
|
}
|
|
1118
|
-
|
|
1119
624
|
qti-extended-text-interaction{
|
|
1120
625
|
margin-top: 0.5rem;
|
|
1121
626
|
margin-bottom: 0.5rem;
|
|
1122
627
|
}
|
|
1123
|
-
|
|
1124
628
|
qti-extended-text-interaction::part(textarea){
|
|
1125
629
|
cursor: pointer;
|
|
1126
630
|
outline: 2px solid transparent;
|
|
@@ -1141,23 +645,19 @@ qti-extended-text-interaction::part(textarea){
|
|
|
1141
645
|
--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);
|
|
1142
646
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
1143
647
|
}
|
|
1144
|
-
|
|
1145
648
|
qti-extended-text-interaction::part(textarea):hover{
|
|
1146
649
|
--tw-bg-opacity: 1;
|
|
1147
650
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1148
651
|
}
|
|
1149
|
-
|
|
1150
652
|
qti-extended-text-interaction::part(textarea):focus{
|
|
1151
653
|
outline-width: 2px;
|
|
1152
654
|
outline-color: #93c5fd;
|
|
1153
655
|
}
|
|
1154
|
-
|
|
1155
656
|
qti-gap-match-interaction{
|
|
1156
657
|
margin-top: 0.5rem;
|
|
1157
658
|
margin-bottom: 0.5rem;
|
|
1158
659
|
line-height: 2rem;
|
|
1159
660
|
}
|
|
1160
|
-
|
|
1161
661
|
qti-gap-match-interaction qti-gap-text{
|
|
1162
662
|
cursor: pointer;
|
|
1163
663
|
border-radius: 0.375rem;
|
|
@@ -1194,17 +694,14 @@ qti-gap-match-interaction qti-gap-text{
|
|
|
1194
694
|
padding-right: 0.5rem;
|
|
1195
695
|
line-height: 1.5;
|
|
1196
696
|
}
|
|
1197
|
-
|
|
1198
697
|
qti-gap-match-interaction qti-gap-text:hover{
|
|
1199
698
|
--tw-bg-opacity: 1;
|
|
1200
699
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1201
700
|
}
|
|
1202
|
-
|
|
1203
701
|
qti-gap-match-interaction qti-gap-text:focus{
|
|
1204
702
|
outline-width: 2px;
|
|
1205
703
|
outline-color: #93c5fd;
|
|
1206
704
|
}
|
|
1207
|
-
|
|
1208
705
|
qti-gap-match-interaction qti-gap{
|
|
1209
706
|
cursor: pointer;
|
|
1210
707
|
border-radius: 0.375rem;
|
|
@@ -1229,27 +726,21 @@ qti-gap-match-interaction qti-gap{
|
|
|
1229
726
|
display: inline-flex;
|
|
1230
727
|
line-height: 1.5;
|
|
1231
728
|
}
|
|
1232
|
-
|
|
1233
729
|
qti-gap-match-interaction qti-gap:hover{
|
|
1234
730
|
--tw-bg-opacity: 1;
|
|
1235
731
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1236
732
|
}
|
|
1237
|
-
|
|
1238
733
|
qti-gap-match-interaction qti-gap:focus{
|
|
1239
734
|
outline-width: 2px;
|
|
1240
735
|
outline-color: #93c5fd;
|
|
1241
736
|
}
|
|
1242
|
-
|
|
1243
737
|
qti-gap-match-interaction qti-gap{
|
|
1244
738
|
width: 8rem;
|
|
1245
739
|
}
|
|
1246
|
-
|
|
1247
740
|
/* PK: should be set in the javascript, default 100px, or listening to data-width attribute according to the spec */
|
|
1248
|
-
|
|
1249
741
|
qti-gap-match-interaction qti-gap:empty:after {
|
|
1250
742
|
content: '\\0000a0'; /* when empty, put a space in it */
|
|
1251
743
|
}
|
|
1252
|
-
|
|
1253
744
|
qti-gap-match-interaction qti-gap:not(:empty){
|
|
1254
745
|
display: inline-flex;
|
|
1255
746
|
width: auto;
|
|
@@ -1258,7 +749,6 @@ qti-gap-match-interaction qti-gap:not(:empty){
|
|
|
1258
749
|
--tw-shadow-colored: 0 0 #0000;
|
|
1259
750
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
1260
751
|
}
|
|
1261
|
-
|
|
1262
752
|
qti-gap-match-interaction qti-gap:not(:empty) > *{
|
|
1263
753
|
flex: 1 1 0%;
|
|
1264
754
|
--tw-rotate: 0deg;
|
|
@@ -1269,17 +759,14 @@ qti-gap-match-interaction qti-gap:not(:empty) > *{
|
|
|
1269
759
|
--tw-ring-opacity: 1;
|
|
1270
760
|
--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity));
|
|
1271
761
|
}
|
|
1272
|
-
|
|
1273
762
|
qti-hotspot-interaction{
|
|
1274
763
|
margin-top: 0.5rem;
|
|
1275
764
|
margin-bottom: 0.5rem;
|
|
1276
765
|
}
|
|
1277
|
-
|
|
1278
766
|
qti-hotspot-interaction qti-hotspot-choice:hover{
|
|
1279
767
|
background-color: rgb(219 234 254 / var(--tw-bg-opacity));
|
|
1280
768
|
--tw-bg-opacity: 0.3;
|
|
1281
769
|
}
|
|
1282
|
-
|
|
1283
770
|
qti-hotspot-interaction qti-hotspot-choice {
|
|
1284
771
|
|
|
1285
772
|
/* &::after {
|
|
@@ -1290,7 +777,6 @@ qti-hotspot-interaction qti-hotspot-choice {
|
|
|
1290
777
|
clip-path: inherit;
|
|
1291
778
|
} */
|
|
1292
779
|
}
|
|
1293
|
-
|
|
1294
780
|
qti-hotspot-interaction qti-hotspot-choice[shape='circle']{
|
|
1295
781
|
cursor: pointer;
|
|
1296
782
|
border-radius: 0.375rem;
|
|
@@ -1310,17 +796,14 @@ qti-hotspot-interaction qti-hotspot-choice[shape='circle']{
|
|
|
1310
796
|
--tw-ring-color: rgb(17 24 39 / var(--tw-ring-opacity));
|
|
1311
797
|
border-radius: 9999px;
|
|
1312
798
|
}
|
|
1313
|
-
|
|
1314
799
|
qti-hotspot-interaction qti-hotspot-choice[shape='circle']:hover{
|
|
1315
800
|
--tw-ring-opacity: 1;
|
|
1316
801
|
--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity));
|
|
1317
802
|
}
|
|
1318
|
-
|
|
1319
803
|
qti-hotspot-interaction qti-hotspot-choice[shape='circle']:focus{
|
|
1320
804
|
outline-width: 2px;
|
|
1321
805
|
outline-color: #93c5fd;
|
|
1322
806
|
}
|
|
1323
|
-
|
|
1324
807
|
qti-hotspot-interaction qti-hotspot-choice[shape='circle'][aria-checked="true"]{
|
|
1325
808
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1326
809
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
@@ -1328,7 +811,6 @@ qti-hotspot-interaction qti-hotspot-choice[shape='circle'][aria-checked="true"]{
|
|
|
1328
811
|
--tw-ring-opacity: 1;
|
|
1329
812
|
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
1330
813
|
}
|
|
1331
|
-
|
|
1332
814
|
qti-hotspot-interaction qti-hotspot-choice[shape='circle'][aria-disabled="true"]{
|
|
1333
815
|
cursor: not-allowed;
|
|
1334
816
|
--tw-bg-opacity: 1;
|
|
@@ -1341,12 +823,10 @@ qti-hotspot-interaction qti-hotspot-choice[shape='circle'][aria-disabled="true"]
|
|
|
1341
823
|
--tw-ring-opacity: 1;
|
|
1342
824
|
--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
|
|
1343
825
|
}
|
|
1344
|
-
|
|
1345
826
|
qti-hotspot-interaction qti-hotspot-choice[shape='circle'][aria-disabled="true"] > *{
|
|
1346
827
|
--tw-text-opacity: 1 !important;
|
|
1347
828
|
color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
|
|
1348
829
|
}
|
|
1349
|
-
|
|
1350
830
|
qti-hotspot-interaction qti-hotspot-choice[shape='circle'][aria-readonly="true"]{
|
|
1351
831
|
cursor: pointer;
|
|
1352
832
|
--tw-bg-opacity: 1;
|
|
@@ -1359,7 +839,6 @@ qti-hotspot-interaction qti-hotspot-choice[shape='circle'][aria-readonly="true"]
|
|
|
1359
839
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
1360
840
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
1361
841
|
}
|
|
1362
|
-
|
|
1363
842
|
qti-hotspot-interaction qti-hotspot-choice[shape='rect']{
|
|
1364
843
|
cursor: pointer;
|
|
1365
844
|
border-radius: 0.375rem;
|
|
@@ -1378,17 +857,14 @@ qti-hotspot-interaction qti-hotspot-choice[shape='rect']{
|
|
|
1378
857
|
--tw-ring-opacity: 1;
|
|
1379
858
|
--tw-ring-color: rgb(17 24 39 / var(--tw-ring-opacity));
|
|
1380
859
|
}
|
|
1381
|
-
|
|
1382
860
|
qti-hotspot-interaction qti-hotspot-choice[shape='rect']:hover{
|
|
1383
861
|
--tw-ring-opacity: 1;
|
|
1384
862
|
--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity));
|
|
1385
863
|
}
|
|
1386
|
-
|
|
1387
864
|
qti-hotspot-interaction qti-hotspot-choice[shape='rect']:focus{
|
|
1388
865
|
outline-width: 2px;
|
|
1389
866
|
outline-color: #93c5fd;
|
|
1390
867
|
}
|
|
1391
|
-
|
|
1392
868
|
qti-hotspot-interaction qti-hotspot-choice[shape='rect'][aria-checked="true"]{
|
|
1393
869
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1394
870
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
@@ -1396,7 +872,6 @@ qti-hotspot-interaction qti-hotspot-choice[shape='rect'][aria-checked="true"]{
|
|
|
1396
872
|
--tw-ring-opacity: 1;
|
|
1397
873
|
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
1398
874
|
}
|
|
1399
|
-
|
|
1400
875
|
qti-hotspot-interaction qti-hotspot-choice[shape='rect'][aria-disabled="true"]{
|
|
1401
876
|
cursor: not-allowed;
|
|
1402
877
|
--tw-bg-opacity: 1;
|
|
@@ -1409,12 +884,10 @@ qti-hotspot-interaction qti-hotspot-choice[shape='rect'][aria-disabled="true"]{
|
|
|
1409
884
|
--tw-ring-opacity: 1;
|
|
1410
885
|
--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
|
|
1411
886
|
}
|
|
1412
|
-
|
|
1413
887
|
qti-hotspot-interaction qti-hotspot-choice[shape='rect'][aria-disabled="true"] > *{
|
|
1414
888
|
--tw-text-opacity: 1 !important;
|
|
1415
889
|
color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
|
|
1416
890
|
}
|
|
1417
|
-
|
|
1418
891
|
qti-hotspot-interaction qti-hotspot-choice[shape='rect'][aria-readonly="true"]{
|
|
1419
892
|
cursor: pointer;
|
|
1420
893
|
--tw-bg-opacity: 1;
|
|
@@ -1427,17 +900,14 @@ qti-hotspot-interaction qti-hotspot-choice[shape='rect'][aria-readonly="true"]{
|
|
|
1427
900
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
1428
901
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
1429
902
|
}
|
|
1430
|
-
|
|
1431
903
|
qti-hotspot-interaction qti-hotspot-choice[shape='poly']:hover{
|
|
1432
904
|
--tw-bg-opacity: 1;
|
|
1433
905
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1434
906
|
}
|
|
1435
|
-
|
|
1436
907
|
qti-hotspot-interaction qti-hotspot-choice[shape='poly']:focus{
|
|
1437
908
|
outline-width: 2px;
|
|
1438
909
|
outline-color: #93c5fd;
|
|
1439
910
|
}
|
|
1440
|
-
|
|
1441
911
|
qti-hotspot-interaction qti-hotspot-choice[shape='poly'][aria-checked="true"]{
|
|
1442
912
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1443
913
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
@@ -1445,7 +915,6 @@ qti-hotspot-interaction qti-hotspot-choice[shape='poly'][aria-checked="true"]{
|
|
|
1445
915
|
--tw-ring-opacity: 1;
|
|
1446
916
|
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
1447
917
|
}
|
|
1448
|
-
|
|
1449
918
|
qti-hotspot-interaction qti-hotspot-choice[shape='poly'][aria-disabled="true"]{
|
|
1450
919
|
cursor: not-allowed;
|
|
1451
920
|
--tw-bg-opacity: 1;
|
|
@@ -1458,12 +927,10 @@ qti-hotspot-interaction qti-hotspot-choice[shape='poly'][aria-disabled="true"]{
|
|
|
1458
927
|
--tw-ring-opacity: 1;
|
|
1459
928
|
--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
|
|
1460
929
|
}
|
|
1461
|
-
|
|
1462
930
|
qti-hotspot-interaction qti-hotspot-choice[shape='poly'][aria-disabled="true"] > *{
|
|
1463
931
|
--tw-text-opacity: 1 !important;
|
|
1464
932
|
color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
|
|
1465
933
|
}
|
|
1466
|
-
|
|
1467
934
|
qti-hotspot-interaction qti-hotspot-choice[shape='poly'][aria-readonly="true"]{
|
|
1468
935
|
cursor: pointer;
|
|
1469
936
|
--tw-bg-opacity: 1;
|
|
@@ -1476,17 +943,14 @@ qti-hotspot-interaction qti-hotspot-choice[shape='poly'][aria-readonly="true"]{
|
|
|
1476
943
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
1477
944
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
1478
945
|
}
|
|
1479
|
-
|
|
1480
946
|
qti-hotspot-interaction qti-hotspot-choice[shape='poly'][aria-checked='true']{
|
|
1481
947
|
--tw-bg-opacity: 1;
|
|
1482
948
|
background-color: rgb(59 130 246 / var(--tw-bg-opacity));
|
|
1483
949
|
}
|
|
1484
|
-
|
|
1485
950
|
qti-hottext-interaction{
|
|
1486
951
|
margin-top: 0.5rem;
|
|
1487
952
|
margin-bottom: 0.5rem;
|
|
1488
953
|
}
|
|
1489
|
-
|
|
1490
954
|
qti-hottext-interaction.qti-input-control-hidden qti-hottext{
|
|
1491
955
|
cursor: pointer;
|
|
1492
956
|
border-radius: 0.375rem;
|
|
@@ -1512,17 +976,14 @@ qti-hottext-interaction.qti-input-control-hidden qti-hottext{
|
|
|
1512
976
|
/* @apply inline-flex gap-1 px-1 py-0 align-bottom font-normal ring-offset-0; */
|
|
1513
977
|
/* @apply gap-0.5 rounded !px-1 !py-0 outline-offset-0 ring-1; */
|
|
1514
978
|
}
|
|
1515
|
-
|
|
1516
979
|
qti-hottext-interaction.qti-input-control-hidden qti-hottext:hover{
|
|
1517
980
|
--tw-bg-opacity: 1;
|
|
1518
981
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1519
982
|
}
|
|
1520
|
-
|
|
1521
983
|
qti-hottext-interaction.qti-input-control-hidden qti-hottext:focus{
|
|
1522
984
|
outline-width: 2px;
|
|
1523
985
|
outline-color: #93c5fd;
|
|
1524
986
|
}
|
|
1525
|
-
|
|
1526
987
|
qti-hottext-interaction.qti-input-control-hidden qti-hottext[aria-checked="true"]{
|
|
1527
988
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1528
989
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
@@ -1530,7 +991,6 @@ qti-hottext-interaction.qti-input-control-hidden qti-hottext[aria-checked="true"
|
|
|
1530
991
|
--tw-ring-opacity: 1;
|
|
1531
992
|
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
1532
993
|
}
|
|
1533
|
-
|
|
1534
994
|
qti-hottext-interaction.qti-input-control-hidden qti-hottext[aria-disabled="true"]{
|
|
1535
995
|
cursor: not-allowed;
|
|
1536
996
|
--tw-bg-opacity: 1;
|
|
@@ -1543,12 +1003,10 @@ qti-hottext-interaction.qti-input-control-hidden qti-hottext[aria-disabled="true
|
|
|
1543
1003
|
--tw-ring-opacity: 1;
|
|
1544
1004
|
--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
|
|
1545
1005
|
}
|
|
1546
|
-
|
|
1547
1006
|
qti-hottext-interaction.qti-input-control-hidden qti-hottext[aria-disabled="true"] > *{
|
|
1548
1007
|
--tw-text-opacity: 1 !important;
|
|
1549
1008
|
color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
|
|
1550
1009
|
}
|
|
1551
|
-
|
|
1552
1010
|
qti-hottext-interaction.qti-input-control-hidden qti-hottext[aria-readonly="true"]{
|
|
1553
1011
|
cursor: pointer;
|
|
1554
1012
|
--tw-bg-opacity: 1;
|
|
@@ -1561,11 +1019,9 @@ qti-hottext-interaction.qti-input-control-hidden qti-hottext[aria-readonly="true
|
|
|
1561
1019
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
1562
1020
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
1563
1021
|
}
|
|
1564
|
-
|
|
1565
1022
|
qti-hottext-interaction.qti-input-control-hidden qti-hottext::part(ch){
|
|
1566
1023
|
display: none !important;
|
|
1567
1024
|
}
|
|
1568
|
-
|
|
1569
1025
|
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext{
|
|
1570
1026
|
cursor: pointer;
|
|
1571
1027
|
border-radius: 0.375rem;
|
|
@@ -1590,13 +1046,11 @@ qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext{
|
|
|
1590
1046
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;
|
|
1591
1047
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important;
|
|
1592
1048
|
}
|
|
1593
|
-
|
|
1594
1049
|
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext::part(cha) {
|
|
1595
1050
|
/* let the checkmark or radio circle already take up space, else when checking everyhing collapses */
|
|
1596
1051
|
height: 66.666667%;
|
|
1597
1052
|
width: 66.666667%;
|
|
1598
1053
|
}
|
|
1599
|
-
|
|
1600
1054
|
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[role='radio']::part(ch){
|
|
1601
1055
|
display: flex;
|
|
1602
1056
|
height: 1.25rem;
|
|
@@ -1615,13 +1069,11 @@ qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[role='radio']
|
|
|
1615
1069
|
--tw-ring-opacity: 1;
|
|
1616
1070
|
--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
|
|
1617
1071
|
}
|
|
1618
|
-
|
|
1619
1072
|
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[role='radio'][aria-checked='true']::part(cha){
|
|
1620
1073
|
border-radius: 9999px;
|
|
1621
1074
|
--tw-bg-opacity: 1;
|
|
1622
1075
|
background-color: rgb(59 130 246 / var(--tw-bg-opacity));
|
|
1623
1076
|
}
|
|
1624
|
-
|
|
1625
1077
|
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[role='checkbox']::part(ch){
|
|
1626
1078
|
display: flex;
|
|
1627
1079
|
height: 1.25rem;
|
|
@@ -1640,13 +1092,11 @@ qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[role='checkbo
|
|
|
1640
1092
|
--tw-ring-opacity: 1;
|
|
1641
1093
|
--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
|
|
1642
1094
|
}
|
|
1643
|
-
|
|
1644
1095
|
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[role='checkbox'][aria-checked='true']::part(cha){
|
|
1645
1096
|
--tw-bg-opacity: 1;
|
|
1646
1097
|
background-color: rgb(59 130 246 / var(--tw-bg-opacity));
|
|
1647
1098
|
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' 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");
|
|
1648
1099
|
}
|
|
1649
|
-
|
|
1650
1100
|
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext{
|
|
1651
1101
|
display: inline-flex;
|
|
1652
1102
|
|
|
@@ -1662,7 +1112,6 @@ qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext{
|
|
|
1662
1112
|
|
|
1663
1113
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
1664
1114
|
}
|
|
1665
|
-
|
|
1666
1115
|
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext::part(ch){
|
|
1667
1116
|
height: 1rem !important;
|
|
1668
1117
|
width: 1rem !important;
|
|
@@ -1670,17 +1119,14 @@ qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext::part(ch){
|
|
|
1670
1119
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;
|
|
1671
1120
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important;
|
|
1672
1121
|
}
|
|
1673
|
-
|
|
1674
1122
|
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext:hover{
|
|
1675
1123
|
--tw-bg-opacity: 1;
|
|
1676
1124
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1677
1125
|
}
|
|
1678
|
-
|
|
1679
1126
|
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext:focus{
|
|
1680
1127
|
outline-width: 2px;
|
|
1681
1128
|
outline-color: #93c5fd;
|
|
1682
1129
|
}
|
|
1683
|
-
|
|
1684
1130
|
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[aria-checked="true"]{
|
|
1685
1131
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1686
1132
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
@@ -1688,7 +1134,6 @@ qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[aria-checked=
|
|
|
1688
1134
|
--tw-ring-opacity: 1;
|
|
1689
1135
|
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
1690
1136
|
}
|
|
1691
|
-
|
|
1692
1137
|
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[aria-disabled="true"]{
|
|
1693
1138
|
cursor: not-allowed;
|
|
1694
1139
|
--tw-bg-opacity: 1;
|
|
@@ -1701,12 +1146,10 @@ qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[aria-disabled
|
|
|
1701
1146
|
--tw-ring-opacity: 1;
|
|
1702
1147
|
--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
|
|
1703
1148
|
}
|
|
1704
|
-
|
|
1705
1149
|
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[aria-disabled="true"] > *{
|
|
1706
1150
|
--tw-text-opacity: 1 !important;
|
|
1707
1151
|
color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
|
|
1708
1152
|
}
|
|
1709
|
-
|
|
1710
1153
|
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[aria-readonly="true"]{
|
|
1711
1154
|
cursor: pointer;
|
|
1712
1155
|
--tw-bg-opacity: 1;
|
|
@@ -1719,7 +1162,6 @@ qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[aria-readonly
|
|
|
1719
1162
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
1720
1163
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
1721
1164
|
}
|
|
1722
|
-
|
|
1723
1165
|
qti-inline-choice-interaction::part(select){
|
|
1724
1166
|
cursor: pointer;
|
|
1725
1167
|
border-radius: 0.375rem;
|
|
@@ -1745,27 +1187,22 @@ qti-inline-choice-interaction::part(select){
|
|
|
1745
1187
|
background: url("data:image/svg+xml,%3Csvg fill='currentColor' width='22' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath clip-rule='evenodd' fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'%3E%3C/path%3E%3C/svg%3E")
|
|
1746
1188
|
no-repeat center right 6px;
|
|
1747
1189
|
}
|
|
1748
|
-
|
|
1749
1190
|
qti-inline-choice-interaction::part(select):hover{
|
|
1750
1191
|
--tw-bg-opacity: 1;
|
|
1751
1192
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1752
1193
|
}
|
|
1753
|
-
|
|
1754
1194
|
qti-inline-choice-interaction::part(select):focus{
|
|
1755
1195
|
outline-width: 2px;
|
|
1756
1196
|
outline-color: #93c5fd;
|
|
1757
1197
|
}
|
|
1758
|
-
|
|
1759
1198
|
qti-inline-choice-interaction::part(select) { /* aria-checked:act aria-readonly:rdo aria-disabled:dis; */
|
|
1760
1199
|
}
|
|
1761
|
-
|
|
1762
1200
|
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:first-of-type{
|
|
1763
1201
|
display: flex;
|
|
1764
1202
|
flex-wrap: wrap;
|
|
1765
1203
|
gap: 0.5rem;
|
|
1766
1204
|
padding-bottom: 1rem;
|
|
1767
1205
|
}
|
|
1768
|
-
|
|
1769
1206
|
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:first-of-type qti-simple-associable-choice{
|
|
1770
1207
|
cursor: pointer;
|
|
1771
1208
|
border-radius: 0.375rem;
|
|
@@ -1801,24 +1238,20 @@ qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:first-of-type
|
|
|
1801
1238
|
padding-left: 1rem;
|
|
1802
1239
|
padding-right: 0.75rem;
|
|
1803
1240
|
}
|
|
1804
|
-
|
|
1805
1241
|
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:first-of-type qti-simple-associable-choice:hover{
|
|
1806
1242
|
--tw-bg-opacity: 1;
|
|
1807
1243
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1808
1244
|
}
|
|
1809
|
-
|
|
1810
1245
|
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:first-of-type qti-simple-associable-choice:focus{
|
|
1811
1246
|
outline-width: 2px;
|
|
1812
1247
|
outline-color: #93c5fd;
|
|
1813
1248
|
}
|
|
1814
|
-
|
|
1815
1249
|
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type{
|
|
1816
1250
|
display: grid;
|
|
1817
1251
|
grid-auto-columns: minmax(0, 1fr);
|
|
1818
1252
|
grid-auto-flow: column;
|
|
1819
1253
|
gap: 0.5rem;
|
|
1820
1254
|
}
|
|
1821
|
-
|
|
1822
1255
|
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice{
|
|
1823
1256
|
cursor: pointer;
|
|
1824
1257
|
border-radius: 0.375rem;
|
|
@@ -1841,24 +1274,20 @@ qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type
|
|
|
1841
1274
|
--tw-ring-offset-width: 1px;
|
|
1842
1275
|
--tw-ring-inset: unset;
|
|
1843
1276
|
}
|
|
1844
|
-
|
|
1845
1277
|
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice:hover{
|
|
1846
1278
|
--tw-bg-opacity: 1;
|
|
1847
1279
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1848
1280
|
}
|
|
1849
|
-
|
|
1850
1281
|
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice:focus{
|
|
1851
1282
|
outline-width: 2px;
|
|
1852
1283
|
outline-color: #93c5fd;
|
|
1853
1284
|
}
|
|
1854
|
-
|
|
1855
1285
|
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice {
|
|
1856
1286
|
/* @apply flex h-32 flex-col gap-2; */
|
|
1857
1287
|
display: flex;
|
|
1858
1288
|
height: 8rem;
|
|
1859
1289
|
flex-direction: column;
|
|
1860
1290
|
}
|
|
1861
|
-
|
|
1862
1291
|
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice > qti-simple-associable-choice{
|
|
1863
1292
|
cursor: pointer;
|
|
1864
1293
|
border-radius: 0.375rem;
|
|
@@ -1894,21 +1323,17 @@ qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type
|
|
|
1894
1323
|
padding-left: 1rem;
|
|
1895
1324
|
padding-right: 0.75rem;
|
|
1896
1325
|
}
|
|
1897
|
-
|
|
1898
1326
|
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice > qti-simple-associable-choice:hover{
|
|
1899
1327
|
--tw-bg-opacity: 1;
|
|
1900
1328
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1901
1329
|
}
|
|
1902
|
-
|
|
1903
1330
|
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice > qti-simple-associable-choice:focus{
|
|
1904
1331
|
outline-width: 2px;
|
|
1905
1332
|
outline-color: #93c5fd;
|
|
1906
1333
|
}
|
|
1907
|
-
|
|
1908
1334
|
qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice > qti-simple-associable-choice {
|
|
1909
1335
|
flex-basis: fit-content;
|
|
1910
1336
|
}
|
|
1911
|
-
|
|
1912
1337
|
qti-order-interaction::part(qti-simple-choice),
|
|
1913
1338
|
qti-order-interaction qti-simple-choice{
|
|
1914
1339
|
cursor: pointer;
|
|
@@ -1945,19 +1370,16 @@ qti-order-interaction::part(qti-simple-choice),
|
|
|
1945
1370
|
padding-left: 1rem;
|
|
1946
1371
|
padding-right: 0.75rem;
|
|
1947
1372
|
}
|
|
1948
|
-
|
|
1949
1373
|
qti-order-interaction::part(qti-simple-choice):hover,
|
|
1950
1374
|
qti-order-interaction qti-simple-choice:hover{
|
|
1951
1375
|
--tw-bg-opacity: 1;
|
|
1952
1376
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1953
1377
|
}
|
|
1954
|
-
|
|
1955
1378
|
qti-order-interaction::part(qti-simple-choice):focus,
|
|
1956
1379
|
qti-order-interaction qti-simple-choice:focus{
|
|
1957
1380
|
outline-width: 2px;
|
|
1958
1381
|
outline-color: #93c5fd;
|
|
1959
1382
|
}
|
|
1960
|
-
|
|
1961
1383
|
qti-order-interaction::part(qti-simple-choice){
|
|
1962
1384
|
display: flex;
|
|
1963
1385
|
width: 100%;
|
|
@@ -1965,15 +1387,12 @@ qti-order-interaction::part(qti-simple-choice){
|
|
|
1965
1387
|
overflow: hidden;
|
|
1966
1388
|
text-overflow: ellipsis;
|
|
1967
1389
|
}
|
|
1968
|
-
|
|
1969
1390
|
qti-order-interaction::part(drops){
|
|
1970
1391
|
gap: 0.5rem;
|
|
1971
1392
|
}
|
|
1972
|
-
|
|
1973
1393
|
qti-order-interaction::part(drags){
|
|
1974
1394
|
gap: 0.5rem;
|
|
1975
1395
|
}
|
|
1976
|
-
|
|
1977
1396
|
qti-order-interaction::part(drop-list){
|
|
1978
1397
|
cursor: pointer;
|
|
1979
1398
|
border-radius: 0.375rem;
|
|
@@ -1998,17 +1417,14 @@ qti-order-interaction::part(drop-list){
|
|
|
1998
1417
|
display: flex;
|
|
1999
1418
|
min-height: 4rem;
|
|
2000
1419
|
}
|
|
2001
|
-
|
|
2002
1420
|
qti-order-interaction::part(drop-list):hover{
|
|
2003
1421
|
--tw-bg-opacity: 1;
|
|
2004
1422
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
2005
1423
|
}
|
|
2006
|
-
|
|
2007
1424
|
qti-order-interaction::part(drop-list):focus{
|
|
2008
1425
|
outline-width: 2px;
|
|
2009
1426
|
outline-color: #93c5fd;
|
|
2010
1427
|
}
|
|
2011
|
-
|
|
2012
1428
|
qti-order-interaction::part(active){
|
|
2013
1429
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
2014
1430
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
@@ -2016,7 +1432,6 @@ qti-order-interaction::part(active){
|
|
|
2016
1432
|
--tw-ring-opacity: 1;
|
|
2017
1433
|
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
2018
1434
|
}
|
|
2019
|
-
|
|
2020
1435
|
qti-associate-interaction::part(qti-simple-associable-choice),
|
|
2021
1436
|
qti-associate-interaction qti-simple-associable-choice{
|
|
2022
1437
|
cursor: pointer;
|
|
@@ -2057,19 +1472,16 @@ qti-associate-interaction::part(qti-simple-associable-choice),
|
|
|
2057
1472
|
padding-left: 1rem;
|
|
2058
1473
|
padding-right: 0.75rem;
|
|
2059
1474
|
}
|
|
2060
|
-
|
|
2061
1475
|
qti-associate-interaction::part(qti-simple-associable-choice):hover,
|
|
2062
1476
|
qti-associate-interaction qti-simple-associable-choice:hover{
|
|
2063
1477
|
--tw-bg-opacity: 1;
|
|
2064
1478
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
2065
1479
|
}
|
|
2066
|
-
|
|
2067
1480
|
qti-associate-interaction::part(qti-simple-associable-choice):focus,
|
|
2068
1481
|
qti-associate-interaction qti-simple-associable-choice:focus{
|
|
2069
1482
|
outline-width: 2px;
|
|
2070
1483
|
outline-color: #93c5fd;
|
|
2071
1484
|
}
|
|
2072
|
-
|
|
2073
1485
|
qti-associate-interaction::part(associables-container){
|
|
2074
1486
|
margin-top: 0.5rem;
|
|
2075
1487
|
margin-bottom: 0.5rem;
|
|
@@ -2083,7 +1495,6 @@ qti-associate-interaction::part(associables-container){
|
|
|
2083
1495
|
rgb(0 0 0 / 0%) calc(50% + 1px)
|
|
2084
1496
|
);
|
|
2085
1497
|
}
|
|
2086
|
-
|
|
2087
1498
|
qti-associate-interaction::part(active){
|
|
2088
1499
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
2089
1500
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
@@ -2091,7 +1502,6 @@ qti-associate-interaction::part(active){
|
|
|
2091
1502
|
--tw-ring-opacity: 1;
|
|
2092
1503
|
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
2093
1504
|
}
|
|
2094
|
-
|
|
2095
1505
|
qti-associate-interaction::part(drop-list){
|
|
2096
1506
|
cursor: pointer;
|
|
2097
1507
|
border-radius: 0.375rem;
|
|
@@ -2117,9 +1527,7 @@ qti-associate-interaction::part(drop-list){
|
|
|
2117
1527
|
height: 3rem;
|
|
2118
1528
|
width: 33.333333%;
|
|
2119
1529
|
}
|
|
2120
|
-
|
|
2121
1530
|
/* @apply my-2; */
|
|
2122
|
-
|
|
2123
1531
|
qti-graphic-order-interaction qti-hotspot-choice{
|
|
2124
1532
|
cursor: pointer;
|
|
2125
1533
|
border-radius: 0.375rem;
|
|
@@ -2138,17 +1546,14 @@ qti-graphic-order-interaction qti-hotspot-choice{
|
|
|
2138
1546
|
--tw-ring-opacity: 1;
|
|
2139
1547
|
--tw-ring-color: rgb(17 24 39 / var(--tw-ring-opacity));
|
|
2140
1548
|
}
|
|
2141
|
-
|
|
2142
1549
|
qti-graphic-order-interaction qti-hotspot-choice:hover{
|
|
2143
1550
|
--tw-bg-opacity: 1;
|
|
2144
1551
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
2145
1552
|
}
|
|
2146
|
-
|
|
2147
1553
|
qti-graphic-order-interaction qti-hotspot-choice:focus{
|
|
2148
1554
|
outline-width: 2px;
|
|
2149
1555
|
outline-color: #93c5fd;
|
|
2150
1556
|
}
|
|
2151
|
-
|
|
2152
1557
|
qti-graphic-order-interaction qti-hotspot-choice[aria-checked="true"]{
|
|
2153
1558
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
2154
1559
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
@@ -2156,7 +1561,6 @@ qti-graphic-order-interaction qti-hotspot-choice[aria-checked="true"]{
|
|
|
2156
1561
|
--tw-ring-opacity: 1;
|
|
2157
1562
|
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
2158
1563
|
}
|
|
2159
|
-
|
|
2160
1564
|
qti-graphic-order-interaction qti-hotspot-choice[aria-disabled="true"]{
|
|
2161
1565
|
cursor: not-allowed;
|
|
2162
1566
|
--tw-bg-opacity: 1;
|
|
@@ -2169,12 +1573,10 @@ qti-graphic-order-interaction qti-hotspot-choice[aria-disabled="true"]{
|
|
|
2169
1573
|
--tw-ring-opacity: 1;
|
|
2170
1574
|
--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
|
|
2171
1575
|
}
|
|
2172
|
-
|
|
2173
1576
|
qti-graphic-order-interaction qti-hotspot-choice[aria-disabled="true"] > *{
|
|
2174
1577
|
--tw-text-opacity: 1 !important;
|
|
2175
1578
|
color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
|
|
2176
1579
|
}
|
|
2177
|
-
|
|
2178
1580
|
qti-graphic-order-interaction qti-hotspot-choice[aria-readonly="true"]{
|
|
2179
1581
|
cursor: pointer;
|
|
2180
1582
|
--tw-bg-opacity: 1;
|
|
@@ -2187,7 +1589,6 @@ qti-graphic-order-interaction qti-hotspot-choice[aria-readonly="true"]{
|
|
|
2187
1589
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
2188
1590
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
2189
1591
|
}
|
|
2190
|
-
|
|
2191
1592
|
/* &::after {
|
|
2192
1593
|
content: '';
|
|
2193
1594
|
@apply absolute top-0 block scale-75 bg-white;
|
|
@@ -2195,7 +1596,6 @@ qti-graphic-order-interaction qti-hotspot-choice[aria-readonly="true"]{
|
|
|
2195
1596
|
width: inherit;
|
|
2196
1597
|
clip-path: inherit;
|
|
2197
1598
|
} */
|
|
2198
|
-
|
|
2199
1599
|
qti-graphic-order-interaction qti-hotspot-choice[aria-ordervalue]{
|
|
2200
1600
|
height: 1.5rem;
|
|
2201
1601
|
width: 1.5rem;
|
|
@@ -2208,16 +1608,13 @@ qti-graphic-order-interaction qti-hotspot-choice[aria-ordervalue]{
|
|
|
2208
1608
|
align-items: center;
|
|
2209
1609
|
justify-content: center;
|
|
2210
1610
|
}
|
|
2211
|
-
|
|
2212
1611
|
qti-graphic-order-interaction qti-hotspot-choice[aria-ordervalue]::after {
|
|
2213
1612
|
content: attr(aria-ordervalue) !important;
|
|
2214
1613
|
}
|
|
2215
|
-
|
|
2216
1614
|
qti-graphic-associate-interaction{
|
|
2217
1615
|
position: relative;
|
|
2218
1616
|
display: block;
|
|
2219
1617
|
}
|
|
2220
|
-
|
|
2221
1618
|
qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'] {
|
|
2222
1619
|
/* border-radius: 100%;
|
|
2223
1620
|
background-color: green; */
|
|
@@ -2238,17 +1635,14 @@ qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'] {
|
|
|
2238
1635
|
--tw-ring-opacity: 1;
|
|
2239
1636
|
--tw-ring-color: rgb(17 24 39 / var(--tw-ring-opacity));
|
|
2240
1637
|
}
|
|
2241
|
-
|
|
2242
1638
|
qti-graphic-associate-interaction qti-associable-hotspot[shape='circle']:hover{
|
|
2243
1639
|
--tw-bg-opacity: 1;
|
|
2244
1640
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
2245
1641
|
}
|
|
2246
|
-
|
|
2247
1642
|
qti-graphic-associate-interaction qti-associable-hotspot[shape='circle']:focus{
|
|
2248
1643
|
outline-width: 2px;
|
|
2249
1644
|
outline-color: #93c5fd;
|
|
2250
1645
|
}
|
|
2251
|
-
|
|
2252
1646
|
qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'][aria-checked="true"]{
|
|
2253
1647
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
2254
1648
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
@@ -2256,7 +1650,6 @@ qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'][aria-ch
|
|
|
2256
1650
|
--tw-ring-opacity: 1;
|
|
2257
1651
|
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
2258
1652
|
}
|
|
2259
|
-
|
|
2260
1653
|
qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'][aria-disabled="true"]{
|
|
2261
1654
|
cursor: not-allowed;
|
|
2262
1655
|
--tw-bg-opacity: 1;
|
|
@@ -2269,12 +1662,10 @@ qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'][aria-di
|
|
|
2269
1662
|
--tw-ring-opacity: 1;
|
|
2270
1663
|
--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
|
|
2271
1664
|
}
|
|
2272
|
-
|
|
2273
1665
|
qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'][aria-disabled="true"] > *{
|
|
2274
1666
|
--tw-text-opacity: 1 !important;
|
|
2275
1667
|
color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
|
|
2276
1668
|
}
|
|
2277
|
-
|
|
2278
1669
|
qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'][aria-readonly="true"]{
|
|
2279
1670
|
cursor: pointer;
|
|
2280
1671
|
--tw-bg-opacity: 1;
|
|
@@ -2287,7 +1678,6 @@ qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'][aria-re
|
|
|
2287
1678
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
2288
1679
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
2289
1680
|
}
|
|
2290
|
-
|
|
2291
1681
|
qti-graphic-associate-interaction qti-associable-hotspot[shape='square'] {
|
|
2292
1682
|
/* border-radius: 0; */
|
|
2293
1683
|
/* background-color: green; */
|
|
@@ -2308,17 +1698,14 @@ qti-graphic-associate-interaction qti-associable-hotspot[shape='square'] {
|
|
|
2308
1698
|
--tw-ring-opacity: 1;
|
|
2309
1699
|
--tw-ring-color: rgb(17 24 39 / var(--tw-ring-opacity));
|
|
2310
1700
|
}
|
|
2311
|
-
|
|
2312
1701
|
qti-graphic-associate-interaction qti-associable-hotspot[shape='square']:hover{
|
|
2313
1702
|
--tw-bg-opacity: 1;
|
|
2314
1703
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
2315
1704
|
}
|
|
2316
|
-
|
|
2317
1705
|
qti-graphic-associate-interaction qti-associable-hotspot[shape='square']:focus{
|
|
2318
1706
|
outline-width: 2px;
|
|
2319
1707
|
outline-color: #93c5fd;
|
|
2320
1708
|
}
|
|
2321
|
-
|
|
2322
1709
|
qti-graphic-associate-interaction qti-associable-hotspot[shape='square'][aria-checked="true"]{
|
|
2323
1710
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
2324
1711
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
@@ -2326,7 +1713,6 @@ qti-graphic-associate-interaction qti-associable-hotspot[shape='square'][aria-ch
|
|
|
2326
1713
|
--tw-ring-opacity: 1;
|
|
2327
1714
|
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
2328
1715
|
}
|
|
2329
|
-
|
|
2330
1716
|
qti-graphic-associate-interaction qti-associable-hotspot[shape='square'][aria-disabled="true"]{
|
|
2331
1717
|
cursor: not-allowed;
|
|
2332
1718
|
--tw-bg-opacity: 1;
|
|
@@ -2339,12 +1725,10 @@ qti-graphic-associate-interaction qti-associable-hotspot[shape='square'][aria-di
|
|
|
2339
1725
|
--tw-ring-opacity: 1;
|
|
2340
1726
|
--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
|
|
2341
1727
|
}
|
|
2342
|
-
|
|
2343
1728
|
qti-graphic-associate-interaction qti-associable-hotspot[shape='square'][aria-disabled="true"] > *{
|
|
2344
1729
|
--tw-text-opacity: 1 !important;
|
|
2345
1730
|
color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
|
|
2346
1731
|
}
|
|
2347
|
-
|
|
2348
1732
|
qti-graphic-associate-interaction qti-associable-hotspot[shape='square'][aria-readonly="true"]{
|
|
2349
1733
|
cursor: pointer;
|
|
2350
1734
|
--tw-bg-opacity: 1;
|
|
@@ -2357,30 +1741,24 @@ qti-graphic-associate-interaction qti-associable-hotspot[shape='square'][aria-re
|
|
|
2357
1741
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
2358
1742
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
2359
1743
|
}
|
|
2360
|
-
|
|
2361
1744
|
qti-graphic-gap-match-interaction{
|
|
2362
1745
|
position: relative;
|
|
2363
1746
|
}
|
|
2364
|
-
|
|
2365
1747
|
qti-graphic-gap-match-interaction img{
|
|
2366
1748
|
margin: 0px;
|
|
2367
1749
|
padding: 0px;
|
|
2368
1750
|
}
|
|
2369
|
-
|
|
2370
1751
|
qti-slider-interaction{
|
|
2371
1752
|
display: block; /* else no screenshot will be made with html-to-image */
|
|
2372
1753
|
}
|
|
2373
|
-
|
|
2374
1754
|
qti-slider-interaction:hover{
|
|
2375
1755
|
--tw-bg-opacity: 1;
|
|
2376
1756
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
2377
1757
|
}
|
|
2378
|
-
|
|
2379
1758
|
qti-slider-interaction:focus{
|
|
2380
1759
|
outline-width: 2px;
|
|
2381
1760
|
outline-color: #93c5fd;
|
|
2382
1761
|
}
|
|
2383
|
-
|
|
2384
1762
|
qti-slider-interaction[aria-checked="true"]{
|
|
2385
1763
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
2386
1764
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
@@ -2388,7 +1766,6 @@ qti-slider-interaction[aria-checked="true"]{
|
|
|
2388
1766
|
--tw-ring-opacity: 1;
|
|
2389
1767
|
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
|
|
2390
1768
|
}
|
|
2391
|
-
|
|
2392
1769
|
qti-slider-interaction[aria-disabled="true"]{
|
|
2393
1770
|
cursor: not-allowed;
|
|
2394
1771
|
--tw-bg-opacity: 1;
|
|
@@ -2401,12 +1778,10 @@ qti-slider-interaction[aria-disabled="true"]{
|
|
|
2401
1778
|
--tw-ring-opacity: 1;
|
|
2402
1779
|
--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
|
|
2403
1780
|
}
|
|
2404
|
-
|
|
2405
1781
|
qti-slider-interaction[aria-disabled="true"] > *{
|
|
2406
1782
|
--tw-text-opacity: 1 !important;
|
|
2407
1783
|
color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
|
|
2408
1784
|
}
|
|
2409
|
-
|
|
2410
1785
|
qti-slider-interaction[aria-readonly="true"]{
|
|
2411
1786
|
cursor: pointer;
|
|
2412
1787
|
--tw-bg-opacity: 1;
|
|
@@ -2419,34 +1794,28 @@ qti-slider-interaction[aria-readonly="true"]{
|
|
|
2419
1794
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
2420
1795
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
2421
1796
|
}
|
|
2422
|
-
|
|
2423
1797
|
qti-slider-interaction {
|
|
2424
1798
|
|
|
2425
1799
|
--qti-tick-color: rgb(229 231 235 / 1);
|
|
2426
1800
|
--qti-tick-width: 2px;
|
|
2427
1801
|
}
|
|
2428
|
-
|
|
2429
1802
|
qti-slider-interaction::part(slider){
|
|
2430
1803
|
margin-left: 2rem;
|
|
2431
1804
|
margin-right: 2rem; /* so the slider stays INSIDE of the qti-slider-interaction */ padding-bottom: 1rem; padding-top: 1.25rem; /* this keeps all content in the qti-slider interaction, also for html-to-image */
|
|
2432
1805
|
}
|
|
2433
|
-
|
|
2434
1806
|
qti-slider-interaction{
|
|
2435
1807
|
|
|
2436
1808
|
--show-bounds: true;
|
|
2437
1809
|
}
|
|
2438
|
-
|
|
2439
1810
|
qti-slider-interaction::part(bounds){
|
|
2440
1811
|
display: flex;
|
|
2441
1812
|
width: 100%;
|
|
2442
1813
|
justify-content: space-between; /* the two divs with value lower and upper will now be at start and end of this bounds container */ margin-bottom: 0.5rem; /* just so it aligns with the value 'knob' */
|
|
2443
1814
|
}
|
|
2444
|
-
|
|
2445
1815
|
qti-slider-interaction{
|
|
2446
1816
|
|
|
2447
1817
|
--show-ticks: true;
|
|
2448
1818
|
}
|
|
2449
|
-
|
|
2450
1819
|
qti-slider-interaction::part(ticks){
|
|
2451
1820
|
margin-left: 0.125rem;
|
|
2452
1821
|
margin-right: 0.125rem;
|
|
@@ -2456,14 +1825,12 @@ qti-slider-interaction::part(ticks){
|
|
|
2456
1825
|
background: linear-gradient(to right, var(--qti-tick-color) var(--qti-tick-width), transparent 1px) repeat-x;
|
|
2457
1826
|
background-size: calc(calc(100% - var(--qti-tick-width)) / ((var(--max) - var(--min)) / var(--step))) 100%;
|
|
2458
1827
|
}
|
|
2459
|
-
|
|
2460
1828
|
qti-slider-interaction::part(rail){
|
|
2461
1829
|
display: flex;
|
|
2462
1830
|
align-items: center; /* so the knob is neatly centered vertically */
|
|
2463
1831
|
/* DESIGN */
|
|
2464
1832
|
box-sizing: border-box; /* if you have a border in the design apply, this box-border will make the border stay INSIDE the rail */ height: 0.75rem; width: 100%; cursor: pointer; border-radius: 9999px; border-style: solid; --tw-border-opacity: 1; border-color: rgb(229 231 235 / var(--tw-border-opacity)); --tw-bg-opacity: 1; background-color: rgb(243 244 246 / var(--tw-bg-opacity));
|
|
2465
1833
|
}
|
|
2466
|
-
|
|
2467
1834
|
qti-slider-interaction::part(knob){
|
|
2468
1835
|
position: relative;
|
|
2469
1836
|
height: 1.5rem;
|
|
@@ -2477,22 +1844,18 @@ qti-slider-interaction::part(knob){
|
|
|
2477
1844
|
background-color: rgb(59 130 246 / var(--tw-bg-opacity));
|
|
2478
1845
|
left: var(--value-percentage);
|
|
2479
1846
|
}
|
|
2480
|
-
|
|
2481
1847
|
qti-slider-interaction{
|
|
2482
1848
|
|
|
2483
1849
|
--show-value: true;
|
|
2484
1850
|
}
|
|
2485
|
-
|
|
2486
1851
|
qti-slider-interaction::part(value){
|
|
2487
1852
|
position: absolute;
|
|
2488
1853
|
bottom: 2rem; /* align the value, which you can drag, on top of the knob, so it aligns with the rest of the values */ left: 0.75rem; /* should be half width of the knob if you want to center these two */ --tw-translate-x: -50%; 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)); cursor: pointer; border-radius: 0.25rem; --tw-bg-opacity: 1; background-color: rgb(59 130 246 / var(--tw-bg-opacity)); padding-left: 1rem; padding-right: 1rem; padding-top: 0.5rem; padding-bottom: 0.5rem; text-align: center;
|
|
2489
1854
|
}
|
|
2490
|
-
|
|
2491
1855
|
qti-select-point-interaction::part(point):hover{
|
|
2492
1856
|
background-color: rgb(219 234 254 / var(--tw-bg-opacity));
|
|
2493
1857
|
--tw-bg-opacity: 0.3;
|
|
2494
1858
|
}
|
|
2495
|
-
|
|
2496
1859
|
qti-select-point-interaction::part(point){
|
|
2497
1860
|
cursor: pointer;
|
|
2498
1861
|
border-radius: 0.375rem;
|
|
@@ -2512,79 +1875,67 @@ qti-select-point-interaction::part(point){
|
|
|
2512
1875
|
--tw-ring-color: rgb(17 24 39 / var(--tw-ring-opacity));
|
|
2513
1876
|
border-radius: 9999px;
|
|
2514
1877
|
}
|
|
2515
|
-
|
|
2516
1878
|
qti-select-point-interaction::part(point):hover{
|
|
2517
1879
|
--tw-ring-opacity: 1;
|
|
2518
1880
|
--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity));
|
|
2519
1881
|
}
|
|
2520
|
-
|
|
2521
1882
|
qti-select-point-interaction::part(point):focus{
|
|
2522
1883
|
outline-width: 2px;
|
|
2523
1884
|
outline-color: #93c5fd;
|
|
2524
1885
|
}
|
|
2525
|
-
|
|
2526
1886
|
qti-select-point-interaction::part(point) { /* aria-checked:act aria-readonly:rdo aria-disabled:dis ;*/
|
|
2527
1887
|
}
|
|
2528
|
-
|
|
2529
1888
|
qti-position-object-stage qti-position-object-interaction {
|
|
2530
1889
|
/* no styles necessary, only layout styles, defined in the component */
|
|
2531
1890
|
/* height: 40px; */
|
|
2532
1891
|
}
|
|
2533
|
-
|
|
2534
1892
|
qti-prompt{
|
|
2535
1893
|
margin-top: 0.5rem;
|
|
2536
1894
|
margin-bottom: 0.5rem;
|
|
2537
1895
|
display: block;
|
|
2538
1896
|
width: 100%;
|
|
2539
1897
|
}
|
|
2540
|
-
|
|
2541
1898
|
qti-choice-interaction.qti-choices-stacking-2{
|
|
2542
1899
|
display: grid;
|
|
2543
1900
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
2544
1901
|
}
|
|
2545
|
-
|
|
2546
1902
|
qti-choice-interaction.qti-choices-stacking-2 qti-prompt{
|
|
2547
1903
|
grid-column: span 2 / span 2;
|
|
2548
1904
|
}
|
|
2549
|
-
|
|
2550
1905
|
qti-choice-interaction.qti-choices-stacking-3{
|
|
2551
1906
|
display: grid;
|
|
2552
1907
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
2553
1908
|
}
|
|
2554
|
-
|
|
2555
1909
|
qti-choice-interaction.qti-choices-stacking-3 qti-prompt{
|
|
2556
1910
|
grid-column: span 3 / span 3;
|
|
2557
1911
|
}
|
|
2558
|
-
|
|
2559
1912
|
qti-choice-interaction.qti-choices-stacking-4{
|
|
2560
1913
|
display: grid;
|
|
2561
1914
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
2562
1915
|
}
|
|
2563
|
-
|
|
2564
1916
|
qti-choice-interaction.qti-choices-stacking-4 qti-prompt{
|
|
2565
1917
|
grid-column: span 4 / span 4;
|
|
2566
1918
|
}
|
|
2567
|
-
|
|
2568
1919
|
qti-choice-interaction.qti-choices-stacking-5{
|
|
2569
1920
|
display: grid;
|
|
2570
1921
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
2571
1922
|
}
|
|
2572
|
-
|
|
2573
1923
|
qti-choice-interaction.qti-choices-stacking-5 qti-prompt{
|
|
2574
1924
|
grid-column: span 5 / span 5;
|
|
2575
1925
|
}
|
|
2576
|
-
|
|
2577
1926
|
qti-choice-interaction.qti-orientation-horizontal {
|
|
2578
1927
|
/* is the default layout */
|
|
2579
1928
|
}
|
|
2580
|
-
|
|
2581
1929
|
qti-choice-interaction[orientation='horizontal'] {
|
|
2582
1930
|
flex-direction: row;
|
|
2583
1931
|
}
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
}
|
|
2590
|
-
|
|
1932
|
+
`;var o=class extends _lit.LitElement{constructor(){super();this.itemLocation="";this.disabled=!1;this._xml="";this.audienceContext={view:"candidate"};this.render=()=>_lit.html`${_unsafehtmljs.unsafeHTML.call(void 0, this._xml)}<slot></slot>`;this.addEventListener("qti-item-first-updated",t=>{this.checkAudienceContext()})}update(t){t.has("disabled")&&this.assessmentItem&&(this.assessmentItem.disabled=this.disabled),t.has("audienceContext")&&this.checkAudienceContext(),super.update(t)}checkAudienceContext(){var t,a;(t=this.shadowRoot.querySelectorAll("[view]"))==null||t.forEach(r=>{r.getAttribute("view")===this.audienceContext.view?r.classList.add("show"):r.classList.remove("show")}),(a=this.assessmentItem)==null||a.showCorrectResponse(this.audienceContext.view==="scorer")}set xml(t){this._xml=_chunkCCQXZDO6cjs.a.call(void 0, t).customTypes().cDataToComment().customDefinition().assetsLocation(`${this.itemLocation}`).xml()}set css(t){var r;let a=new CSSStyleSheet;a.replaceSync(t),(r=this.shadowRoot)==null||r.adoptedStyleSheets.push(a)}get assessmentItem(){var t;return(t=this.shadowRoot)==null?void 0:t.querySelector("qti-assessment-item")}connectedCallback(){super.connectedCallback(),this.css=w}};o.styles=_lit.css`
|
|
1933
|
+
[view],
|
|
1934
|
+
qti-outcome-declaration,
|
|
1935
|
+
qti-response-declaration {
|
|
1936
|
+
display: none;
|
|
1937
|
+
}
|
|
1938
|
+
[view].show {
|
|
1939
|
+
display: block;
|
|
1940
|
+
}
|
|
1941
|
+
`,_chunkHYQC3D4Zcjs.c.call(void 0, [_decoratorsjs.property.call(void 0, {type:String,attribute:"item-location"})],o.prototype,"itemLocation",2),_chunkHYQC3D4Zcjs.c.call(void 0, [_decoratorsjs.property.call(void 0, {type:Boolean,attribute:!1})],o.prototype,"disabled",2),_chunkHYQC3D4Zcjs.c.call(void 0, [_decoratorsjs.state.call(void 0, )],o.prototype,"_xml",2),_chunkHYQC3D4Zcjs.c.call(void 0, [_decoratorsjs.property.call(void 0, {attribute:!1})],o.prototype,"audienceContext",2),o= exports.a =_chunkHYQC3D4Zcjs.c.call(void 0, [_decoratorsjs.customElement.call(void 0, "qti-item")],o);exports.a = o;
|