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