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