@citolab/qti-components 7.3.20 → 7.3.21

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.
Files changed (275) hide show
  1. package/cdn/chunks/chunk-2BSPQRNR.js +6 -0
  2. package/cdn/chunks/chunk-2IJBTWWT.js +2 -0
  3. package/cdn/chunks/chunk-3BPUHYAN.js +1 -0
  4. package/cdn/chunks/chunk-3CVBBZDT.js +17 -0
  5. package/cdn/chunks/chunk-3IBGLVHA.js +1 -0
  6. package/cdn/chunks/chunk-4AGE7DVK.js +48 -0
  7. package/cdn/chunks/chunk-4DXCBZFR.js +3698 -0
  8. package/cdn/chunks/chunk-4FBS7ODL.js +6 -0
  9. package/cdn/chunks/chunk-4IWCVQQJ.js +8 -0
  10. package/cdn/chunks/chunk-522JFYKC.js +6 -0
  11. package/cdn/chunks/chunk-5L5JXKEA.js +1 -0
  12. package/cdn/chunks/chunk-5TEGKCEI.js +48 -0
  13. package/cdn/chunks/chunk-5WLHU3FH.js +8 -0
  14. package/cdn/chunks/chunk-6ELXCFB2.js +1 -0
  15. package/cdn/chunks/chunk-6Q3S6QYF.js +1471 -0
  16. package/cdn/chunks/chunk-6SGFGN34.js +8 -0
  17. package/cdn/chunks/chunk-6XVY32RS.js +1 -0
  18. package/cdn/chunks/chunk-6ZE2IMSJ.js +1471 -0
  19. package/cdn/chunks/chunk-73RDXCTO.js +1 -0
  20. package/cdn/chunks/chunk-73YTM4JU.js +8 -0
  21. package/cdn/chunks/chunk-A57EJSRU.js +1 -0
  22. package/cdn/chunks/chunk-AAZIKH5Z.js +3650 -0
  23. package/cdn/chunks/chunk-AMJIIPBQ.js +48 -0
  24. package/cdn/chunks/chunk-BGFVQO5N.js +8 -0
  25. package/cdn/chunks/chunk-BRXZ5HLX.js +8 -0
  26. package/cdn/chunks/chunk-BSBPPIVO.js +5 -0
  27. package/cdn/chunks/chunk-BURSTFDF.js +2 -0
  28. package/cdn/chunks/chunk-C7AO3IVZ.js +48 -0
  29. package/cdn/chunks/chunk-CTNAGYH7.js +1 -0
  30. package/cdn/chunks/chunk-DESMFZJW.js +5 -0
  31. package/cdn/chunks/chunk-DNBBQ7LY.js +1 -0
  32. package/cdn/chunks/chunk-DP5FVJRS.js +21 -0
  33. package/cdn/chunks/chunk-E46BCOOW.js +1 -0
  34. package/cdn/chunks/chunk-EGFC4XQG.js +5 -0
  35. package/cdn/chunks/chunk-EQ4LUVQK.js +8 -0
  36. package/cdn/chunks/chunk-EXVHRHST.js +8 -0
  37. package/cdn/chunks/chunk-FC7HXYUV.js +8 -0
  38. package/cdn/chunks/chunk-FEJUVLN4.js +6 -0
  39. package/cdn/chunks/chunk-FLQBFTRW.js +37 -0
  40. package/cdn/chunks/chunk-FUGKKQ6E.js +1 -0
  41. package/cdn/chunks/chunk-FWFPMNDO.js +5 -0
  42. package/cdn/chunks/chunk-FYXNIYGH.js +1 -0
  43. package/cdn/chunks/chunk-GFO3YUEH.js +1 -0
  44. package/cdn/chunks/chunk-HAE5ZHID.js +1 -0
  45. package/cdn/chunks/chunk-HCXHHI6V.js +18 -0
  46. package/cdn/chunks/chunk-HDMF4QZO.js +48 -0
  47. package/cdn/chunks/chunk-HKUIQBCM.js +1 -0
  48. package/cdn/chunks/chunk-HKWYQB5Z.js +37 -0
  49. package/cdn/chunks/chunk-HO6JOQX4.js +25 -0
  50. package/cdn/chunks/chunk-HTH5YCZO.js +8 -0
  51. package/cdn/chunks/chunk-IHVTWACH.js +8 -0
  52. package/cdn/chunks/chunk-ILEDSBLL.js +8 -0
  53. package/cdn/chunks/chunk-IYZLVTNL.js +5 -0
  54. package/cdn/chunks/chunk-J5P2GBPV.js +1 -0
  55. package/cdn/chunks/chunk-KASON6Y7.js +17 -0
  56. package/cdn/chunks/chunk-KKQK6WIG.js +1 -0
  57. package/cdn/chunks/chunk-LBMZYOKF.js +8 -0
  58. package/cdn/chunks/chunk-LC7KE332.js +1 -0
  59. package/cdn/chunks/chunk-LIUOA3YV.js +1 -0
  60. package/cdn/chunks/chunk-LO4MJ72X.js +8 -0
  61. package/cdn/chunks/chunk-LRGALTZX.js +1 -0
  62. package/cdn/chunks/chunk-LRIOWAOJ.js +8 -0
  63. package/cdn/chunks/chunk-LVKOQVTZ.js +17 -0
  64. package/cdn/chunks/chunk-M4VO4BD3.js +1471 -0
  65. package/cdn/chunks/chunk-M53CKFQE.js +5 -0
  66. package/cdn/chunks/chunk-MD33BNWM.js +1 -0
  67. package/cdn/chunks/chunk-MLEUGPRW.js +8 -0
  68. package/cdn/chunks/chunk-MM76ZODZ.js +8 -0
  69. package/cdn/chunks/chunk-MQVMYZ75.js +1 -0
  70. package/cdn/chunks/chunk-MRQ46JRY.js +8 -0
  71. package/cdn/chunks/chunk-MSOBQUON.js +10 -0
  72. package/cdn/chunks/chunk-NDMZ2RAB.js +48 -0
  73. package/cdn/chunks/chunk-NJP4VZB3.js +8 -0
  74. package/cdn/chunks/chunk-NO3TZB6T.js +5 -0
  75. package/cdn/chunks/chunk-NRY6IJSD.js +5 -0
  76. package/cdn/chunks/chunk-O4RAJ3LM.js +25 -0
  77. package/cdn/chunks/chunk-OEZI5WCY.js +18 -0
  78. package/cdn/chunks/chunk-OR67S36X.js +5 -0
  79. package/cdn/chunks/chunk-OSLUHYFD.js +8 -0
  80. package/cdn/chunks/chunk-P6L4B5GC.js +1 -0
  81. package/cdn/chunks/chunk-PF74FX32.js +1 -0
  82. package/cdn/chunks/chunk-PFCJVHJ3.js +10 -0
  83. package/cdn/chunks/chunk-PP62N3C4.js +8 -0
  84. package/cdn/chunks/chunk-PQLJWD6V.js +21 -0
  85. package/cdn/chunks/chunk-PTQFS3S5.js +2 -0
  86. package/cdn/chunks/chunk-PU7OABT3.js +1 -0
  87. package/cdn/chunks/chunk-Q2CKZUYX.js +1 -0
  88. package/cdn/chunks/chunk-QEFO63QX.js +8 -0
  89. package/cdn/chunks/chunk-QIZBL4QP.js +1 -0
  90. package/cdn/chunks/chunk-RGNFAPWY.js +2 -0
  91. package/cdn/chunks/chunk-RHEBGA4B.js +1 -0
  92. package/cdn/chunks/chunk-S5QDLZ6J.js +1 -0
  93. package/cdn/chunks/chunk-SBWSYKE5.js +5 -0
  94. package/cdn/chunks/chunk-SXRIA7VB.js +8 -0
  95. package/cdn/chunks/chunk-SYTQX5DA.js +1 -0
  96. package/cdn/chunks/chunk-TLK5RNXE.js +1 -0
  97. package/cdn/chunks/chunk-TR7WXOQR.js +1 -0
  98. package/cdn/chunks/chunk-UMDZKG6K.js +1 -0
  99. package/cdn/chunks/chunk-UNK5GKOK.js +5 -0
  100. package/cdn/chunks/chunk-V2AJKKRF.js +1470 -0
  101. package/cdn/chunks/chunk-VEG7LKS3.js +48 -0
  102. package/cdn/chunks/chunk-VQ2JX2OE.js +5 -0
  103. package/cdn/chunks/chunk-W73FT5JE.js +48 -0
  104. package/cdn/chunks/chunk-W7O6UFTQ.js +5 -0
  105. package/cdn/chunks/chunk-WCCTDLQ4.js +8 -0
  106. package/cdn/chunks/chunk-WV5B4HNF.js +1471 -0
  107. package/cdn/chunks/chunk-WWMMW7RJ.js +1 -0
  108. package/cdn/chunks/chunk-X3JAXGAZ.js +8 -0
  109. package/cdn/chunks/chunk-XJWUPDZ4.js +10 -0
  110. package/cdn/chunks/chunk-XMKJLLUL.js +1 -0
  111. package/cdn/chunks/chunk-XMS6AFBV.js +5 -0
  112. package/cdn/chunks/chunk-XSVPZFGN.js +1 -0
  113. package/cdn/chunks/chunk-Y2P4IF3E.js +1 -0
  114. package/cdn/chunks/chunk-YCBNF5QU.js +17 -0
  115. package/cdn/chunks/chunk-YEGYR7SL.js +5 -0
  116. package/cdn/chunks/chunk-YHLQ2JQ2.js +1 -0
  117. package/cdn/chunks/chunk-ZO5G6CHW.js +1470 -0
  118. package/cdn/chunks/chunk-ZPCQH3EY.js +10 -0
  119. package/cdn/chunks/chunk-ZUQ72RIQ.js +8 -0
  120. package/cdn/chunks/chunk-ZZNCHSYH.js +5 -0
  121. package/cdn/exports/computed-item.context.js +1 -1
  122. package/cdn/exports/computed.context.js +1 -1
  123. package/cdn/exports/config.context.js +1 -1
  124. package/cdn/exports/interaction.js +1 -1
  125. package/cdn/exports/qti-assessment-item.context.js +1 -1
  126. package/cdn/exports/qti-condition-expression.js +1 -1
  127. package/cdn/exports/qti-expression.js +1 -1
  128. package/cdn/exports/qti.context.js +1 -1
  129. package/cdn/exports/session.context.js +1 -1
  130. package/cdn/exports/test.context.js +1 -1
  131. package/cdn/index.global.js +1 -1
  132. package/cdn/index.js +1 -1
  133. package/cdn/qti-components/index.js +1 -1
  134. package/cdn/qti-item/components/item-container.js +1 -1
  135. package/cdn/qti-item/components/item-correct-response-mode.js +1 -1
  136. package/cdn/qti-item/components/item-show-candidate-correction.js +1 -1
  137. package/cdn/qti-item/components/item-show-correct-response.js +1 -1
  138. package/cdn/qti-item/components/print-item-variables.js +1 -1
  139. package/cdn/qti-item/components/styles.js +1 -1
  140. package/cdn/qti-item/core/index.js +1 -1
  141. package/cdn/qti-test/components/index.js +1 -1
  142. package/cdn/qti-test/components/styles.js +1 -1
  143. package/cdn/qti-test/components/test-check-item.js +1 -1
  144. package/cdn/qti-test/components/test-container.js +1 -1
  145. package/cdn/qti-test/components/test-end-attempt.js +1 -1
  146. package/cdn/qti-test/components/test-item-link.js +1 -1
  147. package/cdn/qti-test/components/test-navigation.js +1 -1
  148. package/cdn/qti-test/components/test-next.js +1 -1
  149. package/cdn/qti-test/components/test-paging-buttons-stamp.js +1 -1
  150. package/cdn/qti-test/components/test-prev.js +1 -1
  151. package/cdn/qti-test/components/test-print-context.js +1 -1
  152. package/cdn/qti-test/components/test-print-item-variables.js +1 -1
  153. package/cdn/qti-test/components/test-scoring-buttons.js +1 -1
  154. package/cdn/qti-test/components/test-scoring-feedback.js +1 -1
  155. package/cdn/qti-test/components/test-section-buttons-stamp.js +1 -1
  156. package/cdn/qti-test/components/test-section-link.js +1 -1
  157. package/cdn/qti-test/components/test-show-correct-response.js +1 -1
  158. package/cdn/qti-test/components/test-stamp.js +1 -1
  159. package/cdn/qti-test/components/test-view-toggle.js +1 -1
  160. package/cdn/qti-test/components/test-view.js +1 -1
  161. package/cdn/qti-test/core/index.js +1 -1
  162. package/dist/chunks/chunk-3JJM4BKK.js +367 -0
  163. package/dist/chunks/chunk-3JJM4BKK.js.map +1 -0
  164. package/dist/chunks/chunk-3LX4O663.js +3688 -0
  165. package/dist/chunks/chunk-3LX4O663.js.map +1 -0
  166. package/dist/chunks/chunk-4PG2PZHY.js +8924 -0
  167. package/dist/chunks/chunk-4PG2PZHY.js.map +1 -0
  168. package/dist/chunks/chunk-55C6NAK5.js +142 -0
  169. package/dist/chunks/chunk-55C6NAK5.js.map +1 -0
  170. package/dist/chunks/chunk-5P64MALP.js +3640 -0
  171. package/dist/chunks/chunk-5P64MALP.js.map +1 -0
  172. package/dist/chunks/chunk-65YQSKWV.js +94 -0
  173. package/dist/chunks/chunk-65YQSKWV.js.map +1 -0
  174. package/dist/chunks/chunk-ARBFS6D6.js +8924 -0
  175. package/dist/chunks/chunk-ARBFS6D6.js.map +1 -0
  176. package/dist/chunks/chunk-EB3ZESWL.js +367 -0
  177. package/dist/chunks/chunk-EB3ZESWL.js.map +1 -0
  178. package/dist/chunks/chunk-ERYHQVOT.js +8 -0
  179. package/dist/chunks/chunk-ERYHQVOT.js.map +1 -0
  180. package/dist/chunks/chunk-FL72PF4D.js +19 -0
  181. package/dist/chunks/chunk-FL72PF4D.js.map +1 -0
  182. package/dist/chunks/chunk-HFAUM56X.js +208 -0
  183. package/dist/chunks/chunk-HFAUM56X.js.map +1 -0
  184. package/dist/chunks/chunk-JOASLKRQ.js +914 -0
  185. package/dist/chunks/chunk-JOASLKRQ.js.map +1 -0
  186. package/dist/chunks/chunk-K4QJBUIX.js +367 -0
  187. package/dist/chunks/chunk-K4QJBUIX.js.map +1 -0
  188. package/dist/chunks/chunk-KYN4AAHS.js +8839 -0
  189. package/dist/chunks/chunk-KYN4AAHS.js.map +1 -0
  190. package/dist/chunks/chunk-MLRMRXGZ.js +367 -0
  191. package/dist/chunks/chunk-MLRMRXGZ.js.map +1 -0
  192. package/dist/chunks/chunk-MOIHNOX3.js +94 -0
  193. package/dist/chunks/chunk-MOIHNOX3.js.map +1 -0
  194. package/dist/chunks/chunk-P2PRB5IZ.js +94 -0
  195. package/dist/chunks/chunk-P2PRB5IZ.js.map +1 -0
  196. package/dist/chunks/chunk-PF5X3SZR.js +94 -0
  197. package/dist/chunks/chunk-PF5X3SZR.js.map +1 -0
  198. package/dist/chunks/chunk-QCB6P7DH.js +146 -0
  199. package/dist/chunks/chunk-QCB6P7DH.js.map +1 -0
  200. package/dist/chunks/chunk-QU7KR7VX.js +367 -0
  201. package/dist/chunks/chunk-QU7KR7VX.js.map +1 -0
  202. package/dist/chunks/chunk-RTSIFU3A.js +8924 -0
  203. package/dist/chunks/chunk-RTSIFU3A.js.map +1 -0
  204. package/dist/chunks/chunk-SZ3DDAJ7.js +142 -0
  205. package/dist/chunks/chunk-SZ3DDAJ7.js.map +1 -0
  206. package/dist/chunks/chunk-SZTQ6IWR.js +8835 -0
  207. package/dist/chunks/chunk-SZTQ6IWR.js.map +1 -0
  208. package/dist/chunks/chunk-UUM4KYBV.js +914 -0
  209. package/dist/chunks/chunk-UUM4KYBV.js.map +1 -0
  210. package/dist/chunks/chunk-V4L4ONOK.js +914 -0
  211. package/dist/chunks/chunk-V4L4ONOK.js.map +1 -0
  212. package/dist/chunks/chunk-V7ACRMW7.js +914 -0
  213. package/dist/chunks/chunk-V7ACRMW7.js.map +1 -0
  214. package/dist/chunks/chunk-WEKBCXNI.js +8839 -0
  215. package/dist/chunks/chunk-WEKBCXNI.js.map +1 -0
  216. package/dist/chunks/chunk-WN6TJQI2.js +103 -0
  217. package/dist/chunks/chunk-WN6TJQI2.js.map +1 -0
  218. package/dist/chunks/chunk-XM2JOPVU.js +914 -0
  219. package/dist/chunks/chunk-XM2JOPVU.js.map +1 -0
  220. package/dist/chunks/chunk-ZZIDNW4D.js +914 -0
  221. package/dist/chunks/chunk-ZZIDNW4D.js.map +1 -0
  222. package/dist/exports/computed-item.context.d.ts +2 -1
  223. package/dist/exports/computed.context.d.ts +3 -2
  224. package/dist/exports/config.context.d.ts +1 -0
  225. package/dist/exports/config.context.js +1 -1
  226. package/dist/exports/interaction.d.ts +2 -1
  227. package/dist/exports/interaction.js +5 -2
  228. package/dist/exports/item.context.d.ts +2 -1
  229. package/dist/exports/qti-assessment-item.context.d.ts +2 -1
  230. package/dist/exports/qti-condition-expression.d.ts +2 -1
  231. package/dist/exports/qti-condition-expression.js +3 -3
  232. package/dist/exports/qti-expression.d.ts +2 -1
  233. package/dist/exports/qti-expression.js +2 -2
  234. package/dist/exports/qti-test.d.ts +3 -2
  235. package/dist/exports/session.context.d.ts +3 -2
  236. package/dist/exports/test.context.d.ts +2 -1
  237. package/dist/exports/variables.d.ts +2 -1
  238. package/dist/index.d.ts +4 -4
  239. package/dist/index.js +12 -12
  240. package/dist/item.css +66 -6
  241. package/dist/qti-components/index.d.ts +16 -5
  242. package/dist/qti-components/index.js +6 -6
  243. package/dist/qti-components-jsx.d.ts +29 -18
  244. package/dist/qti-item/components/item-container.js +2 -2
  245. package/dist/qti-item/components/item-correct-response-mode.js +1 -1
  246. package/dist/qti-item/components/item-show-candidate-correction.d.ts +2 -1
  247. package/dist/qti-item/components/item-show-correct-response.d.ts +2 -1
  248. package/dist/qti-item/components/print-item-variables.d.ts +2 -1
  249. package/dist/qti-item/core/index.d.ts +1 -1
  250. package/dist/qti-item/core/index.js +4 -4
  251. package/dist/qti-loader/index.d.ts +2 -1
  252. package/dist/qti-response-declaration-BKOw2_Pl.d.ts +1378 -0
  253. package/dist/qti-response-declaration-DKr08ANy.d.ts +1397 -0
  254. package/dist/qti-response-declaration-Dz6D30cF.d.ts +1397 -0
  255. package/dist/qti-response-declaration-d_tAAEFq.d.ts +1378 -0
  256. package/dist/qti-test/components/index.d.ts +3 -3
  257. package/dist/qti-test/components/index.js +4 -4
  258. package/dist/qti-test/components/test-container.js +2 -2
  259. package/dist/qti-test/components/test-navigation.d.ts +2 -2
  260. package/dist/qti-test/components/test-navigation.js +2 -2
  261. package/dist/qti-test/components/test-next.d.ts +3 -2
  262. package/dist/qti-test/components/test-prev.d.ts +3 -2
  263. package/dist/qti-test/components/test-print-context.d.ts +3 -2
  264. package/dist/qti-test/components/test-print-item-variables.d.ts +3 -2
  265. package/dist/qti-test/components/test-scoring-buttons.d.ts +3 -2
  266. package/dist/qti-test/components/test-scoring-feedback.d.ts +3 -2
  267. package/dist/qti-test/components/test-show-correct-response.d.ts +3 -2
  268. package/dist/qti-test/core/index.d.ts +4 -3
  269. package/dist/qti-test/core/index.js +7 -7
  270. package/dist/qti-test-feedback-Bskvq3FE.d.ts +91 -0
  271. package/dist/qti-test-feedback-CZsbp6z4.d.ts +91 -0
  272. package/dist/qti-test-feedback-dSr4W5Ft.d.ts +91 -0
  273. package/dist/qti-test-feedback-jBGxkr5n.d.ts +91 -0
  274. package/dist/vscode.html-custom-data.json +3 -2
  275. package/package.json +1 -1
@@ -0,0 +1,3688 @@
1
+ // inline:../../../item.css?inline
2
+ var item_default = `@layer qti-base, qti-components, qti-utilities, qti-variants, qti-extended;
3
+
4
+ :root,
5
+ :host {
6
+ /* Active colors */
7
+ --qti-bg-active: #ffecec;
8
+ --qti-border-active: #f86d70;
9
+
10
+ /* Correct colors */
11
+ --qti-correct-light: #c8e6c9;
12
+ --qti-correct: #66bb6a;
13
+
14
+ /** Partially correct colors */
15
+ --qti-partially-correct-light: #fff3e0;
16
+ --qti-partially-correct: #ffeb3b;
17
+
18
+ /* Incorrect colors */
19
+ --qti-incorrect-light: #ef9a9a;
20
+ --qti-incorrect: #ef5350;
21
+
22
+ /* Validation colors */
23
+ --qti-validation-error-bg: #fffbeb;
24
+ --qti-validation-text: #92400e;
25
+
26
+ /* Gap size */
27
+ --qti-gap-size: 1rem;
28
+
29
+ /* Background colors */
30
+ --qti-bg: white;
31
+ --qti-hover-bg: #f9fafb;
32
+
33
+ /* Light theme colors */
34
+ --qti-light-bg-active: #f0f0f0; /* Light gray */
35
+ --qti-light-border-active: #d0d0d0; /* Medium gray */
36
+
37
+ /* Dark theme colors */
38
+ --qti-dark-bg-active: #1f2937; /* Dark gray */
39
+ --qti-dark-border-active: #64748b; /* Medium gray */
40
+
41
+ /* Disabled colors */
42
+ --qti-disabled-bg: #f3f4f6;
43
+ --qti-disabled-color: #45484f;
44
+
45
+ /* Border properties */
46
+ --qti-border-thickness: 2px;
47
+ --qti-border-style: solid;
48
+ --qti-border-color: #c6cad0;
49
+ --qti-border-radius: 0.3rem;
50
+ --qti-drop-border-radius: calc(var(--qti-border-radius) + var(--qti-border-thickness));
51
+
52
+ /* Focus & active states */
53
+ --qti-focus-border-width: 5px;
54
+ --qti-focus-color: #bddcff7e;
55
+
56
+ /* Class-specific variables */
57
+
58
+ /* Form elements */
59
+ --qti-form-size: 1rem;
60
+
61
+ /* Order buttons */
62
+ --qti-order-size: 2rem;
63
+
64
+ /* Generic padding for all elements */
65
+ --qti-padding-vertical: 0.5rem; /* py-2 */
66
+ --qti-padding-horizontal: 0.5rem; /* px-2 */
67
+
68
+ /* Dropzones */
69
+ --qti-dropzone-padding: 0rem;
70
+ }
71
+
72
+ /* SVG masks and backgrounds */
73
+
74
+ .chevron {
75
+ 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")
76
+ no-repeat center right 6px;
77
+ }
78
+
79
+ .handle {
80
+ background-image: radial-gradient(
81
+ circle at center,
82
+ rgb(0 0 0 / 10%) 0,
83
+ rgb(0 0 0 / 20%) 2px,
84
+ rgb(255 255 255 / 0%) 2px,
85
+ rgb(255 255 255 / 0%) 100%
86
+ );
87
+ background-repeat: repeat-y;
88
+ background-position: left center;
89
+ background-size: 14px 8px;
90
+ }
91
+
92
+ .check-mask {
93
+ -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");
94
+ 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");
95
+ }
96
+
97
+ /*
98
+ Following are classes that can be applied to elements and element states, so they are not used directly
99
+ The @apply directive is used to apply these classes to elements
100
+ */
101
+
102
+ /* Apply .bordered to an element */
103
+
104
+ .bordered {
105
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
106
+ outline: none;
107
+ }
108
+
109
+ /* Apply .form rules for checkbox and radiobutton */
110
+
111
+ .form {
112
+
113
+ /* background-color: var(--qti-bg); */
114
+ display: grid;
115
+ place-content: center;
116
+ width: var(--qti-form-size);
117
+ height: var(--qti-form-size);
118
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
119
+ outline: none;
120
+ }
121
+
122
+ /* Apply .button rules for button-like elements, such as drags and buttons */
123
+
124
+ .button {
125
+
126
+ border-radius: var(--qti-border-radius);
127
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
128
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
129
+ outline: none;
130
+ }
131
+
132
+ /* Apply .select for the select dropdown element */
133
+
134
+ .select {
135
+
136
+ border-radius: var(--qti-border-radius);
137
+ position: relative;
138
+ -webkit-appearance: none;
139
+ -moz-appearance: none;
140
+ appearance: none;
141
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
142
+ padding-right: calc(var(--qti-padding-horizontal) + 1.5rem); /* 1.5rem for the chevron */ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color); outline: none; 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")
143
+ no-repeat center right 6px;
144
+ }
145
+
146
+ /* Apply .text for the input text and textarea */
147
+
148
+ .text {
149
+
150
+ border-radius: 0;
151
+ cursor: text;
152
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
153
+ background: var(--qti-bg);
154
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
155
+ outline: none;
156
+ }
157
+
158
+ /* Apply .spot for hotspot shapes */
159
+
160
+ .spot {
161
+
162
+ width: 100%;
163
+ height: 100%;
164
+ background-color: transparent;
165
+ padding: 0;
166
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
167
+ outline: none;
168
+ }
169
+
170
+ /* Apply .point for circular small hotspots */
171
+
172
+ .point {
173
+
174
+ border-radius: 100%;
175
+ border: 1px solid white;
176
+ background-color: black;
177
+ opacity: 0.5;
178
+ padding: 0;
179
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
180
+ outline: none;
181
+ }
182
+
183
+ /* Apply .drag for draggable elements */
184
+
185
+ .drag {
186
+
187
+ transition:
188
+ transform 200ms ease-out,
189
+ box-shadow 200ms ease-out,
190
+ rotate 200ms ease-out;
191
+ cursor: grab;
192
+ background-color: var(--qti-bg);
193
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
194
+ border-radius: var(--qti-border-radius);
195
+
196
+ /* padding-left: calc(var(--qti-padding-horizontal) + 0.5rem) !important; */
197
+
198
+ /* 1.5rem for the drag */
199
+
200
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
201
+
202
+ outline: none;
203
+ }
204
+
205
+ /* Apply .dragging for the dragging state of a draggable element */
206
+
207
+ .dragging {
208
+ pointer-events: none;
209
+ rotate: -2deg;
210
+ box-shadow:
211
+ 0 8px 12px rgb(0 0 0 / 20%),
212
+ 0 4px 8px rgb(0 0 0 / 10%);
213
+ }
214
+
215
+ /* Apply .drop for an element where you can drop the draggable */
216
+
217
+ .drop {
218
+ /* @apply bordered; */
219
+ border: var(--qti-border-thickness) dashed var(--qti-border-color);
220
+ background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="7" stroke="%23CCCCCC" stroke-width="1" fill="transparent" /></svg>')
221
+ center no-repeat;
222
+ border-radius: var(--qti-border-radius);
223
+ position: relative;
224
+ background-color: var(--qti-bg);
225
+ }
226
+
227
+ /* Apply .dropping for an indicator where you can drop the draggable */
228
+
229
+ .dropping {
230
+ background-color: var(--qti-bg-active);
231
+ }
232
+
233
+ /* Apply .order for a small circular button */
234
+
235
+ .order {
236
+
237
+ display: grid;
238
+ place-content: center;
239
+
240
+ /* background-color: var(--qti-bg-active); */
241
+ border-radius: 100%;
242
+ width: var(--qti-order-size);
243
+ height: var(--qti-order-size);
244
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
245
+ outline: none;
246
+ }
247
+
248
+ /* Apply .check-size for radio and checkbox size */
249
+
250
+ .check-size {
251
+ width: calc(var(--qti-form-size) - 6px);
252
+ height: calc(var(--qti-form-size) - 6px);
253
+ }
254
+
255
+ /* Apply .check for checkbox */
256
+
257
+ .check {
258
+ gap: 0.5rem;
259
+ background-color: var(--qti-bg);
260
+ border-radius: var(--qti-border-radius);
261
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
262
+ outline: none;
263
+ cursor: pointer;
264
+ }
265
+
266
+ /* Apply .check-radio for outer circle of the radio buttons */
267
+
268
+ .check-radio {
269
+
270
+ border-radius: 100%;
271
+
272
+ display: grid;
273
+
274
+ place-content: center;
275
+
276
+ width: var(--qti-form-size);
277
+
278
+ height: var(--qti-form-size);
279
+
280
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
281
+
282
+ outline: none;
283
+ }
284
+
285
+ /* Apply .check-radio-checked for the inner checked radio */
286
+
287
+ .check-radio-checked {
288
+ background-color: var(--qti-border-active);
289
+ border-radius: 100%;
290
+ }
291
+
292
+ /* Apply .check-checkbox for outer square of the checkbox */
293
+
294
+ .check-checkbox {
295
+
296
+ display: flex;
297
+ place-items: center;
298
+ border-radius: var(--qti-border-radius);
299
+ display: grid;
300
+ place-content: center;
301
+ width: var(--qti-form-size);
302
+ height: var(--qti-form-size);
303
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
304
+ outline: none;
305
+ }
306
+
307
+ /* Apply .check-checkbox-checked for the inner checkmark */
308
+
309
+ .check-checkbox-checked {
310
+ background-color: var(--qti-border-active);
311
+ -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");
312
+ 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");
313
+ }
314
+
315
+ /* Apply .hov for hover state */
316
+
317
+ .hov {
318
+ /* background-color: var(--qti-hover-bg); */
319
+ }
320
+
321
+ /* Apply .foc for focus state */
322
+
323
+ .foc {
324
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
325
+ }
326
+
327
+ /* Apply .act for active state */
328
+
329
+ .act {
330
+ border-color: var(--qti-border-active);
331
+ background-color: var(--qti-bg-active);
332
+ }
333
+
334
+ .act-bg {
335
+ background-color: var(--qti-bg-active);
336
+ }
337
+
338
+ .act-bor {
339
+ border-color: var(--qti-border-active);
340
+ }
341
+
342
+ /* Apply .rdo for readonly state */
343
+
344
+ .rdo {
345
+ cursor: pointer;
346
+ background-color: var(--qti-bg);
347
+ outline: 0;
348
+ border: none;
349
+ }
350
+
351
+ /* Apply .dis for disabled state */
352
+
353
+ .dis {
354
+ cursor: not-allowed;
355
+ background-color: var(--qti-disabled-bg);
356
+ color: var(--qti-disabled-color);
357
+ border-color: var(--qti-border-color);
358
+ outline: 4px solid var(--qti-disabled-bg);
359
+ }
360
+
361
+ /* base */
362
+
363
+ /* ============================
364
+ QTI 3 shared css
365
+ 1. Display
366
+ 2. Special Flex styles
367
+ 3. Margin
368
+ 4. Padding
369
+ 5. Horizontal Alignment styles
370
+ 6. Vertical Alignment styles
371
+ 7. Height
372
+ 8. Width
373
+ 9. Text-Indent
374
+ 10. List Style
375
+ 11. Layout
376
+ 12. Other QTI 3 presentation utilities
377
+ ============================ */
378
+
379
+ /* ==========
380
+ Display css
381
+ =========== */
382
+
383
+ .qti-display-inline {
384
+ display: inline;
385
+ }
386
+
387
+ .qti-display-inline-block {
388
+ display: inline-block;
389
+ }
390
+
391
+ .qti-display-block {
392
+ display: block;
393
+ }
394
+
395
+ .qti-display-flex {
396
+ display: flex;
397
+ }
398
+
399
+ .qti-display-inline-flex {
400
+ display: inline-flex;
401
+ }
402
+
403
+ .qti-display-grid {
404
+ display: grid;
405
+ }
406
+
407
+ .qti-display-inline-grid {
408
+ display: inline-grid;
409
+ }
410
+
411
+ .qti-display-table {
412
+ display: table;
413
+ }
414
+
415
+ .qti-display-table-cell {
416
+ display: table-cell;
417
+ }
418
+
419
+ .qti-display-table-row {
420
+ display: table-row;
421
+ }
422
+
423
+ .qti-display-list-item {
424
+ display: list-item;
425
+ }
426
+
427
+ .qti-display-inherit {
428
+ display: inherit;
429
+ }
430
+
431
+ /*
432
+ * hidden to screen readers and sighted
433
+ */
434
+
435
+ .qti-hidden {
436
+ display: none;
437
+ }
438
+
439
+ /*
440
+ * visible to screen readers, hidden to sighted
441
+ */
442
+
443
+ .qti-visually-hidden {
444
+ position: fixed !important;
445
+ overflow: hidden;
446
+ clip: rect(1px 1px 1px 1px);
447
+ height: 1px;
448
+ width: 1px;
449
+ border: 0;
450
+ margin: -1px;
451
+ }
452
+
453
+ /* =============================
454
+ Special flex styles
455
+ ============================= */
456
+
457
+ .qti-flex-direction-column {
458
+ flex-direction: column;
459
+ }
460
+
461
+ .qti-flex-direction-row {
462
+ flex-direction: row;
463
+ }
464
+
465
+ .qti-flex-grow-1 {
466
+ flex-grow: 1;
467
+ }
468
+
469
+ .qti-flex-grow-0 {
470
+ flex-grow: 0;
471
+ }
472
+
473
+ /* =========
474
+ Margin css
475
+ ========== */
476
+
477
+ /**
478
+ * For margin Top and Bottom and Left and Right
479
+ */
480
+
481
+ .qti-margin-0 {
482
+ margin: 0 !important;
483
+ }
484
+
485
+ .qti-margin-1 {
486
+ margin: 0.25rem !important;
487
+ }
488
+
489
+ .qti-margin-2 {
490
+ margin: 0.5rem !important;
491
+ }
492
+
493
+ .qti-margin-3 {
494
+ margin: 1rem !important;
495
+ }
496
+
497
+ .qti-margin-4 {
498
+ margin: 1.5rem !important;
499
+ }
500
+
501
+ .qti-margin-5 {
502
+ margin: 3rem !important;
503
+ }
504
+
505
+ .qti-margin-auto {
506
+ margin: auto !important;
507
+ }
508
+
509
+ /*
510
+ For margin Left and Right
511
+ */
512
+
513
+ .qti-margin-x-0 {
514
+ margin-right: 0 !important;
515
+ margin-left: 0 !important;
516
+ }
517
+
518
+ .qti-margin-x-1 {
519
+ margin-right: 0.25rem !important;
520
+ margin-left: 0.25rem !important;
521
+ }
522
+
523
+ .qti-margin-x-2 {
524
+ margin-right: 0.5rem !important;
525
+ margin-left: 0.5rem !important;
526
+ }
527
+
528
+ .qti-margin-x-3 {
529
+ margin-right: 1rem !important;
530
+ margin-left: 1rem !important;
531
+ }
532
+
533
+ .qti-margin-x-4 {
534
+ margin-right: 1.5rem !important;
535
+ margin-left: 1.5rem !important;
536
+ }
537
+
538
+ .qti-margin-x-5 {
539
+ margin-right: 3rem !important;
540
+ margin-left: 3rem !important;
541
+ }
542
+
543
+ .qti-margin-x-auto {
544
+ margin-right: auto !important;
545
+ margin-left: auto !important;
546
+ }
547
+
548
+ /*
549
+ For margin Top and Bottom
550
+ */
551
+
552
+ .qti-margin-y-0 {
553
+ margin-top: 0 !important;
554
+ margin-bottom: 0 !important;
555
+ }
556
+
557
+ .qti-margin-y-1 {
558
+ margin-top: 0.25rem !important;
559
+ margin-bottom: 0.25rem !important;
560
+ }
561
+
562
+ .qti-margin-y-2 {
563
+ margin-top: 0.5rem !important;
564
+ margin-bottom: 0.5rem !important;
565
+ }
566
+
567
+ .qti-margin-y-3 {
568
+ margin-top: 1rem !important;
569
+ margin-bottom: 1rem !important;
570
+ }
571
+
572
+ .qti-margin-y-4 {
573
+ margin-top: 1.5rem !important;
574
+ margin-bottom: 1.5rem !important;
575
+ }
576
+
577
+ .qti-margin-y-5 {
578
+ margin-top: 3rem !important;
579
+ margin-bottom: 3rem !important;
580
+ }
581
+
582
+ .qti-margin-y-auto {
583
+ margin-top: auto !important;
584
+ margin-bottom: auto !important;
585
+ }
586
+
587
+ /*
588
+ For margin Top
589
+ */
590
+
591
+ .qti-margin-t-0 {
592
+ margin-top: 0 !important;
593
+ }
594
+
595
+ .qti-margin-t-1 {
596
+ margin-top: 0.25rem !important;
597
+ }
598
+
599
+ .qti-margin-t-2 {
600
+ margin-top: 0.5rem !important;
601
+ }
602
+
603
+ .qti-margin-t-3 {
604
+ margin-top: 1rem !important;
605
+ }
606
+
607
+ .qti-margin-t-4 {
608
+ margin-top: 1.5rem !important;
609
+ }
610
+
611
+ .qti-margin-t-5 {
612
+ margin-top: 3rem !important;
613
+ }
614
+
615
+ .qti-margin-t-auto {
616
+ margin-top: auto !important;
617
+ }
618
+
619
+ /*
620
+ For margin Bottom
621
+ */
622
+
623
+ .qti-margin-b-0 {
624
+ margin-bottom: 0 !important;
625
+ }
626
+
627
+ .qti-margin-b-1 {
628
+ margin-bottom: 0.25rem !important;
629
+ }
630
+
631
+ .qti-margin-b-2 {
632
+ margin-bottom: 0.5rem !important;
633
+ }
634
+
635
+ .qti-margin-b-3 {
636
+ margin-bottom: 1rem !important;
637
+ }
638
+
639
+ .qti-margin-b-4 {
640
+ margin-bottom: 1.5rem !important;
641
+ }
642
+
643
+ .qti-margin-b-5 {
644
+ margin-bottom: 3rem !important;
645
+ }
646
+
647
+ .qti-margin-b-auto {
648
+ margin-bottom: auto !important;
649
+ }
650
+
651
+ /*
652
+ For margin Start LTR
653
+ */
654
+
655
+ .qti-margin-s-0 {
656
+ margin-left: 0 !important;
657
+ }
658
+
659
+ .qti-margin-s-1 {
660
+ margin-left: 0.25rem !important;
661
+ }
662
+
663
+ .qti-margin-s-2 {
664
+ margin-left: 0.5rem !important;
665
+ }
666
+
667
+ .qti-margin-s-3 {
668
+ margin-left: 1rem !important;
669
+ }
670
+
671
+ .qti-margin-s-4 {
672
+ margin-left: 1.5rem !important;
673
+ }
674
+
675
+ .qti-margin-s-5 {
676
+ margin-left: 3rem !important;
677
+ }
678
+
679
+ .qti-margin-s-auto {
680
+ margin-left: auto !important;
681
+ }
682
+
683
+ /*
684
+ For margin End LTR
685
+ */
686
+
687
+ .qti-margin-e-0 {
688
+ margin-right: 0 !important;
689
+ }
690
+
691
+ .qti-margin-e-1 {
692
+ margin-right: 0.25rem !important;
693
+ }
694
+
695
+ .qti-margin-e-2 {
696
+ margin-right: 0.5rem !important;
697
+ }
698
+
699
+ .qti-margin-e-3 {
700
+ margin-right: 1rem !important;
701
+ }
702
+
703
+ .qti-margin-e-4 {
704
+ margin-right: 1.5rem !important;
705
+ }
706
+
707
+ .qti-margin-e-5 {
708
+ margin-right: 3rem !important;
709
+ }
710
+
711
+ .qti-margin-e-auto {
712
+ margin-right: auto !important;
713
+ }
714
+
715
+ /* =========
716
+ Padding css
717
+ ========== */
718
+
719
+ /*
720
+ For padding Top and Bottom and Left and Right
721
+ */
722
+
723
+ .qti-padding-0 {
724
+ padding: 0 !important;
725
+ }
726
+
727
+ .qti-padding-1 {
728
+ padding: 0.25rem !important;
729
+ }
730
+
731
+ .qti-padding-2 {
732
+ padding: 0.5rem !important;
733
+ }
734
+
735
+ .qti-padding-3 {
736
+ padding: 1rem !important;
737
+ }
738
+
739
+ .qti-padding-4 {
740
+ padding: 1.5rem !important;
741
+ }
742
+
743
+ .qti-padding-5 {
744
+ padding: 3rem !important;
745
+ }
746
+
747
+ /*
748
+ For padding Left and Right
749
+ */
750
+
751
+ .qti-padding-x-0 {
752
+ padding-right: 0 !important;
753
+ padding-left: 0 !important;
754
+ }
755
+
756
+ .qti-padding-x-1 {
757
+ padding-right: 0.25rem !important;
758
+ padding-left: 0.25rem !important;
759
+ }
760
+
761
+ .qti-padding-x-2 {
762
+ padding-right: 0.5rem !important;
763
+ padding-left: 0.5rem !important;
764
+ }
765
+
766
+ .qti-padding-x-3 {
767
+ padding-right: 1rem !important;
768
+ padding-left: 1rem !important;
769
+ }
770
+
771
+ .qti-padding-x-4 {
772
+ padding-right: 1.5rem !important;
773
+ padding-left: 1.5rem !important;
774
+ }
775
+
776
+ .qti-padding-x-5 {
777
+ padding-right: 3rem !important;
778
+ padding-left: 3rem !important;
779
+ }
780
+
781
+ /*
782
+ For padding Top and Bottom
783
+ */
784
+
785
+ .qti-padding-y-0 {
786
+ padding-top: 0 !important;
787
+ padding-bottom: 0 !important;
788
+ }
789
+
790
+ .qti-padding-y-1 {
791
+ padding-top: 0.25rem !important;
792
+ padding-bottom: 0.25rem !important;
793
+ }
794
+
795
+ .qti-padding-y-2 {
796
+ padding-top: 0.5rem !important;
797
+ padding-bottom: 0.5rem !important;
798
+ }
799
+
800
+ .qti-padding-y-3 {
801
+ padding-top: 1rem !important;
802
+ padding-bottom: 1rem !important;
803
+ }
804
+
805
+ .qti-padding-y-4 {
806
+ padding-top: 1.5rem !important;
807
+ padding-bottom: 1.5rem !important;
808
+ }
809
+
810
+ .qti-padding-y-5 {
811
+ padding-top: 3rem !important;
812
+ padding-bottom: 3rem !important;
813
+ }
814
+
815
+ /*
816
+ For padding Top
817
+ */
818
+
819
+ .qti-padding-t-0 {
820
+ padding-top: 0 !important;
821
+ }
822
+
823
+ .qti-padding-t-1 {
824
+ padding-top: 0.25rem !important;
825
+ }
826
+
827
+ .qti-padding-t-2 {
828
+ padding-top: 0.5rem !important;
829
+ }
830
+
831
+ .qti-padding-t-3 {
832
+ padding-top: 1rem !important;
833
+ }
834
+
835
+ .qti-padding-t-4 {
836
+ padding-top: 1.5rem !important;
837
+ }
838
+
839
+ .qti-padding-t-5 {
840
+ padding-top: 3rem !important;
841
+ }
842
+
843
+ /*
844
+ For padding Bottom
845
+ */
846
+
847
+ .qti-padding-b-0 {
848
+ padding-bottom: 0 !important;
849
+ }
850
+
851
+ .qti-padding-b-1 {
852
+ padding-bottom: 0.25rem !important;
853
+ }
854
+
855
+ .qti-padding-b-2 {
856
+ padding-bottom: 0.5rem !important;
857
+ }
858
+
859
+ .qti-padding-b-3 {
860
+ padding-bottom: 1rem !important;
861
+ }
862
+
863
+ .qti-padding-b-4 {
864
+ padding-bottom: 1.5rem !important;
865
+ }
866
+
867
+ .qti-padding-b-5 {
868
+ padding-bottom: 3rem !important;
869
+ }
870
+
871
+ /*
872
+ For padding Start LTR
873
+ */
874
+
875
+ .qti-padding-s-0 {
876
+ padding-left: 0 !important;
877
+ }
878
+
879
+ .qti-padding-s-1 {
880
+ padding-left: 0.25rem !important;
881
+ }
882
+
883
+ .qti-padding-s-2 {
884
+ padding-left: 0.5rem !important;
885
+ }
886
+
887
+ .qti-padding-s-3 {
888
+ padding-left: 1rem !important;
889
+ }
890
+
891
+ .qti-padding-s-4 {
892
+ padding-left: 1.5rem !important;
893
+ }
894
+
895
+ .qti-padding-s-5 {
896
+ padding-left: 3rem !important;
897
+ }
898
+
899
+ /*
900
+ For padding End LTR
901
+ */
902
+
903
+ .qti-padding-e-0 {
904
+ padding-right: 0 !important;
905
+ }
906
+
907
+ .qti-padding-e-1 {
908
+ padding-right: 0.25rem !important;
909
+ }
910
+
911
+ .qti-padding-e-2 {
912
+ padding-right: 0.5rem !important;
913
+ }
914
+
915
+ .qti-padding-e-3 {
916
+ padding-right: 1rem !important;
917
+ }
918
+
919
+ .qti-padding-e-4 {
920
+ padding-right: 1.5rem !important;
921
+ }
922
+
923
+ .qti-padding-e-5 {
924
+ padding-right: 3rem !important;
925
+ }
926
+
927
+ /* ====================
928
+ Horizontal alignment
929
+ ==================== */
930
+
931
+ .qti-align-left {
932
+ text-align: left;
933
+ }
934
+
935
+ .qti-align-center {
936
+ text-align: center;
937
+ }
938
+
939
+ .qti-align-right {
940
+ text-align: right;
941
+ }
942
+
943
+ /* ==================
944
+ Vertical alignment
945
+ ================== */
946
+
947
+ .qti-valign-top {
948
+ vertical-align: top;
949
+ }
950
+
951
+ .qti-valign-middle {
952
+ vertical-align: middle;
953
+ }
954
+
955
+ .qti-valign-baseline {
956
+ vertical-align: baseline;
957
+ }
958
+
959
+ .qti-valign-bottom {
960
+ vertical-align: bottom;
961
+ }
962
+
963
+ /* =============
964
+ Height styles
965
+ ============= */
966
+
967
+ .qti-height-0 {
968
+ height: 0;
969
+ }
970
+
971
+ .qti-height-px {
972
+ height: 1px;
973
+ }
974
+
975
+ .qti-height-0p5 {
976
+ height: 0.125rem;
977
+ }
978
+
979
+ .qti-height-1 {
980
+ height: 0.25rem;
981
+ }
982
+
983
+ .qti-height-1p5 {
984
+ height: 0.375rem;
985
+ }
986
+
987
+ .qti-height-2 {
988
+ height: 0.5rem;
989
+ }
990
+
991
+ .qti-height-2p5 {
992
+ height: 0.625rem;
993
+ }
994
+
995
+ .qti-height-3 {
996
+ height: 0.75rem;
997
+ }
998
+
999
+ .qti-height-3p5 {
1000
+ height: 0.875rem;
1001
+ }
1002
+
1003
+ .qti-height-4 {
1004
+ height: 1rem;
1005
+ }
1006
+
1007
+ .qti-height-5 {
1008
+ height: 1.25rem;
1009
+ }
1010
+
1011
+ .qti-height-6 {
1012
+ height: 1.5rem;
1013
+ }
1014
+
1015
+ .qti-height-7 {
1016
+ height: 1.75rem;
1017
+ }
1018
+
1019
+ .qti-height-8 {
1020
+ height: 2rem;
1021
+ }
1022
+
1023
+ .qti-height-9 {
1024
+ height: 2.25rem;
1025
+ }
1026
+
1027
+ .qti-height-10 {
1028
+ height: 2.5rem;
1029
+ }
1030
+
1031
+ .qti-height-11 {
1032
+ height: 2.75rem;
1033
+ }
1034
+
1035
+ .qti-height-12 {
1036
+ height: 3rem;
1037
+ }
1038
+
1039
+ .qti-height-14 {
1040
+ height: 3.5rem;
1041
+ }
1042
+
1043
+ .qti-height-16 {
1044
+ height: 4rem;
1045
+ }
1046
+
1047
+ .qti-height-20 {
1048
+ height: 5rem;
1049
+ }
1050
+
1051
+ .qti-height-24 {
1052
+ height: 6rem;
1053
+ }
1054
+
1055
+ .qti-height-28 {
1056
+ height: 7rem;
1057
+ }
1058
+
1059
+ .qti-height-32 {
1060
+ height: 8rem;
1061
+ }
1062
+
1063
+ .qti-height-36 {
1064
+ height: 9rem;
1065
+ }
1066
+
1067
+ .qti-height-40 {
1068
+ height: 10rem;
1069
+ }
1070
+
1071
+ .qti-height-44 {
1072
+ height: 11rem;
1073
+ }
1074
+
1075
+ .qti-height-48 {
1076
+ height: 12rem;
1077
+ }
1078
+
1079
+ .qti-height-52 {
1080
+ height: 13rem;
1081
+ }
1082
+
1083
+ .qti-height-56 {
1084
+ height: 14rem;
1085
+ }
1086
+
1087
+ .qti-height-60 {
1088
+ height: 15rem;
1089
+ }
1090
+
1091
+ .qti-height-64 {
1092
+ height: 16rem;
1093
+ }
1094
+
1095
+ .qti-height-72 {
1096
+ height: 18rem;
1097
+ }
1098
+
1099
+ .qti-height-80 {
1100
+ height: 20rem;
1101
+ }
1102
+
1103
+ .qti-height-96 {
1104
+ height: 24rem;
1105
+ }
1106
+
1107
+ .qti-height-1-2 {
1108
+ height: 50%;
1109
+ }
1110
+
1111
+ .qti-height-1-3 {
1112
+ height: 33.3333%;
1113
+ }
1114
+
1115
+ .qti-height-2-3 {
1116
+ height: 66.6667%;
1117
+ }
1118
+
1119
+ .qti-height-1-4 {
1120
+ height: 25%;
1121
+ }
1122
+
1123
+ .qti-height-2-4 {
1124
+ height: 50%;
1125
+ }
1126
+
1127
+ .qti-height-3-4 {
1128
+ height: 75%;
1129
+ }
1130
+
1131
+ .qti-height-1-5 {
1132
+ height: 20%;
1133
+ }
1134
+
1135
+ .qti-height-2-5 {
1136
+ height: 40%;
1137
+ }
1138
+
1139
+ .qti-height-3-5 {
1140
+ height: 60%;
1141
+ }
1142
+
1143
+ .qti-height-4-5 {
1144
+ height: 80%;
1145
+ }
1146
+
1147
+ .qti-height-1-6 {
1148
+ height: 16.6667%;
1149
+ }
1150
+
1151
+ .qti-height-2-6 {
1152
+ height: 33.3333%;
1153
+ }
1154
+
1155
+ .qti-height-3-6 {
1156
+ height: 50%;
1157
+ }
1158
+
1159
+ .qti-height-4-6 {
1160
+ height: 66.6667%;
1161
+ }
1162
+
1163
+ .qti-height-5-6 {
1164
+ height: 83.3333%;
1165
+ }
1166
+
1167
+ .qti-height-auto {
1168
+ height: auto;
1169
+ }
1170
+
1171
+ .qti-height-full {
1172
+ height: 100%;
1173
+ }
1174
+
1175
+ /* ============
1176
+ Width styles
1177
+ ============ */
1178
+
1179
+ .qti-width-0 {
1180
+ width: 0;
1181
+ }
1182
+
1183
+ .qti-width-px {
1184
+ width: 1px;
1185
+ }
1186
+
1187
+ .qti-width-0p5 {
1188
+ width: 0.125rem;
1189
+ }
1190
+
1191
+ .qti-width-1 {
1192
+ width: 0.25rem;
1193
+ }
1194
+
1195
+ .qti-width-1p5 {
1196
+ width: 0.375rem;
1197
+ }
1198
+
1199
+ .qti-width-2 {
1200
+ width: 0.5rem;
1201
+ }
1202
+
1203
+ .qti-width-2p5 {
1204
+ width: 0.625rem;
1205
+ }
1206
+
1207
+ .qti-width-3 {
1208
+ width: 0.75rem;
1209
+ }
1210
+
1211
+ .qti-width-3p5 {
1212
+ width: 0.875rem;
1213
+ }
1214
+
1215
+ .qti-width-4 {
1216
+ width: 1rem;
1217
+ }
1218
+
1219
+ .qti-width-5 {
1220
+ width: 1.25rem;
1221
+ }
1222
+
1223
+ .qti-width-6 {
1224
+ width: 1.5rem;
1225
+ }
1226
+
1227
+ .qti-width-7 {
1228
+ width: 1.75rem;
1229
+ }
1230
+
1231
+ .qti-width-8 {
1232
+ width: 2rem;
1233
+ }
1234
+
1235
+ .qti-width-9 {
1236
+ width: 2.25rem;
1237
+ }
1238
+
1239
+ .qti-width-10 {
1240
+ width: 2.5rem;
1241
+ }
1242
+
1243
+ .qti-width-11 {
1244
+ width: 2.75rem;
1245
+ }
1246
+
1247
+ .qti-width-12 {
1248
+ width: 3rem;
1249
+ }
1250
+
1251
+ .qti-width-14 {
1252
+ width: 3.5rem;
1253
+ }
1254
+
1255
+ .qti-width-16 {
1256
+ width: 4rem;
1257
+ }
1258
+
1259
+ .qti-width-20 {
1260
+ width: 5rem;
1261
+ }
1262
+
1263
+ .qti-width-24 {
1264
+ width: 6rem;
1265
+ }
1266
+
1267
+ .qti-width-28 {
1268
+ width: 7rem;
1269
+ }
1270
+
1271
+ .qti-width-32 {
1272
+ width: 8rem;
1273
+ }
1274
+
1275
+ .qti-width-36 {
1276
+ width: 9rem;
1277
+ }
1278
+
1279
+ .qti-width-40 {
1280
+ width: 10rem;
1281
+ }
1282
+
1283
+ .qti-width-44 {
1284
+ width: 11rem;
1285
+ }
1286
+
1287
+ .qti-width-48 {
1288
+ width: 12rem;
1289
+ }
1290
+
1291
+ .qti-width-52 {
1292
+ width: 13rem;
1293
+ }
1294
+
1295
+ .qti-width-56 {
1296
+ width: 14rem;
1297
+ }
1298
+
1299
+ .qti-width-60 {
1300
+ width: 15rem;
1301
+ }
1302
+
1303
+ .qti-width-64 {
1304
+ width: 16rem;
1305
+ }
1306
+
1307
+ .qti-width-72 {
1308
+ width: 18rem;
1309
+ }
1310
+
1311
+ .qti-width-80 {
1312
+ width: 20rem;
1313
+ }
1314
+
1315
+ .qti-width-96 {
1316
+ width: 24rem;
1317
+ }
1318
+
1319
+ .qti-width-auto {
1320
+ width: auto;
1321
+ }
1322
+
1323
+ .qti-width-1-2 {
1324
+ width: 50%;
1325
+ }
1326
+
1327
+ .qti-width-1-3 {
1328
+ width: 33.3333%;
1329
+ }
1330
+
1331
+ .qti-width-2-3 {
1332
+ width: 66.6667%;
1333
+ }
1334
+
1335
+ .qti-width-1-4 {
1336
+ width: 25%;
1337
+ }
1338
+
1339
+ .qti-width-2-4 {
1340
+ width: 50%;
1341
+ }
1342
+
1343
+ .qti-width-3-4 {
1344
+ width: 75%;
1345
+ }
1346
+
1347
+ .qti-width-1-5 {
1348
+ width: 20%;
1349
+ }
1350
+
1351
+ .qti-width-2-5 {
1352
+ width: 40%;
1353
+ }
1354
+
1355
+ .qti-width-3-5 {
1356
+ width: 60%;
1357
+ }
1358
+
1359
+ .qti-width-4-5 {
1360
+ width: 80%;
1361
+ }
1362
+
1363
+ .qti-width-1-6 {
1364
+ width: 16.6667%;
1365
+ }
1366
+
1367
+ .qti-width-2-6 {
1368
+ width: 33.3333%;
1369
+ }
1370
+
1371
+ .qti-width-3-6 {
1372
+ width: 50%;
1373
+ }
1374
+
1375
+ .qti-width-4-6 {
1376
+ width: 66.6667%;
1377
+ }
1378
+
1379
+ .qti-width-5-6 {
1380
+ width: 83.3333%;
1381
+ }
1382
+
1383
+ .qti-width-1-12 {
1384
+ width: 8.3333%;
1385
+ }
1386
+
1387
+ .qti-width-2-12 {
1388
+ width: 16.6667%;
1389
+ }
1390
+
1391
+ .qti-width-3-12 {
1392
+ width: 25%;
1393
+ }
1394
+
1395
+ .qti-width-4-12 {
1396
+ width: 33.3333%;
1397
+ }
1398
+
1399
+ .qti-width-5-12 {
1400
+ width: 41.6667%;
1401
+ }
1402
+
1403
+ .qti-width-6-12 {
1404
+ width: 50%;
1405
+ }
1406
+
1407
+ .qti-width-7-12 {
1408
+ width: 58.3333%;
1409
+ }
1410
+
1411
+ .qti-width-8-12 {
1412
+ width: 66.6667%;
1413
+ }
1414
+
1415
+ .qti-width-9-12 {
1416
+ width: 75%;
1417
+ }
1418
+
1419
+ .qti-width-10-12 {
1420
+ width: 83.3333%;
1421
+ }
1422
+
1423
+ .qti-width-11-12 {
1424
+ width: 91.6667%;
1425
+ }
1426
+
1427
+ .qti-width-full,
1428
+ .qti-fullwidth {
1429
+ width: 100%;
1430
+ }
1431
+
1432
+ /* ==================
1433
+ Text Indent styles
1434
+ ================== */
1435
+
1436
+ .qti-text-indent-0 {
1437
+ text-indent: 0;
1438
+ }
1439
+
1440
+ .qti-text-indent-px {
1441
+ text-indent: 1px;
1442
+ }
1443
+
1444
+ .qti-text-indent-0p5 {
1445
+ text-indent: 0.125rem;
1446
+ }
1447
+
1448
+ .qti-text-indent-1 {
1449
+ text-indent: 0.25rem;
1450
+ }
1451
+
1452
+ .qti-text-indent-1p5 {
1453
+ text-indent: 0.375rem;
1454
+ }
1455
+
1456
+ .qti-text-indent-2 {
1457
+ text-indent: 0.5rem;
1458
+ }
1459
+
1460
+ .qti-text-indent-2p5 {
1461
+ text-indent: 0.625rem;
1462
+ }
1463
+
1464
+ .qti-text-indent-3 {
1465
+ text-indent: 0.75rem;
1466
+ }
1467
+
1468
+ .qti-text-indent-3p5 {
1469
+ text-indent: 0.875rem;
1470
+ }
1471
+
1472
+ .qti-text-indent-4 {
1473
+ text-indent: 1rem;
1474
+ }
1475
+
1476
+ .qti-text-indent-5 {
1477
+ text-indent: 1.25rem;
1478
+ }
1479
+
1480
+ .qti-text-indent-6 {
1481
+ text-indent: 1.5rem;
1482
+ }
1483
+
1484
+ .qti-text-indent-7 {
1485
+ text-indent: 1.75rem;
1486
+ }
1487
+
1488
+ .qti-text-indent-8 {
1489
+ text-indent: 2rem;
1490
+ }
1491
+
1492
+ .qti-text-indent-12 {
1493
+ text-indent: 3rem;
1494
+ }
1495
+
1496
+ .qti-text-indent-16 {
1497
+ text-indent: 4rem;
1498
+ }
1499
+
1500
+ .qti-text-indent-20 {
1501
+ text-indent: 5rem;
1502
+ }
1503
+
1504
+ .qti-text-indent-24 {
1505
+ text-indent: 6rem;
1506
+ }
1507
+
1508
+ .qti-text-indent-28 {
1509
+ text-indent: 7rem;
1510
+ }
1511
+
1512
+ .qti-text-indent-32 {
1513
+ text-indent: 8rem;
1514
+ }
1515
+
1516
+ /* =================
1517
+ List Style styles
1518
+ ================= */
1519
+
1520
+ .qti-list-style-type-none {
1521
+ list-style-type: none;
1522
+ }
1523
+
1524
+ .qti-list-style-type-disc {
1525
+ list-style-type: disc;
1526
+ }
1527
+
1528
+ .qti-list-style-type-circle {
1529
+ list-style-type: circle;
1530
+ }
1531
+
1532
+ .qti-list-style-type-square {
1533
+ list-style-type: square;
1534
+ }
1535
+
1536
+ .qti-list-style-type-decimal {
1537
+ list-style-type: decimal;
1538
+ }
1539
+
1540
+ .qti-list-style-type-decimal-leading-zero {
1541
+ list-style-type: decimal-leading-zero;
1542
+ }
1543
+
1544
+ .qti-list-style-type-lower-alpha {
1545
+ list-style-type: lower-alpha;
1546
+ }
1547
+
1548
+ .qti-list-style-type-upper-alpha {
1549
+ list-style-type: upper-alpha;
1550
+ }
1551
+
1552
+ .qti-list-style-type-lower-roman {
1553
+ list-style-type: lower-roman;
1554
+ }
1555
+
1556
+ .qti-list-style-type-upper-roman {
1557
+ list-style-type: upper-roman;
1558
+ }
1559
+
1560
+ .qti-list-style-type-lower-latin {
1561
+ list-style-type: lower-latin;
1562
+ }
1563
+
1564
+ .qti-list-style-type-upper-latin {
1565
+ list-style-type: upper-latin;
1566
+ }
1567
+
1568
+ .qti-list-style-type-lower-greek {
1569
+ list-style-type: lower-greek;
1570
+ }
1571
+
1572
+ .qti-list-style-type-arabic-indic {
1573
+ list-style-type: arabic-indic;
1574
+ }
1575
+
1576
+ .qti-list-style-type-armenian {
1577
+ list-style-type: armenian;
1578
+ }
1579
+
1580
+ .qti-list-style-type-lower-armenian {
1581
+ list-style-type: lower-armenian;
1582
+ }
1583
+
1584
+ .qti-list-style-type-upper-armenian {
1585
+ list-style-type: upper-armenian;
1586
+ }
1587
+
1588
+ .qti-list-style-type-bengali {
1589
+ list-style-type: bengali;
1590
+ }
1591
+
1592
+ .qti-list-style-type-cambodian {
1593
+ list-style-type: cambodian;
1594
+ }
1595
+
1596
+ .qti-list-style-type-simp-chinese-formal {
1597
+ list-style-type: simp-chinese-formal;
1598
+ }
1599
+
1600
+ .qti-list-style-type-simp-chinese-informal {
1601
+ list-style-type: simp-chinese-informal;
1602
+ }
1603
+
1604
+ .qti-list-style-type-trad-chinese-formal {
1605
+ list-style-type: trad-chinese-formal;
1606
+ }
1607
+
1608
+ .qti-list-style-type-trad-chinese-informal {
1609
+ list-style-type: trad-chinese-informal;
1610
+ }
1611
+
1612
+ .qti-list-style-type-cjk-ideographic {
1613
+ list-style-type: cjk-ideographic;
1614
+ }
1615
+
1616
+ .qti-list-style-type-cjk-heavenly-stem {
1617
+ list-style-type: cjk-heavenly-stem;
1618
+ }
1619
+
1620
+ .qti-list-style-type-cjk-earthly-branch {
1621
+ list-style-type: cjk-earthly-branch;
1622
+ }
1623
+
1624
+ .qti-list-style-type-devanagari {
1625
+ list-style-type: devanagari;
1626
+ }
1627
+
1628
+ .qti-list-style-type-ethiopic-halehame-ti-er {
1629
+ list-style-type: ethiopic-halehame-ti-er;
1630
+ }
1631
+
1632
+ .qti-list-style-type-ethiopic-halehame-ti-et {
1633
+ list-style-type: ethiopic-halehame-ti-et;
1634
+ }
1635
+
1636
+ .qti-list-style-type-ethiopic-halehame-am {
1637
+ list-style-type: ethiopic-halehame-am;
1638
+ }
1639
+
1640
+ .qti-list-style-type-ethiopic-halehame {
1641
+ list-style-type: ethiopic-halehame;
1642
+ }
1643
+
1644
+ .qti-list-style-type-georgian {
1645
+ list-style-type: georgian;
1646
+ }
1647
+
1648
+ .qti-list-style-type-gujarati {
1649
+ list-style-type: gujarati;
1650
+ }
1651
+
1652
+ .qti-list-style-type-gurmukhi {
1653
+ list-style-type: gurmukhi;
1654
+ }
1655
+
1656
+ .qti-list-style-type-hangul {
1657
+ list-style-type: hangul;
1658
+ }
1659
+
1660
+ .qti-list-style-type-hangul-consonant {
1661
+ list-style-type: hangul-consonant;
1662
+ }
1663
+
1664
+ .qti-list-style-type-hebrew {
1665
+ list-style-type: hebrew;
1666
+ }
1667
+
1668
+ .qti-list-style-type-hiragana {
1669
+ list-style-type: hiragana;
1670
+ }
1671
+
1672
+ .qti-list-style-type-hiragana-iroha {
1673
+ list-style-type: hiragana-iroha;
1674
+ }
1675
+
1676
+ .qti-list-style-type-khmer {
1677
+ list-style-type: khmer;
1678
+ }
1679
+
1680
+ .qti-list-style-type-korean-hangul-formal {
1681
+ list-style-type: korean-hangul-formal;
1682
+ }
1683
+
1684
+ .qti-list-style-type-korean-hanja-formal {
1685
+ list-style-type: korean-hanja-formal;
1686
+ }
1687
+
1688
+ .qti-list-style-type-korean-hanja-informal {
1689
+ list-style-type: korean-hanja-informal;
1690
+ }
1691
+
1692
+ .qti-list-style-type-lao {
1693
+ list-style-type: lao;
1694
+ }
1695
+
1696
+ .qti-list-style-type-malayalam {
1697
+ list-style-type: malayalam;
1698
+ }
1699
+
1700
+ .qti-list-style-type-mongolian {
1701
+ list-style-type: mongolian;
1702
+ }
1703
+
1704
+ .qti-list-style-type-myanmar {
1705
+ list-style-type: myanmar;
1706
+ }
1707
+
1708
+ .qti-list-style-type-oriya {
1709
+ list-style-type: oriya;
1710
+ }
1711
+
1712
+ .qti-list-style-type-persian {
1713
+ list-style-type: persian;
1714
+ }
1715
+
1716
+ .qti-list-style-type-thai {
1717
+ list-style-type: thai;
1718
+ }
1719
+
1720
+ .qti-list-style-type-tibetan {
1721
+ list-style-type: tibetan;
1722
+ }
1723
+
1724
+ .qti-list-style-type-telugu {
1725
+ list-style-type: telugu;
1726
+ }
1727
+
1728
+ .qti-list-style-type-urdu {
1729
+ list-style-type: urdu;
1730
+ }
1731
+
1732
+ /* =========================
1733
+ Other QTI 3 Presentation Utilities
1734
+ ========================= */
1735
+
1736
+ .qti-bordered {
1737
+ border: 1px solid var(--table-border-color);
1738
+ }
1739
+
1740
+ .qti-underline {
1741
+ text-decoration: underline;
1742
+ text-decoration-color: var(--foreground);
1743
+ }
1744
+
1745
+ .qti-italic {
1746
+ font-style: italic;
1747
+ }
1748
+
1749
+ .qti-well {
1750
+ min-height: 20px;
1751
+ padding: 19px;
1752
+ margin-bottom: 20px;
1753
+ background-color: var(--well-bg);
1754
+ border: var(--well-border);
1755
+ border-radius: 4px;
1756
+ box-shadow: var(--well-box-shadow);
1757
+ }
1758
+
1759
+ /* Set writing-mode to vertical-rl
1760
+ Typical for CJK vertical text */
1761
+
1762
+ .qti-writing-mode-vertical-rl {
1763
+ writing-mode: vertical-rl;
1764
+ }
1765
+
1766
+ /* Set writing-mode to vertical-lr
1767
+ Typical for Mongolian vertical text */
1768
+
1769
+ .qti-writing-mode-vertical-lr {
1770
+ writing-mode: vertical-lr;
1771
+ }
1772
+
1773
+ /* Set writing-mode to horizontal-tb
1774
+ Browser default */
1775
+
1776
+ .qti-writing-mode-horizontal-tb {
1777
+ writing-mode: horizontal-tb;
1778
+ }
1779
+
1780
+ /* Float an element left */
1781
+
1782
+ .qti-float-left {
1783
+ float: left;
1784
+ }
1785
+
1786
+ /* Float an element right */
1787
+
1788
+ .qti-float-right {
1789
+ float: right;
1790
+ }
1791
+
1792
+ /* Remove a float */
1793
+
1794
+ .qti-float-none {
1795
+ float: none;
1796
+ }
1797
+
1798
+ /* Clearfix Hack to apply to a container of
1799
+ floated content that overflows the container. */
1800
+
1801
+ .qti-float-clearfix::after {
1802
+ content: '';
1803
+ clear: both;
1804
+ display: table;
1805
+ }
1806
+
1807
+ .qti-float-clear-left
1808
+ .qti-float-clear-right
1809
+ .qti-float-clear-both
1810
+
1811
+ /* Set text-orientation to upright */
1812
+ .qti-text-orientation-upright {
1813
+ text-orientation: upright;
1814
+ }
1815
+
1816
+ /* stylelint-disable number-max-precision */
1817
+
1818
+ @layer qti-base {
1819
+ .qti-layout-row {
1820
+ display: flex;
1821
+ flex-wrap: wrap;
1822
+ width: 100%;
1823
+ gap: 2.1276595745%;
1824
+ }
1825
+
1826
+ .qti-layout-row [class*='qti-layout-col']:not(:empty) {
1827
+ box-sizing: border-box;
1828
+ }
1829
+
1830
+ .qti-layout-row [class*='qti-layout-col']:empty {
1831
+ width: 0;
1832
+ overflow: hidden; /* to fully collapse if there\u2019s padding or borders */
1833
+ }
1834
+
1835
+ .qti-layout-col1 {
1836
+ width: 6.3829787234%;
1837
+ }
1838
+
1839
+ .qti-layout-col2 {
1840
+ width: 14.8936170213%;
1841
+ }
1842
+
1843
+ .qti-layout-col3 {
1844
+ width: 23.4042553191%;
1845
+ }
1846
+
1847
+ .qti-layout-col4 {
1848
+ width: 31.914893617%;
1849
+ }
1850
+
1851
+ .qti-layout-col5 {
1852
+ width: 40.4255319149%;
1853
+ }
1854
+
1855
+ .qti-layout-col6 {
1856
+ width: 48.9361702128%;
1857
+ }
1858
+
1859
+ .qti-layout-col7 {
1860
+ width: 57.4468085106%;
1861
+ }
1862
+
1863
+ .qti-layout-col8 {
1864
+ width: 65.9574468085%;
1865
+ }
1866
+
1867
+ .qti-layout-col9 {
1868
+ width: 74.4680851064%;
1869
+ }
1870
+
1871
+ .qti-layout-col10 {
1872
+ width: 82.9787234043%;
1873
+ }
1874
+
1875
+ .qti-layout-col11 {
1876
+ width: 91.4893617021%;
1877
+ }
1878
+
1879
+ .qti-layout-col12 {
1880
+ width: 100%;
1881
+ }
1882
+
1883
+ .qti-layout-offset1 {
1884
+ margin-left: 8.5106382979%;
1885
+ }
1886
+
1887
+ .qti-layout-offset2 {
1888
+ margin-left: 17.0212765957%;
1889
+ }
1890
+
1891
+ .qti-layout-offset3 {
1892
+ margin-left: 25.5319148936%;
1893
+ }
1894
+
1895
+ .qti-layout-offset4 {
1896
+ margin-left: 34.0425531915%;
1897
+ }
1898
+
1899
+ .qti-layout-offset5 {
1900
+ margin-left: 42.5531914894%;
1901
+ }
1902
+
1903
+ .qti-layout-offset6 {
1904
+ margin-left: 51.0638297872%;
1905
+ }
1906
+
1907
+ .qti-layout-offset7 {
1908
+ margin-left: 59.5744680851%;
1909
+ }
1910
+
1911
+ .qti-layout-offset8 {
1912
+ margin-left: 68.085106383%;
1913
+ }
1914
+
1915
+ .qti-layout-offset9 {
1916
+ margin-left: 76.5957446809%;
1917
+ }
1918
+
1919
+ .qti-layout-offset10 {
1920
+ margin-left: 85.1063829787%;
1921
+ }
1922
+
1923
+ .qti-layout-offset11 {
1924
+ margin-left: 93.6170212766%;
1925
+ }
1926
+
1927
+ .qti-layout-offset12 {
1928
+ margin-left: 102.1276595745%;
1929
+ }
1930
+
1931
+ @media (width <= 767px) {
1932
+ [class*='qti-layout-col'] {
1933
+ width: 100%;
1934
+ }
1935
+ }
1936
+ }
1937
+
1938
+ [view],
1939
+ qti-outcome-declaration,
1940
+ qti-response-declaration {
1941
+ display: none;
1942
+ }
1943
+
1944
+ [view].show {
1945
+ display: block;
1946
+ }
1947
+
1948
+ :host {
1949
+ box-sizing: border-box;
1950
+ }
1951
+
1952
+ *,
1953
+ *::before,
1954
+ *::after {
1955
+ box-sizing: inherit;
1956
+ }
1957
+
1958
+ /* components */
1959
+
1960
+ @layer qti-components {
1961
+ qti-choice-interaction {
1962
+ &.qti-input-control-hidden {
1963
+ & qti-simple-choice {
1964
+ position: relative; /* Add position relative here instead of a separate rule */
1965
+
1966
+ &:hover {
1967
+ }
1968
+
1969
+ &:focus {
1970
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
1971
+ }
1972
+
1973
+ &::part(ch) {
1974
+ display: none;
1975
+ }
1976
+
1977
+ &:state(--checked),
1978
+ &[aria-checked='true'] {
1979
+ border-color: var(--qti-border-active);
1980
+ background-color: var(--qti-bg-active);
1981
+ }
1982
+
1983
+ &:state(readonly),
1984
+ &[aria-readonly='true'] {
1985
+ cursor: pointer;
1986
+ background-color: var(--qti-bg);
1987
+ outline: 0;
1988
+ border: none;
1989
+ }
1990
+
1991
+ &:state(disabled),
1992
+ &[aria-disabled='true'] {
1993
+ cursor: not-allowed;
1994
+ background-color: var(--qti-disabled-bg);
1995
+ color: var(--qti-disabled-color);
1996
+ border-color: var(--qti-border-color);
1997
+ outline: 4px solid var(--qti-disabled-bg);
1998
+ }
1999
+
2000
+ /* Add styling for correct responses with border instead of checkmark */
2001
+ &:state(correct-response),
2002
+ &[data-correct-response='true'] {
2003
+ border: 3px solid var(--qti-correct) !important;
2004
+ padding-right: 30px;
2005
+
2006
+ &::after {
2007
+ content: '\\02714';
2008
+ color: var(--qti-correct);
2009
+ position: absolute;
2010
+ top: 5px;
2011
+ right: 5px;
2012
+ font-size: 1.2em;
2013
+ font-weight: bold;
2014
+ }
2015
+ }
2016
+ border-radius: var(--qti-border-radius);
2017
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2018
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2019
+ outline: none
2020
+ }
2021
+ }
2022
+
2023
+ &:not(.qti-input-control-hidden) {
2024
+ & qti-simple-choice {
2025
+
2026
+ &:not([aria-disabled='true'], [aria-readonly='true'], :state(--checked)):hover {
2027
+ }
2028
+
2029
+ &:focus {
2030
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2031
+ }
2032
+
2033
+ &:state(--checked),
2034
+ &[aria-checked='true'] {
2035
+ border-color: var(--qti-border-active);
2036
+ background-color: var(--qti-bg-active);
2037
+ }
2038
+
2039
+ &:state(candidate-correct) {
2040
+ background-color: var(--qti-correct);
2041
+ }
2042
+
2043
+ &:state(candidate-incorrect) {
2044
+ background-color: var(--qti-incorrect);
2045
+ }
2046
+
2047
+ &:state(readonly),
2048
+ &[aria-readonly='true'] {
2049
+ cursor: pointer;
2050
+ background-color: var(--qti-bg);
2051
+ outline: 0;
2052
+ border: none;
2053
+ }
2054
+
2055
+ &:state(disabled),
2056
+ &[aria-disabled='true'] {
2057
+ cursor: not-allowed;
2058
+ background-color: var(--qti-disabled-bg);
2059
+ color: var(--qti-disabled-color);
2060
+ border-color: var(--qti-border-color);
2061
+ outline: 4px solid var(--qti-disabled-bg);
2062
+ }
2063
+
2064
+ &::part(cha) {
2065
+ width: calc(var(--qti-form-size) - 6px);
2066
+ height: calc(var(--qti-form-size) - 6px);
2067
+ }
2068
+
2069
+ &:state(radio)::part(ch) {
2070
+ border-radius: 100%;
2071
+ display: grid;
2072
+ place-content: center;
2073
+ width: var(--qti-form-size);
2074
+ height: var(--qti-form-size);
2075
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2076
+ outline: none;
2077
+ }
2078
+
2079
+ &:state(radio):state(--checked)::part(cha) {
2080
+ background-color: var(--qti-border-active);
2081
+ border-radius: 100%;
2082
+ }
2083
+
2084
+ &:state(checkbox)::part(ch) {
2085
+ display: flex;
2086
+ place-items: center;
2087
+ border-radius: var(--qti-border-radius);
2088
+ display: grid;
2089
+ place-content: center;
2090
+ width: var(--qti-form-size);
2091
+ height: var(--qti-form-size);
2092
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2093
+ outline: none;
2094
+ }
2095
+
2096
+ &:state(checkbox):state(--checked)::part(cha) {
2097
+ background-color: var(--qti-border-active);
2098
+ -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");
2099
+ 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");
2100
+ }
2101
+
2102
+ gap: 0.5rem;
2103
+
2104
+ background-color: var(--qti-bg);
2105
+
2106
+ border-radius: var(--qti-border-radius);
2107
+
2108
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2109
+
2110
+ outline: none;
2111
+
2112
+ cursor: pointer
2113
+ }
2114
+ }
2115
+
2116
+ /* stylelint-disable-next-line no-descending-specificity */
2117
+ & qti-simple-choice {
2118
+ width: -moz-fit-content;
2119
+ width: fit-content;
2120
+ cursor: pointer;
2121
+
2122
+ /* Keep the checkmark for non-hidden input controls */
2123
+ &:state(correct-response),
2124
+ &[data-correct-response='true'] {
2125
+ /* stylelint-disable-next-line no-descending-specificity */
2126
+ &::after {
2127
+ content: '\\02714';
2128
+ color: var(--qti-correct);
2129
+ }
2130
+ }
2131
+ }
2132
+
2133
+ & qti-simple-choice > p {
2134
+ margin: 0 !important;
2135
+ padding: 0 !important;
2136
+ }
2137
+ }
2138
+
2139
+ .hover-border {
2140
+ border: 2px solid #000; /* Adjust the border style and color as needed */
2141
+ }
2142
+
2143
+ qti-graphic-gap-match-interaction {
2144
+ position: relative;
2145
+
2146
+ &.qti-selections-light {
2147
+ &:state(--dragzone-active)::part(drags) {
2148
+ background-color: var(--qti-light-bg-active);
2149
+ border-color: var(--qti-light-border-active);
2150
+ }
2151
+
2152
+ &:state(--dragzone-enabled)::part(drags) {
2153
+ background-color: var(--qti-light-bg-active);
2154
+ }
2155
+ }
2156
+
2157
+ &.qti-selections-dark {
2158
+ &:state(--dragzone-active)::part(drags) {
2159
+ background-color: var(--qti-dark-bg-active);
2160
+ border-color: var(--qti-dark-border-active);
2161
+ }
2162
+
2163
+ &:state(--dragzone-enabled)::part(drags) {
2164
+ background-color: var(--qti-dark-bg-active);
2165
+ }
2166
+ }
2167
+
2168
+ /* General styles for active and enabled states */
2169
+ &:state(--dragzone-active)::part(drags) {
2170
+ border-color: var(--qti-border-active);
2171
+ background-color: var(--qti-bg-active);
2172
+ }
2173
+
2174
+ &:state(--dragzone-enabled)::part(drags) {
2175
+ background-color: var(--qti-bg-active);
2176
+ }
2177
+
2178
+ & qti-gap-img,
2179
+ qti-gap-text {
2180
+ display: flex;
2181
+ justify-content: center;
2182
+ align-items: center;
2183
+ cursor: grab;
2184
+ }
2185
+
2186
+ & qti-associable-hotspot {
2187
+ display: flex;
2188
+ justify-content: center;
2189
+ align-items: center;
2190
+ border: 2px solid transparent;
2191
+
2192
+ &[enabled] {
2193
+
2194
+ /* Light theme override */
2195
+ .qti-selections-light {
2196
+ background-color: var(--qti-light-bg-active);
2197
+ }
2198
+
2199
+ /* Dark theme override */
2200
+ .qti-selections-dark {
2201
+ background-color: var(--qti-dark-bg-active);
2202
+ }
2203
+ background-color: var(--qti-bg-active)
2204
+ }
2205
+
2206
+ &[active] {
2207
+
2208
+ /* Light theme override */
2209
+ .qti-selections-light {
2210
+ background-color: var(--qti-light-bg-active);
2211
+ border-color: var(--qti-light-border-active);
2212
+ }
2213
+
2214
+ /* Dark theme override */
2215
+ .qti-selections-dark {
2216
+ background-color: var(--qti-dark-bg-active);
2217
+ border-color: var(--qti-dark-border-active);
2218
+ }
2219
+ border-color: var(--qti-border-active);
2220
+ background-color: var(--qti-bg-active)
2221
+ }
2222
+
2223
+ &[disabled] {
2224
+
2225
+ &:not(:empty) {
2226
+ cursor: default !important;
2227
+ }
2228
+
2229
+ cursor: not-allowed;
2230
+
2231
+ background-color: var(--qti-disabled-bg);
2232
+
2233
+ color: var(--qti-disabled-color);
2234
+
2235
+ border-color: var(--qti-border-color);
2236
+
2237
+ outline: 4px solid var(--qti-disabled-bg)
2238
+ }
2239
+
2240
+ &:empty::after {
2241
+ padding: var(--qti-padding-md) var(--qti-padding-lg); /* Padding shorthand */
2242
+ content: '\\0000a0'; /* when empty, put a space in it */
2243
+ }
2244
+
2245
+ &:not(:empty) {
2246
+ padding: 0;
2247
+ width: auto;
2248
+ }
2249
+
2250
+ &:not(:empty) > * {
2251
+ flex: 1;
2252
+ transform: rotate(0); /* rotate-0 */
2253
+ box-shadow: 0 0 0 1px #e5e7eb; /* ring-gray-200 */
2254
+ }
2255
+ }
2256
+
2257
+ & img {
2258
+ margin: 0;
2259
+ padding: 0;
2260
+ }
2261
+ }
2262
+
2263
+ qti-text-entry-interaction {
2264
+ &:state(candidate-correct) {
2265
+ &::part(input) {
2266
+ background-color: var(--qti-correct);
2267
+ }
2268
+ }
2269
+
2270
+ &:state(candidate-partially-correct) {
2271
+ &::part(input) {
2272
+ background-color: var(--qti-partially-correct);
2273
+ }
2274
+ }
2275
+
2276
+ &:state(candidate-incorrect) {
2277
+ &::part(input) {
2278
+ background-color: var(--qti-incorrect);
2279
+ }
2280
+ }
2281
+
2282
+ &::part(input) {
2283
+ border-radius: 0;
2284
+ cursor: text;
2285
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2286
+ background: var(--qti-bg);
2287
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2288
+ outline: none;
2289
+ }
2290
+
2291
+ &:hover {
2292
+ }
2293
+
2294
+ &:focus-within {
2295
+ &::part(input) {
2296
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2297
+ border-color: var(--qti-border-active);
2298
+ }
2299
+ }
2300
+ }
2301
+
2302
+ qti-extended-text-interaction {
2303
+ &::part(textarea) {
2304
+ border-radius: 0;
2305
+ cursor: text;
2306
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2307
+ background: var(--qti-bg);
2308
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2309
+ outline: none;
2310
+ }
2311
+
2312
+ &:hover {
2313
+ }
2314
+
2315
+ &:focus-within {
2316
+ &::part(textarea) {
2317
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2318
+ border-color: var(--qti-border-active);
2319
+ }
2320
+ }
2321
+ }
2322
+
2323
+ qti-gap-match-interaction {
2324
+ &.qti-selections-light {
2325
+ &:state(--dragzone-active)::part(drags) {
2326
+ background-color: var(--qti-light-bg-active);
2327
+ border-color: var(--qti-light-border-active);
2328
+ }
2329
+
2330
+ &:state(--dragzone-enabled)::part(drags) {
2331
+ background-color: var(--qti-light-bg-active);
2332
+ }
2333
+ }
2334
+
2335
+ &.qti-selections-dark {
2336
+ &:state(--dragzone-active)::part(drags) {
2337
+ background-color: var(--qti-dark-bg-active);
2338
+ border-color: var(--qti-dark-border-active);
2339
+ }
2340
+
2341
+ &:state(--dragzone-enabled)::part(drags) {
2342
+ background-color: var(--qti-dark-bg-active);
2343
+ }
2344
+ }
2345
+
2346
+ /* General styles for active and enabled states */
2347
+ &:state(--dragzone-active)::part(drags) {
2348
+ border-color: var(--qti-border-active);
2349
+ background-color: var(--qti-bg-active);
2350
+ }
2351
+
2352
+ &:state(--dragzone-enabled)::part(drags) {
2353
+ background-color: var(--qti-bg-active);
2354
+ }
2355
+
2356
+ & qti-gap-text {
2357
+
2358
+ &[dragging] {
2359
+ pointer-events: none;
2360
+ rotate: -2deg;
2361
+ box-shadow: 0 8px 12px rgb(0 0 0 / 20%),
2362
+ 0 4px 8px rgb(0 0 0 / 10%);
2363
+ }
2364
+
2365
+ &:hover {
2366
+ }
2367
+
2368
+ &:focus {
2369
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2370
+ }
2371
+
2372
+ transition: transform 200ms ease-out,
2373
+ box-shadow 200ms ease-out,
2374
+ rotate 200ms ease-out;
2375
+
2376
+ cursor: grab;
2377
+
2378
+ background-color: var(--qti-bg);
2379
+
2380
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2381
+
2382
+ border-radius: var(--qti-border-radius);
2383
+
2384
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2385
+
2386
+ outline: none
2387
+ }
2388
+
2389
+ & qti-gap {
2390
+
2391
+ &[disabled] {
2392
+
2393
+ &:not(:empty) {
2394
+ cursor: default !important;
2395
+ }
2396
+
2397
+ cursor: not-allowed;
2398
+
2399
+ background-color: var(--qti-disabled-bg);
2400
+
2401
+ color: var(--qti-disabled-color);
2402
+
2403
+ border-color: var(--qti-border-color);
2404
+
2405
+ outline: 4px solid var(--qti-disabled-bg)
2406
+ }
2407
+
2408
+ &[enabled] {
2409
+
2410
+ /* Light theme override */
2411
+ .qti-selections-light {
2412
+ border-color: var(--qti-light-border-active);
2413
+ }
2414
+
2415
+ /* Dark theme override */
2416
+ .qti-selections-dark {
2417
+ border-color: var(--qti-dark-border-active);
2418
+ }
2419
+ background-color: var(--qti-bg-active)
2420
+ }
2421
+
2422
+ &[active] {
2423
+
2424
+ /* Light theme override */
2425
+ .qti-selections-light {
2426
+ background-color: var(--qti-light-bg-active);
2427
+ border-color: var(--qti-light-border-active);
2428
+ }
2429
+
2430
+ /* Dark theme override */
2431
+ .qti-selections-dark {
2432
+ background-color: var(--qti-dark-bg-active);
2433
+ border-color: var(--qti-dark-border-active);
2434
+ }
2435
+ border-color: var(--qti-border-active);
2436
+ background-color: var(--qti-bg-active)
2437
+ }
2438
+
2439
+ display: inline-flex;
2440
+ align-items: center;
2441
+
2442
+ &:empty::after {
2443
+ padding: var(--qti-padding-md) var(--qti-padding-lg); /* Padding shorthand */
2444
+ content: '\\0000a0'; /* when empty, put a space in it */
2445
+ }
2446
+
2447
+ &:not(:empty) {
2448
+ display: inline-flex;
2449
+ padding: 0;
2450
+ width: auto;
2451
+ }
2452
+
2453
+ &:not(:empty) > * {
2454
+ flex: 1;
2455
+ transform: rotate(0); /* rotate-0 */
2456
+ box-shadow: 0 0 0 1px #e5e7eb; /* ring-gray-200 */
2457
+ }
2458
+
2459
+ border: var(--qti-border-thickness) dashed var(--qti-border-color);
2460
+
2461
+ background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="7" stroke="%23CCCCCC" stroke-width="1" fill="transparent" /></svg>')
2462
+ center no-repeat;
2463
+
2464
+ border-radius: var(--qti-border-radius);
2465
+
2466
+ position: relative;
2467
+
2468
+ background-color: var(--qti-bg)
2469
+ }
2470
+ }
2471
+
2472
+ qti-hotspot-interaction {
2473
+ & qti-hotspot-choice {
2474
+ &[shape='circle'] {
2475
+
2476
+ &:hover {
2477
+ }
2478
+
2479
+ &:focus {
2480
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2481
+ }
2482
+
2483
+ &:state(--checked),
2484
+ &[aria-checked='true'] {
2485
+ border-color: var(--qti-border-active);
2486
+ }
2487
+
2488
+ &:state(--readonly),
2489
+ &[aria-readonly='true'] {
2490
+ cursor: pointer;
2491
+ background-color: var(--qti-bg);
2492
+ outline: 0;
2493
+ border: none;
2494
+ }
2495
+
2496
+ &:state(--disabled),
2497
+ &[aria-disabled='true'] {
2498
+ cursor: not-allowed;
2499
+ background-color: var(--qti-disabled-bg);
2500
+ color: var(--qti-disabled-color);
2501
+ border-color: var(--qti-border-color);
2502
+ outline: 4px solid var(--qti-disabled-bg);
2503
+ }
2504
+
2505
+ width: 100%;
2506
+
2507
+ height: 100%;
2508
+
2509
+ background-color: transparent;
2510
+
2511
+ padding: 0;
2512
+
2513
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2514
+
2515
+ outline: none
2516
+ }
2517
+
2518
+ &[shape='rect'] {
2519
+
2520
+ /* &:hover {
2521
+ @apply hov;
2522
+ } */
2523
+
2524
+ &:focus {
2525
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2526
+ }
2527
+
2528
+ &:state(--checked),
2529
+ &[aria-checked='true'] {
2530
+ border-color: var(--qti-border-active);
2531
+ }
2532
+
2533
+ &[aria-readonly='true'] {
2534
+ cursor: pointer;
2535
+ background-color: var(--qti-bg);
2536
+ outline: 0;
2537
+ border: none;
2538
+ }
2539
+
2540
+ &[aria-disabled='true'] {
2541
+ cursor: not-allowed;
2542
+ background-color: var(--qti-disabled-bg);
2543
+ color: var(--qti-disabled-color);
2544
+ border-color: var(--qti-border-color);
2545
+ outline: 4px solid var(--qti-disabled-bg);
2546
+ }
2547
+
2548
+ width: 100%;
2549
+
2550
+ height: 100%;
2551
+
2552
+ background-color: transparent;
2553
+
2554
+ padding: 0;
2555
+
2556
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2557
+
2558
+ outline: none
2559
+ }
2560
+
2561
+ &[shape='poly'] {
2562
+ &:hover::after {
2563
+ content: '';
2564
+ width: 100%;
2565
+ height: 100%;
2566
+ background: repeating-linear-gradient(
2567
+ 45deg,
2568
+ var(--qti-border-active),
2569
+ var(--qti-border-active) 5px,
2570
+ transparent 5px,
2571
+ transparent 10px
2572
+ );
2573
+ display: block;
2574
+ }
2575
+
2576
+ &:state(--checked)::after,
2577
+ &[aria-checked='true']::after {
2578
+ content: '';
2579
+ width: 100%;
2580
+ height: 100%;
2581
+ background: repeating-linear-gradient(
2582
+ 45deg,
2583
+ transparent,
2584
+ transparent 5px,
2585
+ var(--qti-border-active) 5px,
2586
+ var(--qti-border-active) 10px
2587
+ );
2588
+ display: block;
2589
+ }
2590
+
2591
+ &[aria-readonly='true'] {
2592
+ cursor: pointer;
2593
+ background-color: var(--qti-bg);
2594
+ outline: 0;
2595
+ border: none;
2596
+ }
2597
+
2598
+ &[aria-disabled='true'] {
2599
+ cursor: not-allowed;
2600
+ background-color: var(--qti-disabled-bg);
2601
+ color: var(--qti-disabled-color);
2602
+ border-color: var(--qti-border-color);
2603
+ outline: 4px solid var(--qti-disabled-bg);
2604
+ }
2605
+ }
2606
+ }
2607
+ }
2608
+
2609
+ qti-hottext-interaction {
2610
+ /* &:not(.qti-input-control-hidden),
2611
+ &:not(.qti-unselected-hidden) { */
2612
+ qti-hottext {
2613
+ display: inline-flex;
2614
+ align-items: center;
2615
+
2616
+ &:hover {
2617
+ }
2618
+
2619
+ &:focus {
2620
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2621
+ }
2622
+
2623
+ &::part(cha) {
2624
+ width: calc(var(--qti-form-size) - 6px);
2625
+ height: calc(var(--qti-form-size) - 6px);
2626
+ }
2627
+
2628
+ &:state(radio)::part(ch) {
2629
+ border-radius: 100%;
2630
+ display: grid;
2631
+ place-content: center;
2632
+ width: var(--qti-form-size);
2633
+ height: var(--qti-form-size);
2634
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2635
+ outline: none;
2636
+ }
2637
+
2638
+ &:state(radio):state(--checked)::part(cha) {
2639
+ background-color: var(--qti-border-active);
2640
+ border-radius: 100%;
2641
+ }
2642
+
2643
+ &:state(checkbox)::part(ch) {
2644
+ display: flex;
2645
+ place-items: center;
2646
+ border-radius: var(--qti-border-radius);
2647
+ display: grid;
2648
+ place-content: center;
2649
+ width: var(--qti-form-size);
2650
+ height: var(--qti-form-size);
2651
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2652
+ outline: none;
2653
+ }
2654
+
2655
+ &:state(checkbox):state(--checked)::part(cha) {
2656
+ background-color: var(--qti-border-active);
2657
+ -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");
2658
+ 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");
2659
+ }
2660
+
2661
+ &:state(correct-response),
2662
+ &[data-correct-response='true'] {
2663
+ &::after {
2664
+ content: '\\02714';
2665
+ color: #16a34a; /* text-green-600 */
2666
+ }
2667
+ }
2668
+
2669
+ gap: 0.5rem;
2670
+
2671
+ background-color: var(--qti-bg);
2672
+
2673
+ border-radius: var(--qti-border-radius);
2674
+
2675
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2676
+
2677
+ outline: none;
2678
+
2679
+ cursor: pointer
2680
+ }
2681
+
2682
+ &.qti-input-control-hidden {
2683
+ qti-hottext {
2684
+ /* --qti-padding-md: 0.1rem;
2685
+ --qti-padding-lg: 0.2rem;
2686
+ --qti-border-radius-md: 0.3rem;
2687
+ --qti-border-thickness: 1px;
2688
+ --qti-font-weight-semibold: 400; */
2689
+
2690
+ &:hover {
2691
+ }
2692
+
2693
+ &:focus {
2694
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2695
+ }
2696
+
2697
+ /* @layer qti-variants { */
2698
+ &::part(ch) {
2699
+ display: none;
2700
+ }
2701
+
2702
+ &:state(--checked) {
2703
+ border-color: var(--qti-border-active);
2704
+ background-color: var(--qti-bg-active);
2705
+ }
2706
+
2707
+ &[aria-readonly='true'] {
2708
+ cursor: pointer;
2709
+ background-color: var(--qti-bg);
2710
+ outline: 0;
2711
+ border: none;
2712
+ }
2713
+
2714
+ &[aria-disabled='true'] {
2715
+ cursor: not-allowed;
2716
+ background-color: var(--qti-disabled-bg);
2717
+ color: var(--qti-disabled-color);
2718
+ border-color: var(--qti-border-color);
2719
+ outline: 4px solid var(--qti-disabled-bg);
2720
+ }
2721
+
2722
+ border-radius: var(--qti-border-radius);
2723
+
2724
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2725
+
2726
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2727
+
2728
+ outline: none
2729
+ }
2730
+
2731
+ /* } */
2732
+ }
2733
+
2734
+ &.qti-unselected-hidden {
2735
+ qti-hottext {
2736
+ &:hover {
2737
+ }
2738
+
2739
+ &:focus {
2740
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2741
+ }
2742
+
2743
+ cursor: pointer;
2744
+
2745
+ &::part(ch) {
2746
+ display: none;
2747
+ }
2748
+
2749
+ &:state(--checked) {
2750
+ background-color: var(--qti-bg-active);
2751
+ }
2752
+
2753
+ &[aria-readonly='true'] {
2754
+ cursor: pointer;
2755
+ background-color: var(--qti-bg);
2756
+ outline: 0;
2757
+ border: none;
2758
+ }
2759
+
2760
+ &[aria-disabled='true'] {
2761
+ cursor: not-allowed;
2762
+ background-color: var(--qti-disabled-bg);
2763
+ color: var(--qti-disabled-color);
2764
+ border-color: var(--qti-border-color);
2765
+ outline: 4px solid var(--qti-disabled-bg);
2766
+ }
2767
+ }
2768
+ }
2769
+ }
2770
+
2771
+ qti-inline-choice-interaction {
2772
+ &:state(candidate-correct) {
2773
+ background-color: var(--qti-correct);
2774
+ }
2775
+
2776
+ &:state(candidate-incorrect) {
2777
+ background-color: var(--qti-incorrect);
2778
+ }
2779
+
2780
+ &::part(select) {
2781
+
2782
+ &:hover {
2783
+ }
2784
+
2785
+ &:focus {
2786
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2787
+ }
2788
+
2789
+ border-radius: var(--qti-border-radius);
2790
+
2791
+ position: relative;
2792
+
2793
+ -webkit-appearance: none;
2794
+
2795
+ -moz-appearance: none;
2796
+
2797
+ appearance: none;
2798
+
2799
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2800
+
2801
+ padding-right: calc(var(--qti-padding-horizontal) + 1.5rem);
2802
+
2803
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2804
+
2805
+ outline: none;
2806
+
2807
+ 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")
2808
+ no-repeat center right 6px
2809
+ }
2810
+ }
2811
+
2812
+ qti-match-interaction.qti-match-tabular {
2813
+ /* Table element */
2814
+ &::part(table) {
2815
+ border-collapse: collapse;
2816
+ width: 100%;
2817
+ table-layout: fixed;
2818
+ }
2819
+
2820
+ /* Row headers */
2821
+ &::part(r-header) {
2822
+ background-color: var(--qti-bg-active, #f8f8f8);
2823
+ font-weight: 500;
2824
+ text-align: center;
2825
+ padding: 8px;
2826
+ border: 1px solid #ddd;
2827
+ }
2828
+
2829
+ /* Column headers */
2830
+ &::part(c-header) {
2831
+ background-color: var(--qti-bg-active, #f8f8f8);
2832
+ font-weight: 500;
2833
+ text-align: left;
2834
+ padding: 8px 15px;
2835
+ border: 1px solid #ddd;
2836
+ }
2837
+
2838
+ /* Table rows */
2839
+ &::part(row) {
2840
+ border-bottom: 1px solid #ddd;
2841
+ }
2842
+
2843
+ /* Input cells */
2844
+ &::part(input-cell) {
2845
+ text-align: center;
2846
+ vertical-align: middle;
2847
+ height: 48px;
2848
+ border: 1px solid #ddd;
2849
+ padding: 8px;
2850
+ }
2851
+
2852
+ /* Radio button styling */
2853
+ &::part(rb) {
2854
+ -webkit-appearance: none;
2855
+ -moz-appearance: none;
2856
+ appearance: none;
2857
+ width: 24px;
2858
+ height: 24px;
2859
+ border-radius: 50%;
2860
+ border: 2px solid var(--qti-border-active, #2196f3);
2861
+ background-color: transparent !important;
2862
+ margin: 0 auto;
2863
+ cursor: pointer;
2864
+ display: block;
2865
+ }
2866
+
2867
+ /* Radio button checked state */
2868
+ &::part(rb-checked) {
2869
+ box-shadow: inset 0 0 0 6px var(--qti-border-active, #2196f3);
2870
+ }
2871
+
2872
+ /* Checkbox styling */
2873
+ &::part(cb) {
2874
+ -webkit-appearance: none;
2875
+ -moz-appearance: none;
2876
+ appearance: none;
2877
+ width: 24px;
2878
+ height: 24px;
2879
+ border-radius: 3px;
2880
+ border: 2px solid var(--qti-border-active, #2196f3);
2881
+ background-color: transparent !important;
2882
+ margin: 0 auto;
2883
+ cursor: pointer;
2884
+ display: block;
2885
+ }
2886
+
2887
+ /* Checkbox checked state - only change border if we're adding an SVG checkmark */
2888
+ &::part(cb-checked) {
2889
+ background-color: var(--qti-border-active, #2196f3) !important;
2890
+ }
2891
+
2892
+ &::part(checkmark) {
2893
+ position: absolute;
2894
+ width: 18px;
2895
+ height: 18px;
2896
+ top: 3px;
2897
+ left: 3px;
2898
+ pointer-events: none;
2899
+ }
2900
+
2901
+ /* Correct answers for both types */
2902
+ &::part(rb-correct) {
2903
+ border-color: var(--qti-correct, #4caf50);
2904
+ }
2905
+
2906
+ &::part(rb-checked rb-correct) {
2907
+ box-shadow: inset 0 0 0 6px var(--qti-correct, #4caf50);
2908
+ }
2909
+
2910
+ &::part(cb-correct) {
2911
+ border-color: var(--qti-correct, #4caf50);
2912
+ }
2913
+
2914
+ &::part(cb-checked cb-correct) {
2915
+ background-color: var(--qti-correct, #4caf50) !important;
2916
+ }
2917
+
2918
+ /* Incorrect answers for both types */
2919
+ &::part(rb-incorrect) {
2920
+ border-color: var(--qti-incorrect, #f44336);
2921
+ }
2922
+
2923
+ &::part(rb-checked rb-incorrect) {
2924
+ box-shadow: inset 0 0 0 6px var(--qti-incorrect, #f44336);
2925
+ }
2926
+
2927
+ &::part(cb-incorrect) {
2928
+ border-color: var(--qti-incorrect, #f44336);
2929
+ }
2930
+
2931
+ &::part(cb-checked cb-incorrect) {
2932
+ background-color: var(--qti-incorrect, #f44336) !important;
2933
+ }
2934
+ }
2935
+
2936
+ qti-match-interaction:not(.qti-match-tabular) {
2937
+ &:state(--dragzone-enabled) qti-simple-match-set:first-of-type {
2938
+ background-color: var(--qti-bg-active);
2939
+ }
2940
+
2941
+ &:state(--dragzone-active) qti-simple-match-set:first-of-type {
2942
+ border-color: var(--qti-border-active);
2943
+ background-color: var(--qti-bg-active);
2944
+ }
2945
+
2946
+ /* The draggables */
2947
+ & qti-simple-match-set:first-of-type {
2948
+ display: flex;
2949
+ flex-wrap: wrap;
2950
+ align-items: flex-start; /* Prevents children from stretching */
2951
+ gap: var(--qti-gap-size);
2952
+ border: 2px solid transparent;
2953
+
2954
+ & qti-simple-associable-choice {
2955
+
2956
+ &[dragging] {
2957
+ pointer-events: none;
2958
+ rotate: -2deg;
2959
+ box-shadow: 0 8px 12px rgb(0 0 0 / 20%),
2960
+ 0 4px 8px rgb(0 0 0 / 10%);
2961
+ }
2962
+
2963
+ &:hover {
2964
+ }
2965
+
2966
+ &:focus {
2967
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2968
+ }
2969
+
2970
+ transition: transform 200ms ease-out,
2971
+ box-shadow 200ms ease-out,
2972
+ rotate 200ms ease-out;
2973
+
2974
+ cursor: grab;
2975
+
2976
+ background-color: var(--qti-bg);
2977
+
2978
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2979
+
2980
+ border-radius: var(--qti-border-radius);
2981
+
2982
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2983
+
2984
+ outline: none
2985
+ }
2986
+ }
2987
+
2988
+ /* The droppables */
2989
+ & qti-simple-match-set:last-of-type {
2990
+ display: grid;
2991
+ grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
2992
+ grid-auto-flow: unset;
2993
+ grid-auto-columns: unset;
2994
+ gap: var(--qti-gap-size);
2995
+
2996
+ & > qti-simple-associable-choice {
2997
+ /* a droppable qti-simple-associable-choice */
2998
+ display: flex;
2999
+ flex-direction: column;
3000
+ justify-content: space-between;
3001
+ grid-row: unset;
3002
+ box-sizing: border-box;
3003
+
3004
+ & img {
3005
+ max-width: 100%;
3006
+ height: auto;
3007
+ }
3008
+
3009
+ &[enabled] {
3010
+ &::part(dropslot) {
3011
+ background-color: var(--qti-bg-active);
3012
+ }
3013
+ }
3014
+
3015
+ &[disabled] {
3016
+ &::part(dropslot) {
3017
+ cursor: not-allowed;
3018
+ background-color: var(--qti-disabled-bg);
3019
+ color: var(--qti-disabled-color);
3020
+ border-color: var(--qti-border-color);
3021
+ outline: 4px solid var(--qti-disabled-bg);
3022
+ }
3023
+ }
3024
+
3025
+ &[active] {
3026
+ &::part(dropslot) {
3027
+ border-color: var(--qti-border-active);
3028
+ background-color: var(--qti-bg-active);
3029
+ }
3030
+ }
3031
+
3032
+ &::part(dropslot) {
3033
+
3034
+ &[dragging] {
3035
+ pointer-events: none;
3036
+ rotate: -2deg;
3037
+ box-shadow: 0 8px 12px rgb(0 0 0 / 20%),
3038
+ 0 4px 8px rgb(0 0 0 / 10%);
3039
+ }
3040
+
3041
+ &:focus {
3042
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3043
+ }
3044
+
3045
+ padding: var(--qti-dropzone-padding);
3046
+ margin-top: 0.5rem;
3047
+ gap: 0.5rem;
3048
+ display: flex;
3049
+ flex-wrap: wrap;
3050
+ justify-content: center;
3051
+ align-items: center;
3052
+ border: var(--qti-border-thickness) dashed var(--qti-border-color);
3053
+ background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="7" stroke="%23CCCCCC" stroke-width="1" fill="transparent" /></svg>')
3054
+ center no-repeat;
3055
+ border-radius: var(--qti-border-radius);
3056
+ position: relative;
3057
+ background-color: var(--qti-bg);
3058
+ }
3059
+
3060
+ & > *:not(qti-simple-associable-choice) {
3061
+ pointer-events: none;
3062
+ }
3063
+
3064
+ & > qti-simple-associable-choice {
3065
+
3066
+ &:state(candidate-correct) {
3067
+ background-color: var(--qti-correct);
3068
+ }
3069
+
3070
+ &:state(candidate-incorrect) {
3071
+ background-color: var(--qti-incorrect);
3072
+ }
3073
+
3074
+ &::part(dropslot) {
3075
+ display: none;
3076
+ }
3077
+
3078
+ &:hover {
3079
+ }
3080
+
3081
+ &:focus {
3082
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3083
+ }
3084
+
3085
+ flex-basis: fit-content;
3086
+
3087
+ transition: transform 200ms ease-out,
3088
+ box-shadow 200ms ease-out,
3089
+ rotate 200ms ease-out;
3090
+
3091
+ cursor: grab;
3092
+
3093
+ background-color: var(--qti-bg);
3094
+
3095
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
3096
+
3097
+ border-radius: var(--qti-border-radius);
3098
+
3099
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3100
+
3101
+ outline: none;
3102
+ }
3103
+ }
3104
+ }
3105
+ }
3106
+
3107
+ qti-order-interaction:state(--dragzone-active)::part(drags) {
3108
+ border-color: var(--qti-border-active);
3109
+ background-color: var(--qti-bg-active);
3110
+ }
3111
+
3112
+ qti-order-interaction:state(--dragzone-enabled)::part(drags) {
3113
+ background-color: var(--qti-bg-active);
3114
+ }
3115
+
3116
+ qti-order-interaction {
3117
+ &::part(qti-simple-choice),
3118
+ & qti-simple-choice {
3119
+
3120
+ &[dragging] {
3121
+ pointer-events: none;
3122
+ rotate: -2deg;
3123
+ box-shadow: 0 8px 12px rgb(0 0 0 / 20%),
3124
+ 0 4px 8px rgb(0 0 0 / 10%);
3125
+ }
3126
+
3127
+ &:hover {
3128
+ }
3129
+
3130
+ &:focus {
3131
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3132
+ }
3133
+
3134
+ transition: transform 200ms ease-out,
3135
+ box-shadow 200ms ease-out,
3136
+ rotate 200ms ease-out;
3137
+
3138
+ cursor: grab;
3139
+
3140
+ background-color: var(--qti-bg);
3141
+
3142
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
3143
+
3144
+ border-radius: var(--qti-border-radius);
3145
+
3146
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3147
+
3148
+ outline: none
3149
+ }
3150
+
3151
+ &::part(qti-simple-choice) {
3152
+ display: flex;
3153
+ overflow: hidden;
3154
+ align-items: center;
3155
+ width: 100%;
3156
+ text-overflow: ellipsis;
3157
+ }
3158
+
3159
+ &::part(drops) {
3160
+ gap: 0.5rem; /* gap-2 */
3161
+ }
3162
+
3163
+ &::part(drags) {
3164
+ gap: 0.5rem; /* gap-2 */
3165
+ }
3166
+
3167
+ &::part(drop-list) {
3168
+
3169
+ &[enabled] {
3170
+
3171
+ /* Light theme override */
3172
+ .qti-selections-light {
3173
+ border-color: var(--qti-light-border-active);
3174
+ }
3175
+
3176
+ /* Dark theme override */
3177
+ .qti-selections-dark {
3178
+ border-color: var(--qti-dark-border-active);
3179
+ }
3180
+ background-color: var(--qti-bg-active)
3181
+ }
3182
+
3183
+ &:hover {
3184
+ }
3185
+
3186
+ &:focus {
3187
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3188
+ }
3189
+
3190
+ display: flex;
3191
+ min-height: 4rem;
3192
+ border: var(--qti-border-thickness) dashed var(--qti-border-color);
3193
+ background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="7" stroke="%23CCCCCC" stroke-width="1" fill="transparent" /></svg>')
3194
+ center no-repeat;
3195
+ border-radius: var(--qti-border-radius);
3196
+ position: relative;
3197
+ background-color: var(--qti-bg);
3198
+ }
3199
+
3200
+ &::part(active) {
3201
+ border-color: var(--qti-border-active);
3202
+ background-color: var(--qti-bg-active);
3203
+ }
3204
+
3205
+ & drop-list {
3206
+ &[shape='circle'] {
3207
+
3208
+ &:hover {
3209
+ }
3210
+
3211
+ &:focus {
3212
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3213
+ }
3214
+
3215
+ &[aria-checked='true'] {
3216
+ border-color: var(--qti-border-active);
3217
+ background-color: var(--qti-bg-active);
3218
+ }
3219
+
3220
+ &[aria-readonly='true'] {
3221
+ cursor: pointer;
3222
+ background-color: var(--qti-bg);
3223
+ outline: 0;
3224
+ border: none;
3225
+ }
3226
+
3227
+ &[aria-disabled='true'] {
3228
+ cursor: not-allowed;
3229
+ background-color: var(--qti-disabled-bg);
3230
+ color: var(--qti-disabled-color);
3231
+ border-color: var(--qti-border-color);
3232
+ outline: 4px solid var(--qti-disabled-bg);
3233
+ }
3234
+
3235
+ width: 100%;
3236
+
3237
+ height: 100%;
3238
+
3239
+ background-color: transparent;
3240
+
3241
+ padding: 0;
3242
+
3243
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3244
+
3245
+ outline: none
3246
+ }
3247
+
3248
+ &[shape='square'] {
3249
+
3250
+ &:hover {
3251
+ }
3252
+
3253
+ &:focus {
3254
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3255
+ }
3256
+
3257
+ &[aria-checked='true'] {
3258
+ border-color: var(--qti-border-active);
3259
+ background-color: var(--qti-bg-active);
3260
+ }
3261
+
3262
+ &[aria-readonly='true'] {
3263
+ cursor: pointer;
3264
+ background-color: var(--qti-bg);
3265
+ outline: 0;
3266
+ border: none;
3267
+ }
3268
+
3269
+ &[aria-disabled='true'] {
3270
+ cursor: not-allowed;
3271
+ background-color: var(--qti-disabled-bg);
3272
+ color: var(--qti-disabled-color);
3273
+ border-color: var(--qti-border-color);
3274
+ outline: 4px solid var(--qti-disabled-bg);
3275
+ }
3276
+
3277
+ width: 100%;
3278
+
3279
+ height: 100%;
3280
+
3281
+ background-color: transparent;
3282
+
3283
+ padding: 0;
3284
+
3285
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3286
+
3287
+ outline: none
3288
+ }
3289
+ }
3290
+ }
3291
+
3292
+ qti-associate-interaction {
3293
+ /* General styles for active and enabled states */
3294
+ &:state(--dragzone-active) slot[name='qti-simple-associable-choice'] {
3295
+ border-color: var(--qti-border-active);
3296
+ background-color: var(--qti-bg-active);
3297
+ }
3298
+
3299
+ &:state(--dragzone-enabled) slot[name='qti-simple-associable-choice'] {
3300
+ background-color: var(--qti-bg-active);
3301
+ }
3302
+
3303
+ & qti-simple-associable-choice, /* drags when in lightdom */
3304
+ &::part(qti-simple-associable-choice) /* drags when in shadowdom */ {
3305
+
3306
+ &:hover {
3307
+ }
3308
+
3309
+ &:focus {
3310
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3311
+ }
3312
+
3313
+ &[dragging] {
3314
+ pointer-events: none;
3315
+ rotate: -2deg;
3316
+ box-shadow: 0 8px 12px rgb(0 0 0 / 20%),
3317
+ 0 4px 8px rgb(0 0 0 / 10%);
3318
+ }
3319
+
3320
+ transition: transform 200ms ease-out,
3321
+ box-shadow 200ms ease-out,
3322
+ rotate 200ms ease-out;
3323
+
3324
+ cursor: grab;
3325
+
3326
+ background-color: var(--qti-bg);
3327
+
3328
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
3329
+
3330
+ border-radius: var(--qti-border-radius);
3331
+
3332
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3333
+
3334
+ outline: none
3335
+ }
3336
+
3337
+ /* display: flex;
3338
+ overflow: hidden;
3339
+ align-items: center; */
3340
+
3341
+ /* &::part(drop-container) {
3342
+ display: flex;
3343
+ flex-direction: column;
3344
+ gap: var(--qti-gap-size);
3345
+ } */
3346
+
3347
+ &::part(drop-list) {
3348
+
3349
+ display: grid;
3350
+ height: 3rem;
3351
+ min-width: 10rem;
3352
+ border: var(--qti-border-thickness) dashed var(--qti-border-color);
3353
+ background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="7" stroke="%23CCCCCC" stroke-width="1" fill="transparent" /></svg>')
3354
+ center no-repeat;
3355
+ border-radius: var(--qti-border-radius);
3356
+ position: relative;
3357
+ background-color: var(--qti-bg);
3358
+ }
3359
+
3360
+ &::part(drop-list):focus {
3361
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3362
+ }
3363
+
3364
+ &::part(drop-list)[dragging] {
3365
+ border-color: var(--qti-border-active);
3366
+ background-color: var(--qti-bg-active);
3367
+ }
3368
+
3369
+ /* &::part(drop-list) {
3370
+ @apply act;
3371
+ } */
3372
+ }
3373
+
3374
+ qti-graphic-order-interaction {
3375
+ & qti-hotspot-choice {
3376
+ width: 100%;
3377
+ height: 100%;
3378
+ background-color: rgb(128 128 128 / 30%);
3379
+ padding: 0;
3380
+
3381
+ &:hover {
3382
+ background-color: rgb(128 128 128 / 70%);
3383
+ }
3384
+
3385
+ &:focus {
3386
+ background-color: rgb(128 128 128 / 70%);
3387
+ }
3388
+
3389
+ &:state(--checked),
3390
+ &[aria-checked='true'] {
3391
+ background-color: rgb(128 128 128 / 70%);
3392
+ }
3393
+
3394
+ &[aria-readonly='true'] {
3395
+ cursor: pointer;
3396
+ background-color: var(--qti-bg);
3397
+ outline: 0;
3398
+ border: none;
3399
+ }
3400
+
3401
+ &[aria-disabled='true'] {
3402
+ cursor: not-allowed;
3403
+ background-color: var(--qti-disabled-bg);
3404
+ color: var(--qti-disabled-color);
3405
+ border-color: var(--qti-border-color);
3406
+ outline: 4px solid var(--qti-disabled-bg);
3407
+ }
3408
+
3409
+ &[aria-ordervalue] {
3410
+ display: grid;
3411
+ place-content: center;
3412
+ }
3413
+
3414
+ &[aria-ordervalue]::after {
3415
+ content: attr(aria-ordervalue) !important;
3416
+ }
3417
+
3418
+ &[aria-ordercorrectvalue] {
3419
+ display: grid;
3420
+ place-content: center;
3421
+ }
3422
+
3423
+ /* When both attributes are present */
3424
+ &[aria-ordercorrectvalue][aria-ordervalue]::after {
3425
+ content: 'C=' attr(aria-ordercorrectvalue) ' R=' attr(aria-ordervalue) !important;
3426
+ color: var(--qti-correct);
3427
+ }
3428
+
3429
+ /* When only aria-ordercorrectvalue is present */
3430
+ &[aria-ordercorrectvalue]:not([aria-ordervalue])::after {
3431
+ content: 'C=' attr(aria-ordercorrectvalue) !important;
3432
+ color: var(--qti-correct);
3433
+ }
3434
+ }
3435
+
3436
+ &.qti-selections-light {
3437
+ &:state(--dragzone-active)::part(drags) {
3438
+ background-color: var(--qti-light-bg-active);
3439
+ border-color: var(--qti-light-border-active);
3440
+ }
3441
+
3442
+ &:state(--dragzone-enabled)::part(drags) {
3443
+ background-color: var(--qti-light-bg-active);
3444
+ }
3445
+ }
3446
+
3447
+ &.qti-selections-dark {
3448
+ &:state(--dragzone-active)::part(drags) {
3449
+ background-color: var(--qti-dark-bg-active);
3450
+ border-color: var(--qti-dark-border-active);
3451
+ }
3452
+
3453
+ &:state(--dragzone-enabled)::part(drags) {
3454
+ background-color: var(--qti-dark-bg-active);
3455
+ }
3456
+ }
3457
+
3458
+ /* General styles for active and enabled states */
3459
+ &:state(--dragzone-active)::part(drags) {
3460
+ border-color: var(--qti-border-active);
3461
+ background-color: var(--qti-bg-active);
3462
+ }
3463
+
3464
+ &:state(--dragzone-enabled)::part(drags) {
3465
+ background-color: var(--qti-bg-active);
3466
+ }
3467
+ }
3468
+
3469
+ qti-graphic-associate-interaction {
3470
+ position: relative;
3471
+ display: block;
3472
+
3473
+ & qti-associable-hotspot {
3474
+ &[shape='circle'] {
3475
+
3476
+ &:hover {
3477
+ }
3478
+
3479
+ &:focus {
3480
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3481
+ }
3482
+
3483
+ &[aria-checked='true'] {
3484
+ border-color: var(--qti-border-active);
3485
+ background-color: var(--qti-bg-active);
3486
+ }
3487
+
3488
+ &[aria-readonly='true'] {
3489
+ cursor: pointer;
3490
+ background-color: var(--qti-bg);
3491
+ outline: 0;
3492
+ border: none;
3493
+ }
3494
+
3495
+ &[aria-disabled='true'] {
3496
+ cursor: not-allowed;
3497
+ background-color: var(--qti-disabled-bg);
3498
+ color: var(--qti-disabled-color);
3499
+ border-color: var(--qti-border-color);
3500
+ outline: 4px solid var(--qti-disabled-bg);
3501
+ }
3502
+
3503
+ width: 100%;
3504
+
3505
+ height: 100%;
3506
+
3507
+ background-color: transparent;
3508
+
3509
+ padding: 0;
3510
+
3511
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3512
+
3513
+ outline: none
3514
+ }
3515
+
3516
+ &[shape='square'] {
3517
+
3518
+ &:hover {
3519
+ }
3520
+
3521
+ &:focus {
3522
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3523
+ }
3524
+
3525
+ &[aria-checked='true'] {
3526
+ border-color: var(--qti-border-active);
3527
+ background-color: var(--qti-bg-active);
3528
+ }
3529
+
3530
+ &[aria-readonly='true'] {
3531
+ cursor: pointer;
3532
+ background-color: var(--qti-bg);
3533
+ outline: 0;
3534
+ border: none;
3535
+ }
3536
+
3537
+ &[aria-disabled='true'] {
3538
+ cursor: not-allowed;
3539
+ background-color: var(--qti-disabled-bg);
3540
+ color: var(--qti-disabled-color);
3541
+ border-color: var(--qti-border-color);
3542
+ outline: 4px solid var(--qti-disabled-bg);
3543
+ }
3544
+
3545
+ width: 100%;
3546
+
3547
+ height: 100%;
3548
+
3549
+ background-color: transparent;
3550
+
3551
+ padding: 0;
3552
+
3553
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3554
+
3555
+ outline: none
3556
+ }
3557
+ }
3558
+
3559
+ &.qti-selections-light {
3560
+ &:state(--dragzone-active)::part(drags) {
3561
+ background-color: var(--qti-light-bg-active);
3562
+ border-color: var(--qti-light-border-active);
3563
+ }
3564
+
3565
+ &:state(--dragzone-enabled)::part(drags) {
3566
+ background-color: var(--qti-light-bg-active);
3567
+ }
3568
+ }
3569
+
3570
+ &.qti-selections-dark {
3571
+ &:state(--dragzone-active)::part(drags) {
3572
+ background-color: var(--qti-dark-bg-active);
3573
+ border-color: var(--qti-dark-border-active);
3574
+ }
3575
+
3576
+ &:state(--dragzone-enabled)::part(drags) {
3577
+ background-color: var(--qti-dark-bg-active);
3578
+ }
3579
+ }
3580
+
3581
+ /* General styles for active and enabled states */
3582
+ &:state(--dragzone-active)::part(drags) {
3583
+ border-color: var(--qti-border-active);
3584
+ background-color: var(--qti-bg-active);
3585
+ }
3586
+
3587
+ &:state(--dragzone-enabled)::part(drags) {
3588
+ background-color: var(--qti-bg-active);
3589
+ }
3590
+ }
3591
+
3592
+ qti-slider-interaction {
3593
+ --qti-tick-color: rgb(229 231 235 / 100%);
3594
+ --qti-tick-width: 1px;
3595
+ }
3596
+
3597
+ qti-select-point-interaction {
3598
+ &::part(point) {
3599
+ &:hover {
3600
+ }
3601
+
3602
+ &:focus {
3603
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3604
+ }
3605
+
3606
+ border-radius: 100%;
3607
+
3608
+ border: 1px solid white;
3609
+
3610
+ background-color: black;
3611
+
3612
+ opacity: 0.5;
3613
+
3614
+ padding: 0;
3615
+
3616
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3617
+
3618
+ outline: none;
3619
+
3620
+ }
3621
+
3622
+ &::part(correct) {
3623
+ background-color: var(--qti-correct);
3624
+ }
3625
+
3626
+ &::part(incorrect) {
3627
+ background-color: var(--qti-incorrect);
3628
+ }
3629
+ }
3630
+
3631
+ qti-position-object-stage {
3632
+ & qti-position-object-interaction {
3633
+ /* no styles necessary, only layout styles, defined in the component */
3634
+ }
3635
+ }
3636
+
3637
+ qti-prompt {
3638
+ margin: 0.5rem 0; /* my-2 */
3639
+ display: block;
3640
+ width: 100%;
3641
+ }
3642
+ }
3643
+
3644
+ qti-test-part:not(:has(qti-assessment-item)),
3645
+ qti-assessment-section:not(:has(qti-assessment-item)),
3646
+ qti-assessment-item-ref:not(:has(qti-assessment-item)) {
3647
+ display: none;
3648
+ }
3649
+
3650
+ qti-hottext-interaction::part(message),
3651
+ qti-choice-interaction::part(message),
3652
+ qti-association-interaction::part(message),
3653
+ qti-graphic-association-interaction::part(message),
3654
+ qti-graphic-gap-match-interaction::part(message),
3655
+ qti-graphic-order-interaction::part(message),
3656
+ qti-math-interaction::part(message) {
3657
+ display: none;
3658
+ color: var(--qti-validation-text, #000);
3659
+ background-color: var(--qti-validation-error-bg, #fff);
3660
+ padding: 10px;
3661
+ border: 3px solid var(--qti-validation-text, #000);
3662
+ border-radius: 4px;
3663
+ margin-top: 8px;
3664
+ }
3665
+
3666
+ div.full-correct-response {
3667
+ border: 1px solid #39a7c0;
3668
+ background-color: #d9e8ee;
3669
+ }
3670
+
3671
+ div.full-correct-response-block {
3672
+ display: block;
3673
+ margin-top: var(--qti-padding-vertical);
3674
+ padding: 0.5rem;
3675
+ }
3676
+
3677
+ div.full-correct-response-inline {
3678
+ display: inline-block;
3679
+ margin-left: var(--qti-padding-horizontal);
3680
+ margin-right: var(--qti-padding-horizontal);
3681
+ padding: 0.2rem;
3682
+ }
3683
+ `;
3684
+
3685
+ export {
3686
+ item_default
3687
+ };
3688
+ //# sourceMappingURL=chunk-3LX4O663.js.map