@citolab/qti-components 7.3.18 → 7.3.20

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 (473) hide show
  1. package/cdn/chunks/chunk-23JT53R2.js +1 -0
  2. package/cdn/chunks/chunk-26QYN3JJ.js +1482 -0
  3. package/cdn/chunks/chunk-2N2XIR3B.js +5 -0
  4. package/cdn/chunks/chunk-2OA2G5PN.js +5 -0
  5. package/cdn/chunks/chunk-2PXIZTCM.js +1 -0
  6. package/cdn/chunks/chunk-3H3ITD2Q.js +5 -0
  7. package/cdn/chunks/chunk-3HIY5HSB.js +1 -0
  8. package/cdn/chunks/chunk-3PVCPEFY.js +5 -0
  9. package/cdn/chunks/chunk-3WY3AI3D.js +1482 -0
  10. package/cdn/chunks/chunk-3YF52BZZ.js +41 -0
  11. package/cdn/chunks/chunk-3ZFHDJHW.js +3636 -0
  12. package/cdn/chunks/chunk-3ZLIRREM.js +1466 -0
  13. package/cdn/chunks/chunk-426N5A5I.js +1 -0
  14. package/cdn/chunks/chunk-453G3A34.js +8 -0
  15. package/cdn/chunks/chunk-4F3OLGZ4.js +5 -0
  16. package/cdn/chunks/chunk-4YPL4JG2.js +1 -0
  17. package/cdn/chunks/chunk-5ICSVSCW.js +1482 -0
  18. package/cdn/chunks/chunk-5WPKWVLA.js +1 -0
  19. package/cdn/chunks/chunk-63C5YDWF.js +1482 -0
  20. package/cdn/chunks/chunk-6FSYASNZ.js +1 -0
  21. package/cdn/chunks/chunk-6H26KONO.js +1482 -0
  22. package/cdn/chunks/chunk-6IY26BVE.js +23 -0
  23. package/cdn/chunks/chunk-6OUX6PKB.js +5 -0
  24. package/cdn/chunks/chunk-74FJHIJ5.js +8 -0
  25. package/cdn/chunks/chunk-77U2O27N.js +1 -0
  26. package/cdn/chunks/chunk-7AX6K3VW.js +1 -0
  27. package/cdn/chunks/chunk-7HEAECQ2.js +1466 -0
  28. package/cdn/chunks/chunk-7LCGB3GF.js +6 -0
  29. package/cdn/chunks/chunk-7NHDLON4.js +5 -0
  30. package/cdn/chunks/chunk-7T6OJ2OQ.js +1482 -0
  31. package/cdn/chunks/chunk-ARUVWWSO.js +5 -0
  32. package/cdn/chunks/chunk-B7NVY4AR.js +23 -0
  33. package/cdn/chunks/chunk-BFMN6REI.js +5 -0
  34. package/cdn/chunks/chunk-BGWSUBMK.js +1482 -0
  35. package/cdn/chunks/chunk-BSK7IIBZ.js +1 -0
  36. package/cdn/chunks/chunk-BUGBHX3F.js +5 -0
  37. package/cdn/chunks/chunk-BXEEPJPF.js +48 -0
  38. package/cdn/chunks/chunk-BXTNMGCF.js +1 -0
  39. package/cdn/chunks/chunk-C25DJHRW.js +5 -0
  40. package/cdn/chunks/chunk-C3XRHLQX.js +1 -0
  41. package/cdn/chunks/chunk-CGI4LREF.js +1 -0
  42. package/cdn/chunks/chunk-CLAUENYE.js +8 -0
  43. package/cdn/chunks/chunk-CYSQXIRZ.js +5 -0
  44. package/cdn/chunks/chunk-DD55IQIL.js +6 -0
  45. package/cdn/chunks/chunk-DHNKVZRG.js +1 -0
  46. package/cdn/chunks/chunk-DXF4ZBJ2.js +1 -0
  47. package/cdn/chunks/chunk-E2UBGM45.js +1 -0
  48. package/cdn/chunks/chunk-E6IOJ4MV.js +23 -0
  49. package/cdn/chunks/chunk-ECKBRC27.js +1482 -0
  50. package/cdn/chunks/chunk-ECLB2ECD.js +5 -0
  51. package/cdn/chunks/chunk-EINATJIA.js +1 -0
  52. package/cdn/chunks/chunk-EXMUQYL6.js +5 -0
  53. package/cdn/chunks/chunk-FDOVZYP4.js +5 -0
  54. package/cdn/chunks/chunk-FDV6POVV.js +6 -0
  55. package/cdn/chunks/chunk-FOE7HRKJ.js +10 -0
  56. package/cdn/chunks/chunk-FVIBMJDJ.js +5 -0
  57. package/cdn/chunks/chunk-G2DN6BDN.js +8 -0
  58. package/cdn/chunks/chunk-GBAAEAYK.js +5 -0
  59. package/cdn/chunks/chunk-GDRPZEZJ.js +5 -0
  60. package/cdn/chunks/chunk-GFXQHIPI.js +1482 -0
  61. package/cdn/chunks/chunk-GTSQO7SP.js +1 -0
  62. package/cdn/chunks/chunk-GVZHKB2Y.js +1482 -0
  63. package/cdn/chunks/chunk-GY74IPZ2.js +8 -0
  64. package/cdn/chunks/chunk-HA6MFZZU.js +48 -0
  65. package/cdn/chunks/chunk-HHALXPVF.js +5 -0
  66. package/cdn/chunks/chunk-HPX7CBTS.js +1 -0
  67. package/cdn/chunks/chunk-I3PDGPL6.js +48 -0
  68. package/cdn/chunks/chunk-I4G5VXGD.js +5 -0
  69. package/cdn/chunks/chunk-IJBHBPIR.js +1 -0
  70. package/cdn/chunks/chunk-IMHR3S57.js +1 -0
  71. package/cdn/chunks/chunk-IPISUVWE.js +8 -0
  72. package/cdn/chunks/chunk-J3NAMJRF.js +55 -0
  73. package/cdn/chunks/chunk-JG53AUXR.js +1 -0
  74. package/cdn/chunks/chunk-JHMA3APO.js +3638 -0
  75. package/cdn/chunks/chunk-JJNOTSC4.js +5 -0
  76. package/cdn/chunks/chunk-JVPQQZNX.js +5 -0
  77. package/cdn/chunks/chunk-JVW572MO.js +1 -0
  78. package/cdn/chunks/chunk-JYF2SOPC.js +6 -0
  79. package/cdn/chunks/chunk-K42MGICV.js +1 -0
  80. package/cdn/chunks/chunk-K7NB4LHE.js +1 -0
  81. package/cdn/chunks/chunk-KM5SOM7G.js +1482 -0
  82. package/cdn/chunks/chunk-KP6MWEDW.js +5 -0
  83. package/cdn/chunks/chunk-KWDCU3P6.js +1482 -0
  84. package/cdn/chunks/chunk-KY3OKCFK.js +8 -0
  85. package/cdn/chunks/chunk-KY6SSNGO.js +5 -0
  86. package/cdn/chunks/chunk-LO2NM3CE.js +1 -0
  87. package/cdn/chunks/chunk-LS3OPHR4.js +8 -0
  88. package/cdn/chunks/chunk-M544CJHK.js +5 -0
  89. package/cdn/chunks/chunk-M5UOISZJ.js +1482 -0
  90. package/cdn/chunks/chunk-MAPVFADC.js +5 -0
  91. package/cdn/chunks/chunk-MICRS5DH.js +8 -0
  92. package/cdn/chunks/chunk-MVGI4SNI.js +17 -0
  93. package/cdn/chunks/chunk-MYXD4BOJ.js +2 -0
  94. package/cdn/chunks/chunk-MZRZP33C.js +1 -0
  95. package/cdn/chunks/chunk-N4LMZHIZ.js +5 -0
  96. package/cdn/chunks/chunk-NHHA3O6Y.js +1 -0
  97. package/cdn/chunks/chunk-NJ3OVLBF.js +1 -0
  98. package/cdn/chunks/chunk-NVZTYSGS.js +1 -0
  99. package/cdn/chunks/chunk-NXQQIB7Y.js +5 -0
  100. package/cdn/chunks/chunk-ODYPYZCY.js +5 -0
  101. package/cdn/chunks/chunk-OENDUEU2.js +5 -0
  102. package/cdn/chunks/chunk-ON6ISIIV.js +1 -0
  103. package/cdn/chunks/chunk-OOEY4RSQ.js +1 -0
  104. package/cdn/chunks/chunk-OUQFWBVG.js +8 -0
  105. package/cdn/chunks/chunk-P5MQE2M6.js +5 -0
  106. package/cdn/chunks/chunk-PMYTST5N.js +17 -0
  107. package/cdn/chunks/chunk-PPSGCGRR.js +8 -0
  108. package/cdn/chunks/chunk-Q4EENVQD.js +1 -0
  109. package/cdn/chunks/chunk-Q64V7VQU.js +1 -0
  110. package/cdn/chunks/chunk-QCDT25GU.js +8 -0
  111. package/cdn/chunks/chunk-QYCLNTAQ.js +1 -0
  112. package/cdn/chunks/chunk-RKU2XDKG.js +2 -0
  113. package/cdn/chunks/chunk-RQSAQ6H4.js +1 -0
  114. package/cdn/chunks/chunk-RTVTE2XY.js +1482 -0
  115. package/cdn/chunks/chunk-SBACDLL6.js +73 -0
  116. package/cdn/chunks/chunk-SVVO2SFS.js +1 -0
  117. package/cdn/chunks/chunk-SVWD3DJK.js +1 -0
  118. package/cdn/chunks/chunk-TOK64KBR.js +5 -0
  119. package/cdn/chunks/chunk-V2NH5MXS.js +5 -0
  120. package/cdn/chunks/chunk-V3EJROZX.js +3649 -0
  121. package/cdn/chunks/chunk-VB3GRBCX.js +1 -0
  122. package/cdn/chunks/chunk-VNZCEVYY.js +24 -0
  123. package/cdn/chunks/chunk-VUJWHOI6.js +1482 -0
  124. package/cdn/chunks/chunk-WOKUXDJR.js +8 -0
  125. package/cdn/chunks/chunk-WPXZSIUM.js +5 -0
  126. package/cdn/chunks/chunk-WTUHCDEZ.js +10 -0
  127. package/cdn/chunks/chunk-X4FA36TC.js +1 -0
  128. package/cdn/chunks/chunk-XA25EXKN.js +1 -0
  129. package/cdn/chunks/chunk-XBLYTLX6.js +5 -0
  130. package/cdn/chunks/chunk-XH36X5UJ.js +1482 -0
  131. package/cdn/chunks/chunk-XHSJOTCJ.js +5 -0
  132. package/cdn/chunks/chunk-XJ2CFTZP.js +1 -0
  133. package/cdn/chunks/chunk-XLFLYMNJ.js +1482 -0
  134. package/cdn/chunks/chunk-XYWB7S55.js +1482 -0
  135. package/cdn/chunks/chunk-Y3BICHQ5.js +6 -0
  136. package/cdn/chunks/chunk-YEK2E3FB.js +8 -0
  137. package/cdn/chunks/chunk-YIRZSKIP.js +2 -0
  138. package/cdn/chunks/chunk-YM5QNYGZ.js +5 -0
  139. package/cdn/chunks/chunk-YOTJAW26.js +6 -0
  140. package/cdn/chunks/chunk-Z7KIJX7V.js +1482 -0
  141. package/cdn/chunks/chunk-ZCQFKXZ3.js +48 -0
  142. package/cdn/chunks/chunk-ZKOKGZBL.js +5 -0
  143. package/cdn/exports/computed-item.context.js +1 -1
  144. package/cdn/exports/computed.context.js +1 -1
  145. package/cdn/exports/config.context.js +1 -1
  146. package/cdn/exports/interaction.js +1 -1
  147. package/cdn/exports/item.context.js +1 -1
  148. package/cdn/exports/qti-assessment-item.context.js +1 -1
  149. package/cdn/exports/qti-condition-expression.js +1 -1
  150. package/cdn/exports/qti-expression.js +1 -1
  151. package/cdn/exports/qti.context.js +1 -0
  152. package/cdn/exports/session.context.js +1 -1
  153. package/cdn/exports/test.context.js +1 -1
  154. package/cdn/index.global.js +1 -1
  155. package/cdn/index.js +1 -1
  156. package/cdn/qti-components/index.js +1 -1
  157. package/cdn/qti-item/components/item-container.js +1 -1
  158. package/cdn/qti-item/components/item-correct-response-mode.js +10 -0
  159. package/cdn/qti-item/components/item-show-candidate-correction.js +8 -0
  160. package/cdn/qti-item/components/item-show-correct-response.js +1 -1
  161. package/cdn/qti-item/components/print-item-variables.js +1 -1
  162. package/cdn/qti-item/components/styles.js +1 -1
  163. package/cdn/qti-item/core/index.js +1 -1
  164. package/cdn/qti-loader/index.js +1 -1
  165. package/cdn/qti-test/components/index.js +1 -1
  166. package/cdn/qti-test/components/styles.js +1 -1
  167. package/cdn/qti-test/components/test-check-item.js +1 -1
  168. package/cdn/qti-test/components/test-container.js +1 -1
  169. package/cdn/qti-test/components/test-end-attempt.js +1 -1
  170. package/cdn/qti-test/components/test-item-link.js +1 -1
  171. package/cdn/qti-test/components/test-navigation.js +1 -1
  172. package/cdn/qti-test/components/test-next.js +1 -1
  173. package/cdn/qti-test/components/test-paging-buttons-stamp.js +1 -1
  174. package/cdn/qti-test/components/test-prev.js +1 -1
  175. package/cdn/qti-test/components/test-print-context.js +1 -1
  176. package/cdn/qti-test/components/test-print-item-variables.js +1 -1
  177. package/cdn/qti-test/components/test-scoring-buttons.js +1 -1
  178. package/cdn/qti-test/components/test-scoring-feedback.js +1 -1
  179. package/cdn/qti-test/components/test-section-buttons-stamp.js +1 -1
  180. package/cdn/qti-test/components/test-section-link.js +1 -1
  181. package/cdn/qti-test/components/test-show-correct-response.js +1 -1
  182. package/cdn/qti-test/components/test-stamp.js +1 -1
  183. package/cdn/qti-test/components/test-view-toggle.js +1 -1
  184. package/cdn/qti-test/components/test-view.js +1 -1
  185. package/cdn/qti-test/core/index.js +1 -1
  186. package/cdn/qti-transformers/index.js +1 -1
  187. package/dist/chunks/chunk-2EGQQQHL.js +31 -0
  188. package/dist/chunks/chunk-2EGQQQHL.js.map +1 -0
  189. package/dist/chunks/chunk-32TQEF77.js +142 -0
  190. package/dist/chunks/chunk-32TQEF77.js.map +1 -0
  191. package/dist/chunks/chunk-34THNRGC.js +8093 -0
  192. package/dist/chunks/chunk-34THNRGC.js.map +1 -0
  193. package/dist/chunks/chunk-3O3BVPXQ.js +8655 -0
  194. package/dist/chunks/chunk-3O3BVPXQ.js.map +1 -0
  195. package/dist/chunks/chunk-3SABVS4P.js +19 -0
  196. package/dist/chunks/chunk-3SABVS4P.js.map +1 -0
  197. package/dist/chunks/chunk-45FDEM7M.js +94 -0
  198. package/dist/chunks/chunk-45FDEM7M.js.map +1 -0
  199. package/dist/chunks/chunk-4A6SHFWN.js +8093 -0
  200. package/dist/chunks/chunk-4A6SHFWN.js.map +1 -0
  201. package/dist/chunks/chunk-4B4DRCXO.js +94 -0
  202. package/dist/chunks/chunk-4B4DRCXO.js.map +1 -0
  203. package/dist/chunks/chunk-4D3G23AV.js +94 -0
  204. package/dist/chunks/chunk-4D3G23AV.js.map +1 -0
  205. package/dist/chunks/chunk-565QP4OA.js +94 -0
  206. package/dist/chunks/chunk-565QP4OA.js.map +1 -0
  207. package/dist/chunks/chunk-5IYIGX6A.js +94 -0
  208. package/dist/chunks/chunk-5IYIGX6A.js.map +1 -0
  209. package/dist/chunks/chunk-5MAENJ2J.js +913 -0
  210. package/dist/chunks/chunk-5MAENJ2J.js.map +1 -0
  211. package/dist/chunks/chunk-6EQ4U5EP.js +142 -0
  212. package/dist/chunks/chunk-6EQ4U5EP.js.map +1 -0
  213. package/dist/chunks/chunk-6NLDLAQA.js +367 -0
  214. package/dist/chunks/chunk-6NLDLAQA.js.map +1 -0
  215. package/dist/chunks/chunk-6OB2U3VU.js +287 -0
  216. package/dist/chunks/chunk-6OB2U3VU.js.map +1 -0
  217. package/dist/chunks/chunk-7XIK3UQX.js +3628 -0
  218. package/dist/chunks/chunk-7XIK3UQX.js.map +1 -0
  219. package/dist/chunks/chunk-7Z7KA2QQ.js +142 -0
  220. package/dist/chunks/chunk-7Z7KA2QQ.js.map +1 -0
  221. package/dist/chunks/chunk-AH3ZDQHQ.js +913 -0
  222. package/dist/chunks/chunk-AH3ZDQHQ.js.map +1 -0
  223. package/dist/chunks/chunk-AVMYQQT2.js +94 -0
  224. package/dist/chunks/chunk-AVMYQQT2.js.map +1 -0
  225. package/dist/chunks/chunk-B2IUQFUU.js +913 -0
  226. package/dist/chunks/chunk-B2IUQFUU.js.map +1 -0
  227. package/dist/chunks/chunk-B2O3YM5H.js +8093 -0
  228. package/dist/chunks/chunk-B2O3YM5H.js.map +1 -0
  229. package/dist/chunks/chunk-BAZMB7Z3.js +8009 -0
  230. package/dist/chunks/chunk-BAZMB7Z3.js.map +1 -0
  231. package/dist/chunks/chunk-BXUNJ6XB.js +78 -0
  232. package/dist/chunks/chunk-BXUNJ6XB.js.map +1 -0
  233. package/dist/chunks/chunk-CTESMSQO.js +56 -0
  234. package/dist/chunks/chunk-CTESMSQO.js.map +1 -0
  235. package/dist/chunks/chunk-CVMIO3DA.js +913 -0
  236. package/dist/chunks/chunk-CVMIO3DA.js.map +1 -0
  237. package/dist/chunks/chunk-D2VLZ4I5.js +8755 -0
  238. package/dist/chunks/chunk-D2VLZ4I5.js.map +1 -0
  239. package/dist/chunks/chunk-DDSFGYAK.js +913 -0
  240. package/dist/chunks/chunk-DDSFGYAK.js.map +1 -0
  241. package/dist/chunks/chunk-DJUWVE3Q.js +8655 -0
  242. package/dist/chunks/chunk-DJUWVE3Q.js.map +1 -0
  243. package/dist/chunks/chunk-DJWEI2NH.js +502 -0
  244. package/dist/chunks/chunk-DJWEI2NH.js.map +1 -0
  245. package/dist/chunks/chunk-DPJNXSTI.js +19 -0
  246. package/dist/chunks/chunk-DPJNXSTI.js.map +1 -0
  247. package/dist/chunks/chunk-E6V3JHVT.js +31 -0
  248. package/dist/chunks/chunk-E6V3JHVT.js.map +1 -0
  249. package/dist/chunks/chunk-E7DT7SMT.js +8655 -0
  250. package/dist/chunks/chunk-E7DT7SMT.js.map +1 -0
  251. package/dist/chunks/chunk-EBODGAT7.js +113 -0
  252. package/dist/chunks/chunk-EBODGAT7.js.map +1 -0
  253. package/dist/chunks/chunk-EFY3NEXY.js +94 -0
  254. package/dist/chunks/chunk-EFY3NEXY.js.map +1 -0
  255. package/dist/chunks/chunk-EMOJR4QG.js +913 -0
  256. package/dist/chunks/chunk-EMOJR4QG.js.map +1 -0
  257. package/dist/chunks/chunk-EXBK4TXV.js +273 -0
  258. package/dist/chunks/chunk-EXBK4TXV.js.map +1 -0
  259. package/dist/chunks/chunk-F6RSPPVW.js +94 -0
  260. package/dist/chunks/chunk-F6RSPPVW.js.map +1 -0
  261. package/dist/chunks/chunk-FXO6HW6L.js +8084 -0
  262. package/dist/chunks/chunk-FXO6HW6L.js.map +1 -0
  263. package/dist/chunks/chunk-GFCOR6TX.js +146 -0
  264. package/dist/chunks/chunk-GFCOR6TX.js.map +1 -0
  265. package/dist/chunks/chunk-GIY6GNXQ.js +913 -0
  266. package/dist/chunks/chunk-GIY6GNXQ.js.map +1 -0
  267. package/dist/chunks/chunk-GMXDW4I3.js +913 -0
  268. package/dist/chunks/chunk-GMXDW4I3.js.map +1 -0
  269. package/dist/chunks/chunk-GQUBYVP3.js +913 -0
  270. package/dist/chunks/chunk-GQUBYVP3.js.map +1 -0
  271. package/dist/chunks/chunk-GT6TR4B6.js +94 -0
  272. package/dist/chunks/chunk-GT6TR4B6.js.map +1 -0
  273. package/dist/chunks/chunk-H67RKRFW.js +94 -0
  274. package/dist/chunks/chunk-H67RKRFW.js.map +1 -0
  275. package/dist/chunks/chunk-H6KHXSIO.js +8 -0
  276. package/dist/chunks/chunk-H6KHXSIO.js.map +1 -0
  277. package/dist/chunks/chunk-HEP5QRPW.js +94 -0
  278. package/dist/chunks/chunk-HEP5QRPW.js.map +1 -0
  279. package/dist/chunks/chunk-HYMSLOZ7.js +103 -0
  280. package/dist/chunks/chunk-HYMSLOZ7.js.map +1 -0
  281. package/dist/chunks/chunk-I5EA6DJB.js +92 -0
  282. package/dist/chunks/chunk-I5EA6DJB.js.map +1 -0
  283. package/dist/chunks/chunk-IAEGLQ4C.js +144 -0
  284. package/dist/chunks/chunk-IAEGLQ4C.js.map +1 -0
  285. package/dist/chunks/chunk-J2HZTWER.js +8093 -0
  286. package/dist/chunks/chunk-J2HZTWER.js.map +1 -0
  287. package/dist/chunks/chunk-JARLFKS7.js +913 -0
  288. package/dist/chunks/chunk-JARLFKS7.js.map +1 -0
  289. package/dist/chunks/chunk-JATNQ3KB.js +913 -0
  290. package/dist/chunks/chunk-JATNQ3KB.js.map +1 -0
  291. package/dist/chunks/chunk-KCTFNJO4.js +8748 -0
  292. package/dist/chunks/chunk-KCTFNJO4.js.map +1 -0
  293. package/dist/chunks/chunk-KJQYKXDV.js +173 -0
  294. package/dist/chunks/chunk-KJQYKXDV.js.map +1 -0
  295. package/dist/chunks/chunk-KXVYWSJU.js +8068 -0
  296. package/dist/chunks/chunk-KXVYWSJU.js.map +1 -0
  297. package/dist/chunks/chunk-LU5A5PN5.js +8084 -0
  298. package/dist/chunks/chunk-LU5A5PN5.js.map +1 -0
  299. package/dist/chunks/chunk-LUZGWGSR.js +913 -0
  300. package/dist/chunks/chunk-LUZGWGSR.js.map +1 -0
  301. package/dist/chunks/chunk-MI7IF36Z.js +367 -0
  302. package/dist/chunks/chunk-MI7IF36Z.js.map +1 -0
  303. package/dist/chunks/chunk-MOBVIJE2.js +913 -0
  304. package/dist/chunks/chunk-MOBVIJE2.js.map +1 -0
  305. package/dist/chunks/chunk-NBENQI27.js +273 -0
  306. package/dist/chunks/chunk-NBENQI27.js.map +1 -0
  307. package/dist/chunks/chunk-NEAO4XCM.js +913 -0
  308. package/dist/chunks/chunk-NEAO4XCM.js.map +1 -0
  309. package/dist/chunks/chunk-NJ5O743W.js +311 -0
  310. package/dist/chunks/chunk-NJ5O743W.js.map +1 -0
  311. package/dist/chunks/chunk-NMQ4USN7.js +913 -0
  312. package/dist/chunks/chunk-NMQ4USN7.js.map +1 -0
  313. package/dist/chunks/chunk-NPZ3WHOS.js +94 -0
  314. package/dist/chunks/chunk-NPZ3WHOS.js.map +1 -0
  315. package/dist/chunks/chunk-NRKCQIQS.js +8 -0
  316. package/dist/chunks/chunk-NRKCQIQS.js.map +1 -0
  317. package/dist/chunks/chunk-NRNSOUTF.js +913 -0
  318. package/dist/chunks/chunk-NRNSOUTF.js.map +1 -0
  319. package/dist/chunks/chunk-OBAABB63.js +8093 -0
  320. package/dist/chunks/chunk-OBAABB63.js.map +1 -0
  321. package/dist/chunks/chunk-OGAKPUCC.js +502 -0
  322. package/dist/chunks/chunk-OGAKPUCC.js.map +1 -0
  323. package/dist/chunks/chunk-OREGQJ7H.js +19 -0
  324. package/dist/chunks/chunk-OREGQJ7H.js.map +1 -0
  325. package/dist/chunks/chunk-RJZ4D6XM.js +88 -0
  326. package/dist/chunks/chunk-RJZ4D6XM.js.map +1 -0
  327. package/dist/chunks/chunk-RL3NBBKW.js +913 -0
  328. package/dist/chunks/chunk-RL3NBBKW.js.map +1 -0
  329. package/dist/chunks/chunk-S72IAWSO.js +8770 -0
  330. package/dist/chunks/chunk-S72IAWSO.js.map +1 -0
  331. package/dist/chunks/chunk-SDN2PXF7.js +94 -0
  332. package/dist/chunks/chunk-SDN2PXF7.js.map +1 -0
  333. package/dist/chunks/chunk-SRJF5RCP.js +8772 -0
  334. package/dist/chunks/chunk-SRJF5RCP.js.map +1 -0
  335. package/dist/chunks/chunk-SV356YP4.js +31 -0
  336. package/dist/chunks/chunk-SV356YP4.js.map +1 -0
  337. package/dist/chunks/chunk-TBHIUG43.js +19 -0
  338. package/dist/chunks/chunk-TBHIUG43.js.map +1 -0
  339. package/dist/chunks/chunk-TDIRV53C.js +3626 -0
  340. package/dist/chunks/chunk-TDIRV53C.js.map +1 -0
  341. package/dist/chunks/chunk-TJNZKBEN.js +88 -0
  342. package/dist/chunks/chunk-TJNZKBEN.js.map +1 -0
  343. package/dist/chunks/chunk-TU6COU44.js +82 -0
  344. package/dist/chunks/chunk-TU6COU44.js.map +1 -0
  345. package/dist/chunks/chunk-UHQVQBCL.js +89 -0
  346. package/dist/chunks/chunk-UHQVQBCL.js.map +1 -0
  347. package/dist/chunks/chunk-V7DSDBTC.js +142 -0
  348. package/dist/chunks/chunk-V7DSDBTC.js.map +1 -0
  349. package/dist/chunks/chunk-VCFCYQB4.js +315 -0
  350. package/dist/chunks/chunk-VCFCYQB4.js.map +1 -0
  351. package/dist/chunks/chunk-VEASE2VL.js +913 -0
  352. package/dist/chunks/chunk-VEASE2VL.js.map +1 -0
  353. package/dist/chunks/chunk-VHSCCVNF.js +8024 -0
  354. package/dist/chunks/chunk-VHSCCVNF.js.map +1 -0
  355. package/dist/chunks/chunk-VRR4ODZY.js +8009 -0
  356. package/dist/chunks/chunk-VRR4ODZY.js.map +1 -0
  357. package/dist/chunks/chunk-WFUXZ4UT.js +502 -0
  358. package/dist/chunks/chunk-WFUXZ4UT.js.map +1 -0
  359. package/dist/chunks/chunk-WUSKUUQL.js +3639 -0
  360. package/dist/chunks/chunk-WUSKUUQL.js.map +1 -0
  361. package/dist/chunks/chunk-WVB7FS2F.js +913 -0
  362. package/dist/chunks/chunk-WVB7FS2F.js.map +1 -0
  363. package/dist/chunks/chunk-WY5BKP4C.js +19 -0
  364. package/dist/chunks/chunk-WY5BKP4C.js.map +1 -0
  365. package/dist/chunks/chunk-XFJJETQG.js +913 -0
  366. package/dist/chunks/chunk-XFJJETQG.js.map +1 -0
  367. package/dist/chunks/chunk-XNMAPACM.js +19 -0
  368. package/dist/chunks/chunk-XNMAPACM.js.map +1 -0
  369. package/dist/chunks/chunk-Y2DMMGRW.js +8657 -0
  370. package/dist/chunks/chunk-Y2DMMGRW.js.map +1 -0
  371. package/dist/chunks/chunk-Y3UM2YVB.js +8025 -0
  372. package/dist/chunks/chunk-Y3UM2YVB.js.map +1 -0
  373. package/dist/chunks/chunk-Y4DXEVZM.js +8770 -0
  374. package/dist/chunks/chunk-Y4DXEVZM.js.map +1 -0
  375. package/dist/chunks/chunk-Y4VJXTG5.js +8754 -0
  376. package/dist/chunks/chunk-Y4VJXTG5.js.map +1 -0
  377. package/dist/chunks/chunk-YFTXNRNZ.js +913 -0
  378. package/dist/chunks/chunk-YFTXNRNZ.js.map +1 -0
  379. package/dist/chunks/chunk-YRVKKM47.js +365 -0
  380. package/dist/chunks/chunk-YRVKKM47.js.map +1 -0
  381. package/dist/chunks/chunk-YWEWSQJR.js +40 -0
  382. package/dist/chunks/chunk-YWEWSQJR.js.map +1 -0
  383. package/dist/chunks/chunk-Z3PFCZLH.js +913 -0
  384. package/dist/chunks/chunk-Z3PFCZLH.js.map +1 -0
  385. package/dist/chunks/chunk-ZB27F2HA.js +366 -0
  386. package/dist/chunks/chunk-ZB27F2HA.js.map +1 -0
  387. package/dist/exports/computed-item.context.d.ts +2 -1
  388. package/dist/exports/computed.context.d.ts +3 -2
  389. package/dist/exports/config.context.d.ts +3 -1
  390. package/dist/exports/config.context.js +1 -1
  391. package/dist/exports/expression-result.d.ts +2 -2
  392. package/dist/exports/interaction.d.ts +2 -1
  393. package/dist/exports/interaction.js +2 -1
  394. package/dist/exports/item.context.d.ts +2 -1
  395. package/dist/exports/qti-assessment-item.context.d.ts +2 -1
  396. package/dist/exports/qti-condition-expression.d.ts +2 -1
  397. package/dist/exports/qti-condition-expression.js +3 -2
  398. package/dist/exports/qti-expression.d.ts +2 -1
  399. package/dist/exports/qti-expression.js +2 -1
  400. package/dist/exports/qti-test.d.ts +4 -3
  401. package/dist/exports/qti.context.d.ts +14 -0
  402. package/dist/exports/qti.context.js +8 -0
  403. package/dist/exports/qti.context.js.map +1 -0
  404. package/dist/exports/session.context.d.ts +3 -2
  405. package/dist/exports/test.context.d.ts +2 -1
  406. package/dist/exports/variables.d.ts +2 -1
  407. package/dist/index.d.ts +5 -4
  408. package/dist/index.js +76 -56
  409. package/dist/item.css +28 -16
  410. package/dist/qti-components/index.d.ts +146 -3
  411. package/dist/qti-components/index.js +29 -7
  412. package/dist/qti-components-jsx.d.ts +3777 -1467
  413. package/dist/qti-item/components/item-container.js +3 -3
  414. package/dist/qti-item/components/item-correct-response-mode.d.ts +17 -0
  415. package/dist/qti-item/components/item-correct-response-mode.js +62 -0
  416. package/dist/qti-item/components/item-correct-response-mode.js.map +1 -0
  417. package/dist/qti-item/components/item-show-candidate-correction.d.ts +33 -0
  418. package/dist/qti-item/components/item-show-candidate-correction.js +88 -0
  419. package/dist/qti-item/components/item-show-candidate-correction.js.map +1 -0
  420. package/dist/qti-item/components/item-show-correct-response.d.ts +2 -1
  421. package/dist/qti-item/components/item-show-correct-response.js +1 -1
  422. package/dist/qti-item/components/print-item-variables.d.ts +2 -1
  423. package/dist/qti-item/core/index.d.ts +10 -3
  424. package/dist/qti-item/core/index.js +8 -7
  425. package/dist/qti-loader/index.d.ts +2 -1
  426. package/dist/qti-loader/index.js +2 -2
  427. package/dist/qti-response-declaration-B7a6N0wt.d.ts +1380 -0
  428. package/dist/qti-response-declaration-BTiPhwZv.d.ts +1370 -0
  429. package/dist/qti-response-declaration-Bthfzhwd.d.ts +1385 -0
  430. package/dist/qti-response-declaration-CIPGNbno.d.ts +1361 -0
  431. package/dist/qti-response-declaration-CNP03Vcb.d.ts +1386 -0
  432. package/dist/qti-response-declaration-CTRNB113.d.ts +1385 -0
  433. package/dist/qti-response-declaration-CXb5CI4-.d.ts +1361 -0
  434. package/dist/qti-response-declaration-Cbj7E4ND.d.ts +1372 -0
  435. package/dist/qti-response-declaration-DRNG6zLy.d.ts +1370 -0
  436. package/dist/qti-response-declaration-DuRT3sKx.d.ts +1380 -0
  437. package/dist/qti-response-declaration-GPP3SVur.d.ts +1372 -0
  438. package/dist/qti-response-declaration-xVcD4HvN.d.ts +1386 -0
  439. package/dist/qti-test/components/index.d.ts +3 -2
  440. package/dist/qti-test/components/index.js +33 -33
  441. package/dist/qti-test/components/test-container.js +3 -3
  442. package/dist/qti-test/components/test-navigation.d.ts +16 -3
  443. package/dist/qti-test/components/test-navigation.js +3 -2
  444. package/dist/qti-test/components/test-next.d.ts +3 -2
  445. package/dist/qti-test/components/test-next.js +1 -2
  446. package/dist/qti-test/components/test-prev.d.ts +3 -2
  447. package/dist/qti-test/components/test-prev.js +1 -2
  448. package/dist/qti-test/components/test-print-context.d.ts +3 -2
  449. package/dist/qti-test/components/test-print-item-variables.d.ts +3 -2
  450. package/dist/qti-test/components/test-scoring-buttons.d.ts +3 -2
  451. package/dist/qti-test/components/test-scoring-buttons.js +1 -1
  452. package/dist/qti-test/components/test-scoring-feedback.d.ts +3 -2
  453. package/dist/qti-test/components/test-scoring-feedback.js +1 -1
  454. package/dist/qti-test/components/test-show-correct-response.d.ts +3 -2
  455. package/dist/qti-test/components/test-view.js +2 -2
  456. package/dist/qti-test/core/index.d.ts +4 -3
  457. package/dist/qti-test/core/index.js +11 -10
  458. package/dist/qti-test-feedback-B0W2B5wQ.d.ts +91 -0
  459. package/dist/qti-test-feedback-B1kTnqnI.d.ts +91 -0
  460. package/dist/qti-test-feedback-BAUInn-q.d.ts +91 -0
  461. package/dist/qti-test-feedback-BWerRaNG.d.ts +91 -0
  462. package/dist/qti-test-feedback-BXdbgpY8.d.ts +91 -0
  463. package/dist/qti-test-feedback-Bbt2VWE1.d.ts +91 -0
  464. package/dist/qti-test-feedback-C-PQYZWl.d.ts +91 -0
  465. package/dist/qti-test-feedback-CuTA6S46.d.ts +91 -0
  466. package/dist/qti-test-feedback-DUxJARNH.d.ts +91 -0
  467. package/dist/qti-test-feedback-Ddb0QQyz.d.ts +91 -0
  468. package/dist/qti-test-feedback-SkEfQjOR.d.ts +91 -0
  469. package/dist/qti-test-feedback-TcrkevLg.d.ts +91 -0
  470. package/dist/qti-transformers/index.d.ts +17 -1
  471. package/dist/qti-transformers/index.js +1 -1
  472. package/dist/vscode.html-custom-data.json +162 -39
  473. package/package.json +62 -65
@@ -0,0 +1,3636 @@
1
+ import{b,d as q,j as m}from"./chunk-6BGG2JJR.js";import{f as s}from"./chunk-65CZNGQC.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??(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(readonly),
2032
+ &[aria-readonly='true'] {
2033
+ cursor: pointer;
2034
+ background-color: var(--qti-bg);
2035
+ outline: 0;
2036
+ border: none;
2037
+ }
2038
+
2039
+ &:state(disabled),
2040
+ &[aria-disabled='true'] {
2041
+ cursor: not-allowed;
2042
+ background-color: var(--qti-disabled-bg);
2043
+ color: var(--qti-disabled-color);
2044
+ border-color: var(--qti-border-color);
2045
+ outline: 4px solid var(--qti-disabled-bg);
2046
+ }
2047
+
2048
+ &::part(cha) {
2049
+ width: calc(var(--qti-form-size) - 6px);
2050
+ height: calc(var(--qti-form-size) - 6px);
2051
+ }
2052
+
2053
+ &:state(radio)::part(ch) {
2054
+ border-radius: 100%;
2055
+ display: grid;
2056
+ place-content: center;
2057
+ width: var(--qti-form-size);
2058
+ height: var(--qti-form-size);
2059
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2060
+ outline: none;
2061
+ }
2062
+
2063
+ &:state(radio):state(--checked)::part(cha) {
2064
+ background-color: var(--qti-border-active);
2065
+ border-radius: 100%;
2066
+ }
2067
+
2068
+ &:state(checkbox)::part(ch) {
2069
+ display: flex;
2070
+ place-items: center;
2071
+ border-radius: var(--qti-border-radius);
2072
+ display: grid;
2073
+ place-content: center;
2074
+ width: var(--qti-form-size);
2075
+ height: var(--qti-form-size);
2076
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2077
+ outline: none;
2078
+ }
2079
+
2080
+ &:state(checkbox):state(--checked)::part(cha) {
2081
+ background-color: var(--qti-border-active);
2082
+ -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");
2083
+ 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");
2084
+ }
2085
+
2086
+ gap: 0.5rem;
2087
+
2088
+ background-color: var(--qti-bg);
2089
+
2090
+ border-radius: var(--qti-border-radius);
2091
+
2092
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2093
+
2094
+ outline: none;
2095
+
2096
+ cursor: pointer
2097
+ }
2098
+ }
2099
+
2100
+ /* stylelint-disable-next-line no-descending-specificity */
2101
+ & qti-simple-choice {
2102
+ width: -moz-fit-content;
2103
+ width: fit-content;
2104
+ cursor: pointer;
2105
+
2106
+ /* Keep the checkmark for non-hidden input controls */
2107
+ &:state(correct-response),
2108
+ &[data-correct-response='true'] {
2109
+ /* stylelint-disable-next-line no-descending-specificity */
2110
+ &::after {
2111
+ content: '\\02714';
2112
+ color: var(--qti-correct);
2113
+ }
2114
+ }
2115
+
2116
+ /* stylelint-disable-next-line no-descending-specificity */
2117
+ &:state(candidate-correct) {
2118
+ background-color: var(--qti-correct) !important;
2119
+ }
2120
+
2121
+ /* stylelint-disable-next-line no-descending-specificity */
2122
+ &:state(candidate-incorrect) {
2123
+ background-color: var(--qti-incorrect) !important;
2124
+ }
2125
+ }
2126
+
2127
+ & qti-simple-choice > p {
2128
+ margin: 0 !important;
2129
+ padding: 0 !important;
2130
+ }
2131
+ }
2132
+
2133
+ .hover-border {
2134
+ border: 2px solid #000; /* Adjust the border style and color as needed */
2135
+ }
2136
+
2137
+ qti-graphic-gap-match-interaction {
2138
+ position: relative;
2139
+
2140
+ &.qti-selections-light {
2141
+ &:state(--dragzone-active)::part(drags) {
2142
+ background-color: var(--qti-light-bg-active);
2143
+ border-color: var(--qti-light-border-active);
2144
+ }
2145
+
2146
+ &:state(--dragzone-enabled)::part(drags) {
2147
+ background-color: var(--qti-light-bg-active);
2148
+ }
2149
+ }
2150
+
2151
+ &.qti-selections-dark {
2152
+ &:state(--dragzone-active)::part(drags) {
2153
+ background-color: var(--qti-dark-bg-active);
2154
+ border-color: var(--qti-dark-border-active);
2155
+ }
2156
+
2157
+ &:state(--dragzone-enabled)::part(drags) {
2158
+ background-color: var(--qti-dark-bg-active);
2159
+ }
2160
+ }
2161
+
2162
+ /* General styles for active and enabled states */
2163
+ &:state(--dragzone-active)::part(drags) {
2164
+ border-color: var(--qti-border-active);
2165
+ background-color: var(--qti-bg-active);
2166
+ }
2167
+
2168
+ &:state(--dragzone-enabled)::part(drags) {
2169
+ background-color: var(--qti-bg-active);
2170
+ }
2171
+
2172
+ & qti-gap-img,
2173
+ qti-gap-text {
2174
+ display: flex;
2175
+ justify-content: center;
2176
+ align-items: center;
2177
+ cursor: grab;
2178
+ }
2179
+
2180
+ & qti-associable-hotspot {
2181
+ display: flex;
2182
+ justify-content: center;
2183
+ align-items: center;
2184
+ border: 2px solid transparent;
2185
+
2186
+ &[enabled] {
2187
+
2188
+ /* Light theme override */
2189
+ .qti-selections-light {
2190
+ background-color: var(--qti-light-bg-active);
2191
+ }
2192
+
2193
+ /* Dark theme override */
2194
+ .qti-selections-dark {
2195
+ background-color: var(--qti-dark-bg-active);
2196
+ }
2197
+ background-color: var(--qti-bg-active)
2198
+ }
2199
+
2200
+ &[active] {
2201
+
2202
+ /* Light theme override */
2203
+ .qti-selections-light {
2204
+ background-color: var(--qti-light-bg-active);
2205
+ border-color: var(--qti-light-border-active);
2206
+ }
2207
+
2208
+ /* Dark theme override */
2209
+ .qti-selections-dark {
2210
+ background-color: var(--qti-dark-bg-active);
2211
+ border-color: var(--qti-dark-border-active);
2212
+ }
2213
+ border-color: var(--qti-border-active);
2214
+ background-color: var(--qti-bg-active)
2215
+ }
2216
+
2217
+ &[disabled] {
2218
+
2219
+ &:not(:empty) {
2220
+ cursor: default !important;
2221
+ }
2222
+
2223
+ cursor: not-allowed;
2224
+
2225
+ background-color: var(--qti-disabled-bg);
2226
+
2227
+ color: var(--qti-disabled-color);
2228
+
2229
+ border-color: var(--qti-border-color);
2230
+
2231
+ outline: 4px solid var(--qti-disabled-bg)
2232
+ }
2233
+
2234
+ &:empty::after {
2235
+ padding: var(--qti-padding-md) var(--qti-padding-lg); /* Padding shorthand */
2236
+ content: '\\0000a0'; /* when empty, put a space in it */
2237
+ }
2238
+
2239
+ &:not(:empty) {
2240
+ padding: 0;
2241
+ width: auto;
2242
+ }
2243
+
2244
+ &:not(:empty) > * {
2245
+ flex: 1;
2246
+ transform: rotate(0); /* rotate-0 */
2247
+ box-shadow: 0 0 0 1px #e5e7eb; /* ring-gray-200 */
2248
+ }
2249
+ }
2250
+
2251
+ & img {
2252
+ margin: 0;
2253
+ padding: 0;
2254
+ }
2255
+ }
2256
+
2257
+ qti-text-entry-interaction {
2258
+ &::part(input) {
2259
+ border-radius: 0;
2260
+ cursor: text;
2261
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2262
+ background: var(--qti-bg);
2263
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2264
+ outline: none;
2265
+ }
2266
+
2267
+ &:hover {
2268
+ }
2269
+
2270
+ &:focus-within {
2271
+ &::part(input) {
2272
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2273
+ border-color: var(--qti-border-active);
2274
+ }
2275
+ }
2276
+ }
2277
+
2278
+ qti-extended-text-interaction {
2279
+ &::part(textarea) {
2280
+ border-radius: 0;
2281
+ cursor: text;
2282
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2283
+ background: var(--qti-bg);
2284
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2285
+ outline: none;
2286
+ }
2287
+
2288
+ &:hover {
2289
+ }
2290
+
2291
+ &:focus-within {
2292
+ &::part(textarea) {
2293
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2294
+ border-color: var(--qti-border-active);
2295
+ }
2296
+ }
2297
+ }
2298
+
2299
+ qti-gap-match-interaction {
2300
+ &.qti-selections-light {
2301
+ &:state(--dragzone-active)::part(drags) {
2302
+ background-color: var(--qti-light-bg-active);
2303
+ border-color: var(--qti-light-border-active);
2304
+ }
2305
+
2306
+ &:state(--dragzone-enabled)::part(drags) {
2307
+ background-color: var(--qti-light-bg-active);
2308
+ }
2309
+ }
2310
+
2311
+ &.qti-selections-dark {
2312
+ &:state(--dragzone-active)::part(drags) {
2313
+ background-color: var(--qti-dark-bg-active);
2314
+ border-color: var(--qti-dark-border-active);
2315
+ }
2316
+
2317
+ &:state(--dragzone-enabled)::part(drags) {
2318
+ background-color: var(--qti-dark-bg-active);
2319
+ }
2320
+ }
2321
+
2322
+ /* General styles for active and enabled states */
2323
+ &:state(--dragzone-active)::part(drags) {
2324
+ border-color: var(--qti-border-active);
2325
+ background-color: var(--qti-bg-active);
2326
+ }
2327
+
2328
+ &:state(--dragzone-enabled)::part(drags) {
2329
+ background-color: var(--qti-bg-active);
2330
+ }
2331
+
2332
+ & qti-gap-text {
2333
+
2334
+ &[dragging] {
2335
+ pointer-events: none;
2336
+ rotate: -2deg;
2337
+ box-shadow: 0 8px 12px rgb(0 0 0 / 20%),
2338
+ 0 4px 8px rgb(0 0 0 / 10%);
2339
+ }
2340
+
2341
+ &:hover {
2342
+ }
2343
+
2344
+ &:focus {
2345
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2346
+ }
2347
+
2348
+ transition: transform 200ms ease-out,
2349
+ box-shadow 200ms ease-out,
2350
+ rotate 200ms ease-out;
2351
+
2352
+ cursor: grab;
2353
+
2354
+ background-color: var(--qti-bg);
2355
+
2356
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2357
+
2358
+ border-radius: var(--qti-border-radius);
2359
+
2360
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2361
+
2362
+ outline: none
2363
+ }
2364
+
2365
+ & qti-gap {
2366
+
2367
+ &[disabled] {
2368
+
2369
+ &:not(:empty) {
2370
+ cursor: default !important;
2371
+ }
2372
+
2373
+ cursor: not-allowed;
2374
+
2375
+ background-color: var(--qti-disabled-bg);
2376
+
2377
+ color: var(--qti-disabled-color);
2378
+
2379
+ border-color: var(--qti-border-color);
2380
+
2381
+ outline: 4px solid var(--qti-disabled-bg)
2382
+ }
2383
+
2384
+ &[enabled] {
2385
+
2386
+ /* Light theme override */
2387
+ .qti-selections-light {
2388
+ border-color: var(--qti-light-border-active);
2389
+ }
2390
+
2391
+ /* Dark theme override */
2392
+ .qti-selections-dark {
2393
+ border-color: var(--qti-dark-border-active);
2394
+ }
2395
+ background-color: var(--qti-bg-active)
2396
+ }
2397
+
2398
+ &[active] {
2399
+
2400
+ /* Light theme override */
2401
+ .qti-selections-light {
2402
+ background-color: var(--qti-light-bg-active);
2403
+ border-color: var(--qti-light-border-active);
2404
+ }
2405
+
2406
+ /* Dark theme override */
2407
+ .qti-selections-dark {
2408
+ background-color: var(--qti-dark-bg-active);
2409
+ border-color: var(--qti-dark-border-active);
2410
+ }
2411
+ border-color: var(--qti-border-active);
2412
+ background-color: var(--qti-bg-active)
2413
+ }
2414
+
2415
+ display: inline-flex;
2416
+ align-items: center;
2417
+
2418
+ &:empty::after {
2419
+ padding: var(--qti-padding-md) var(--qti-padding-lg); /* Padding shorthand */
2420
+ content: '\\0000a0'; /* when empty, put a space in it */
2421
+ }
2422
+
2423
+ &:not(:empty) {
2424
+ display: inline-flex;
2425
+ padding: 0;
2426
+ width: auto;
2427
+ }
2428
+
2429
+ &:not(:empty) > * {
2430
+ flex: 1;
2431
+ transform: rotate(0); /* rotate-0 */
2432
+ box-shadow: 0 0 0 1px #e5e7eb; /* ring-gray-200 */
2433
+ }
2434
+
2435
+ border: var(--qti-border-thickness) dashed var(--qti-border-color);
2436
+
2437
+ 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>')
2438
+ center no-repeat;
2439
+
2440
+ border-radius: var(--qti-border-radius);
2441
+
2442
+ position: relative;
2443
+
2444
+ background-color: var(--qti-bg)
2445
+ }
2446
+ }
2447
+
2448
+ qti-hotspot-interaction {
2449
+ & qti-hotspot-choice {
2450
+ &[shape='circle'] {
2451
+
2452
+ &:hover {
2453
+ }
2454
+
2455
+ &:focus {
2456
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2457
+ }
2458
+
2459
+ &:state(--checked),
2460
+ &[aria-checked='true'] {
2461
+ border-color: var(--qti-border-active);
2462
+ }
2463
+
2464
+ &:state(--readonly),
2465
+ &[aria-readonly='true'] {
2466
+ cursor: pointer;
2467
+ background-color: var(--qti-bg);
2468
+ outline: 0;
2469
+ border: none;
2470
+ }
2471
+
2472
+ &:state(--disabled),
2473
+ &[aria-disabled='true'] {
2474
+ cursor: not-allowed;
2475
+ background-color: var(--qti-disabled-bg);
2476
+ color: var(--qti-disabled-color);
2477
+ border-color: var(--qti-border-color);
2478
+ outline: 4px solid var(--qti-disabled-bg);
2479
+ }
2480
+
2481
+ width: 100%;
2482
+
2483
+ height: 100%;
2484
+
2485
+ background-color: transparent;
2486
+
2487
+ padding: 0;
2488
+
2489
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2490
+
2491
+ outline: none
2492
+ }
2493
+
2494
+ &[shape='rect'] {
2495
+
2496
+ /* &:hover {
2497
+ @apply hov;
2498
+ } */
2499
+
2500
+ &:focus {
2501
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2502
+ }
2503
+
2504
+ &:state(--checked),
2505
+ &[aria-checked='true'] {
2506
+ border-color: var(--qti-border-active);
2507
+ }
2508
+
2509
+ &[aria-readonly='true'] {
2510
+ cursor: pointer;
2511
+ background-color: var(--qti-bg);
2512
+ outline: 0;
2513
+ border: none;
2514
+ }
2515
+
2516
+ &[aria-disabled='true'] {
2517
+ cursor: not-allowed;
2518
+ background-color: var(--qti-disabled-bg);
2519
+ color: var(--qti-disabled-color);
2520
+ border-color: var(--qti-border-color);
2521
+ outline: 4px solid var(--qti-disabled-bg);
2522
+ }
2523
+
2524
+ width: 100%;
2525
+
2526
+ height: 100%;
2527
+
2528
+ background-color: transparent;
2529
+
2530
+ padding: 0;
2531
+
2532
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2533
+
2534
+ outline: none
2535
+ }
2536
+
2537
+ &[shape='poly'] {
2538
+ &:hover::after {
2539
+ content: '';
2540
+ width: 100%;
2541
+ height: 100%;
2542
+ background: repeating-linear-gradient(
2543
+ 45deg,
2544
+ var(--qti-border-active),
2545
+ var(--qti-border-active) 5px,
2546
+ transparent 5px,
2547
+ transparent 10px
2548
+ );
2549
+ display: block;
2550
+ }
2551
+
2552
+ &:state(--checked)::after,
2553
+ &[aria-checked='true']::after {
2554
+ content: '';
2555
+ width: 100%;
2556
+ height: 100%;
2557
+ background: repeating-linear-gradient(
2558
+ 45deg,
2559
+ transparent,
2560
+ transparent 5px,
2561
+ var(--qti-border-active) 5px,
2562
+ var(--qti-border-active) 10px
2563
+ );
2564
+ display: block;
2565
+ }
2566
+
2567
+ &[aria-readonly='true'] {
2568
+ cursor: pointer;
2569
+ background-color: var(--qti-bg);
2570
+ outline: 0;
2571
+ border: none;
2572
+ }
2573
+
2574
+ &[aria-disabled='true'] {
2575
+ cursor: not-allowed;
2576
+ background-color: var(--qti-disabled-bg);
2577
+ color: var(--qti-disabled-color);
2578
+ border-color: var(--qti-border-color);
2579
+ outline: 4px solid var(--qti-disabled-bg);
2580
+ }
2581
+ }
2582
+ }
2583
+ }
2584
+
2585
+ qti-hottext-interaction {
2586
+ /* &:not(.qti-input-control-hidden),
2587
+ &:not(.qti-unselected-hidden) { */
2588
+ qti-hottext {
2589
+ display: inline-flex;
2590
+ align-items: center;
2591
+
2592
+ &:hover {
2593
+ }
2594
+
2595
+ &:focus {
2596
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2597
+ }
2598
+
2599
+ &::part(cha) {
2600
+ width: calc(var(--qti-form-size) - 6px);
2601
+ height: calc(var(--qti-form-size) - 6px);
2602
+ }
2603
+
2604
+ &:state(radio)::part(ch) {
2605
+ border-radius: 100%;
2606
+ display: grid;
2607
+ place-content: center;
2608
+ width: var(--qti-form-size);
2609
+ height: var(--qti-form-size);
2610
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2611
+ outline: none;
2612
+ }
2613
+
2614
+ &:state(radio):state(--checked)::part(cha) {
2615
+ background-color: var(--qti-border-active);
2616
+ border-radius: 100%;
2617
+ }
2618
+
2619
+ &:state(checkbox)::part(ch) {
2620
+ display: flex;
2621
+ place-items: center;
2622
+ border-radius: var(--qti-border-radius);
2623
+ display: grid;
2624
+ place-content: center;
2625
+ width: var(--qti-form-size);
2626
+ height: var(--qti-form-size);
2627
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2628
+ outline: none;
2629
+ }
2630
+
2631
+ &:state(checkbox):state(--checked)::part(cha) {
2632
+ background-color: var(--qti-border-active);
2633
+ -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");
2634
+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' width='100%' height='100%' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E");
2635
+ }
2636
+
2637
+ &:state(correct-response),
2638
+ &[data-correct-response='true'] {
2639
+ &::after {
2640
+ content: '\\02714';
2641
+ color: #16a34a; /* text-green-600 */
2642
+ }
2643
+ }
2644
+
2645
+ gap: 0.5rem;
2646
+
2647
+ background-color: var(--qti-bg);
2648
+
2649
+ border-radius: var(--qti-border-radius);
2650
+
2651
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2652
+
2653
+ outline: none;
2654
+
2655
+ cursor: pointer
2656
+ }
2657
+
2658
+ &.qti-input-control-hidden {
2659
+ qti-hottext {
2660
+ /* --qti-padding-md: 0.1rem;
2661
+ --qti-padding-lg: 0.2rem;
2662
+ --qti-border-radius-md: 0.3rem;
2663
+ --qti-border-thickness: 1px;
2664
+ --qti-font-weight-semibold: 400; */
2665
+
2666
+ &:hover {
2667
+ }
2668
+
2669
+ &:focus {
2670
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2671
+ }
2672
+
2673
+ /* @layer qti-variants { */
2674
+ &::part(ch) {
2675
+ display: none;
2676
+ }
2677
+
2678
+ &:state(--checked) {
2679
+ border-color: var(--qti-border-active);
2680
+ background-color: var(--qti-bg-active);
2681
+ }
2682
+
2683
+ &[aria-readonly='true'] {
2684
+ cursor: pointer;
2685
+ background-color: var(--qti-bg);
2686
+ outline: 0;
2687
+ border: none;
2688
+ }
2689
+
2690
+ &[aria-disabled='true'] {
2691
+ cursor: not-allowed;
2692
+ background-color: var(--qti-disabled-bg);
2693
+ color: var(--qti-disabled-color);
2694
+ border-color: var(--qti-border-color);
2695
+ outline: 4px solid var(--qti-disabled-bg);
2696
+ }
2697
+
2698
+ border-radius: var(--qti-border-radius);
2699
+
2700
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2701
+
2702
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2703
+
2704
+ outline: none
2705
+ }
2706
+
2707
+ /* } */
2708
+ }
2709
+
2710
+ &.qti-unselected-hidden {
2711
+ qti-hottext {
2712
+ &:hover {
2713
+ }
2714
+
2715
+ &:focus {
2716
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2717
+ }
2718
+
2719
+ cursor: pointer;
2720
+
2721
+ &::part(ch) {
2722
+ display: none;
2723
+ }
2724
+
2725
+ &:state(--checked) {
2726
+ background-color: var(--qti-bg-active);
2727
+ }
2728
+
2729
+ &[aria-readonly='true'] {
2730
+ cursor: pointer;
2731
+ background-color: var(--qti-bg);
2732
+ outline: 0;
2733
+ border: none;
2734
+ }
2735
+
2736
+ &[aria-disabled='true'] {
2737
+ cursor: not-allowed;
2738
+ background-color: var(--qti-disabled-bg);
2739
+ color: var(--qti-disabled-color);
2740
+ border-color: var(--qti-border-color);
2741
+ outline: 4px solid var(--qti-disabled-bg);
2742
+ }
2743
+ }
2744
+ }
2745
+ }
2746
+
2747
+ qti-inline-choice-interaction {
2748
+ &::part(select) {
2749
+
2750
+ &:hover {
2751
+ }
2752
+
2753
+ &:focus {
2754
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2755
+ }
2756
+
2757
+ border-radius: var(--qti-border-radius);
2758
+
2759
+ position: relative;
2760
+
2761
+ -webkit-appearance: none;
2762
+
2763
+ -moz-appearance: none;
2764
+
2765
+ appearance: none;
2766
+
2767
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2768
+
2769
+ padding-right: calc(var(--qti-padding-horizontal) + 1.5rem);
2770
+
2771
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2772
+
2773
+ outline: none;
2774
+
2775
+ 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")
2776
+ no-repeat center right 6px
2777
+ }
2778
+ }
2779
+
2780
+ qti-match-interaction.qti-match-tabular {
2781
+ /* Table element */
2782
+ &::part(table) {
2783
+ border-collapse: collapse;
2784
+ width: 100%;
2785
+ table-layout: fixed;
2786
+ }
2787
+
2788
+ /* Row headers */
2789
+ &::part(r-header) {
2790
+ background-color: var(--qti-bg-active, #f8f8f8);
2791
+ font-weight: 500;
2792
+ text-align: center;
2793
+ padding: 8px;
2794
+ border: 1px solid #ddd;
2795
+ }
2796
+
2797
+ /* Column headers */
2798
+ &::part(c-header) {
2799
+ background-color: var(--qti-bg-active, #f8f8f8);
2800
+ font-weight: 500;
2801
+ text-align: left;
2802
+ padding: 8px 15px;
2803
+ border: 1px solid #ddd;
2804
+ }
2805
+
2806
+ /* Table rows */
2807
+ &::part(row) {
2808
+ border-bottom: 1px solid #ddd;
2809
+ }
2810
+
2811
+ /* Input cells */
2812
+ &::part(input-cell) {
2813
+ text-align: center;
2814
+ vertical-align: middle;
2815
+ height: 48px;
2816
+ border: 1px solid #ddd;
2817
+ padding: 8px;
2818
+ }
2819
+
2820
+ /* Radio button styling */
2821
+ &::part(rb) {
2822
+ -webkit-appearance: none;
2823
+ -moz-appearance: none;
2824
+ appearance: none;
2825
+ width: 24px;
2826
+ height: 24px;
2827
+ border-radius: 50%;
2828
+ border: 2px solid var(--qti-border-active, #2196f3);
2829
+ background-color: transparent !important;
2830
+ margin: 0 auto;
2831
+ cursor: pointer;
2832
+ display: block;
2833
+ }
2834
+
2835
+ /* Radio button checked state */
2836
+ &::part(rb-checked) {
2837
+ box-shadow: inset 0 0 0 6px var(--qti-border-active, #2196f3);
2838
+ }
2839
+
2840
+ /* Checkbox styling */
2841
+ &::part(cb) {
2842
+ -webkit-appearance: none;
2843
+ -moz-appearance: none;
2844
+ appearance: none;
2845
+ width: 24px;
2846
+ height: 24px;
2847
+ border-radius: 3px;
2848
+ border: 2px solid var(--qti-border-active, #2196f3);
2849
+ background-color: transparent !important;
2850
+ margin: 0 auto;
2851
+ cursor: pointer;
2852
+ display: block;
2853
+ }
2854
+
2855
+ /* Checkbox checked state - only change border if we're adding an SVG checkmark */
2856
+ &::part(cb-checked) {
2857
+ background-color: var(--qti-border-active, #2196f3) !important;
2858
+ }
2859
+
2860
+ &::part(checkmark) {
2861
+ position: absolute;
2862
+ width: 18px;
2863
+ height: 18px;
2864
+ top: 3px;
2865
+ left: 3px;
2866
+ pointer-events: none;
2867
+ }
2868
+
2869
+ /* Correct answers for both types */
2870
+ &::part(rb-correct) {
2871
+ border-color: var(--qti-correct, #4caf50);
2872
+ }
2873
+
2874
+ &::part(rb-checked rb-correct) {
2875
+ box-shadow: inset 0 0 0 6px var(--qti-correct, #4caf50);
2876
+ }
2877
+
2878
+ &::part(cb-correct) {
2879
+ border-color: var(--qti-correct, #4caf50);
2880
+ }
2881
+
2882
+ &::part(cb-checked cb-correct) {
2883
+ background-color: var(--qti-correct, #4caf50) !important;
2884
+ }
2885
+
2886
+ /* Incorrect answers for both types */
2887
+ &::part(rb-incorrect) {
2888
+ border-color: var(--qti-incorrect, #f44336);
2889
+ }
2890
+
2891
+ &::part(rb-checked rb-incorrect) {
2892
+ box-shadow: inset 0 0 0 6px var(--qti-incorrect, #f44336);
2893
+ }
2894
+
2895
+ &::part(cb-incorrect) {
2896
+ border-color: var(--qti-incorrect, #f44336);
2897
+ }
2898
+
2899
+ &::part(cb-checked cb-incorrect) {
2900
+ background-color: var(--qti-incorrect, #f44336) !important;
2901
+ }
2902
+ }
2903
+
2904
+ qti-match-interaction:not(.qti-match-tabular) {
2905
+ &:state(--dragzone-enabled) qti-simple-match-set:first-of-type {
2906
+ background-color: var(--qti-bg-active);
2907
+ }
2908
+
2909
+ &:state(--dragzone-active) qti-simple-match-set:first-of-type {
2910
+ border-color: var(--qti-border-active);
2911
+ background-color: var(--qti-bg-active);
2912
+ }
2913
+
2914
+ /* The draggables */
2915
+ & qti-simple-match-set:first-of-type {
2916
+ display: flex;
2917
+ flex-wrap: wrap;
2918
+ align-items: flex-start; /* Prevents children from stretching */
2919
+ gap: var(--qti-gap-size);
2920
+ border: 2px solid transparent;
2921
+
2922
+ & qti-simple-associable-choice {
2923
+
2924
+ &[dragging] {
2925
+ pointer-events: none;
2926
+ rotate: -2deg;
2927
+ box-shadow: 0 8px 12px rgb(0 0 0 / 20%),
2928
+ 0 4px 8px rgb(0 0 0 / 10%);
2929
+ }
2930
+
2931
+ &:hover {
2932
+ }
2933
+
2934
+ &:focus {
2935
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2936
+ }
2937
+
2938
+ transition: transform 200ms ease-out,
2939
+ box-shadow 200ms ease-out,
2940
+ rotate 200ms ease-out;
2941
+
2942
+ cursor: grab;
2943
+
2944
+ background-color: var(--qti-bg);
2945
+
2946
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2947
+
2948
+ border-radius: var(--qti-border-radius);
2949
+
2950
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2951
+
2952
+ outline: none
2953
+ }
2954
+ }
2955
+
2956
+ /* The droppables */
2957
+ & qti-simple-match-set:last-of-type {
2958
+ display: grid;
2959
+ grid-auto-columns: 1fr; /* auto-cols-fr */
2960
+ grid-auto-flow: column; /* grid-flow-col */
2961
+ gap: var(--qti-gap-size); /* gap-2 */
2962
+ width: 100%; /* w-full */
2963
+
2964
+ & qti-simple-associable-choice {
2965
+ display: flex;
2966
+ flex-direction: column;
2967
+ }
2968
+
2969
+ & > qti-simple-associable-choice {
2970
+ /* a droppable qti-simple-associable-choice */
2971
+ box-sizing: border-box;
2972
+ display: grid;
2973
+ grid-row: 2 / 4;
2974
+ grid-template-rows: subgrid;
2975
+
2976
+ & img {
2977
+ max-width: 100%;
2978
+ height: auto;
2979
+ }
2980
+
2981
+ &[enabled] {
2982
+ &::part(dropslot) {
2983
+ background-color: var(--qti-bg-active);
2984
+ }
2985
+ }
2986
+
2987
+ &[disabled] {
2988
+ &::part(dropslot) {
2989
+ cursor: not-allowed;
2990
+ background-color: var(--qti-disabled-bg);
2991
+ color: var(--qti-disabled-color);
2992
+ border-color: var(--qti-border-color);
2993
+ outline: 4px solid var(--qti-disabled-bg);
2994
+ }
2995
+ }
2996
+
2997
+ &[active] {
2998
+ &::part(dropslot) {
2999
+ border-color: var(--qti-border-active);
3000
+ background-color: var(--qti-bg-active);
3001
+ }
3002
+ }
3003
+
3004
+ &::part(dropslot) {
3005
+
3006
+ &[dragging] {
3007
+ pointer-events: none;
3008
+ rotate: -2deg;
3009
+ box-shadow: 0 8px 12px rgb(0 0 0 / 20%),
3010
+ 0 4px 8px rgb(0 0 0 / 10%);
3011
+ }
3012
+
3013
+ &:focus {
3014
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3015
+ }
3016
+
3017
+ /* min-height: 6rem; */
3018
+ min-height: calc(1lh + 2 * var(--qti-padding-vertical));
3019
+ gap: var(--qti-gap-size);
3020
+ box-sizing: border-box;
3021
+ display: flex;
3022
+ justify-content: center;
3023
+ align-items: center;
3024
+ border: var(--qti-border-thickness) dashed var(--qti-border-color);
3025
+ 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>')
3026
+ center no-repeat;
3027
+ border-radius: var(--qti-border-radius);
3028
+ position: relative;
3029
+ background-color: var(--qti-bg);
3030
+ }
3031
+
3032
+ & > *:not(qti-simple-associable-choice) {
3033
+ pointer-events: none;
3034
+ }
3035
+
3036
+ & > qti-simple-associable-choice {
3037
+
3038
+ &::part(dropslot) {
3039
+ display: none;
3040
+ }
3041
+
3042
+ &:hover {
3043
+ }
3044
+
3045
+ &:focus {
3046
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3047
+ }
3048
+
3049
+ flex-basis: fit-content;
3050
+
3051
+ transition: transform 200ms ease-out,
3052
+ box-shadow 200ms ease-out,
3053
+ rotate 200ms ease-out;
3054
+
3055
+ cursor: grab;
3056
+
3057
+ background-color: var(--qti-bg);
3058
+
3059
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
3060
+
3061
+ border-radius: var(--qti-border-radius);
3062
+
3063
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3064
+
3065
+ outline: none;
3066
+ }
3067
+ }
3068
+ }
3069
+ }
3070
+
3071
+ qti-order-interaction:state(--dragzone-active)::part(drags) {
3072
+ border-color: var(--qti-border-active);
3073
+ background-color: var(--qti-bg-active);
3074
+ }
3075
+
3076
+ qti-order-interaction:state(--dragzone-enabled)::part(drags) {
3077
+ background-color: var(--qti-bg-active);
3078
+ }
3079
+
3080
+ qti-order-interaction {
3081
+ &::part(qti-simple-choice),
3082
+ & qti-simple-choice {
3083
+
3084
+ &[dragging] {
3085
+ pointer-events: none;
3086
+ rotate: -2deg;
3087
+ box-shadow: 0 8px 12px rgb(0 0 0 / 20%),
3088
+ 0 4px 8px rgb(0 0 0 / 10%);
3089
+ }
3090
+
3091
+ &:hover {
3092
+ }
3093
+
3094
+ &:focus {
3095
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3096
+ }
3097
+
3098
+ transition: transform 200ms ease-out,
3099
+ box-shadow 200ms ease-out,
3100
+ rotate 200ms ease-out;
3101
+
3102
+ cursor: grab;
3103
+
3104
+ background-color: var(--qti-bg);
3105
+
3106
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
3107
+
3108
+ border-radius: var(--qti-border-radius);
3109
+
3110
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3111
+
3112
+ outline: none
3113
+ }
3114
+
3115
+ &::part(qti-simple-choice) {
3116
+ display: flex;
3117
+ overflow: hidden;
3118
+ align-items: center;
3119
+ width: 100%;
3120
+ text-overflow: ellipsis;
3121
+ }
3122
+
3123
+ &::part(drops) {
3124
+ gap: 0.5rem; /* gap-2 */
3125
+ }
3126
+
3127
+ &::part(drags) {
3128
+ gap: 0.5rem; /* gap-2 */
3129
+ }
3130
+
3131
+ &::part(drop-list) {
3132
+
3133
+ &[enabled] {
3134
+
3135
+ /* Light theme override */
3136
+ .qti-selections-light {
3137
+ border-color: var(--qti-light-border-active);
3138
+ }
3139
+
3140
+ /* Dark theme override */
3141
+ .qti-selections-dark {
3142
+ border-color: var(--qti-dark-border-active);
3143
+ }
3144
+ background-color: var(--qti-bg-active)
3145
+ }
3146
+
3147
+ &:hover {
3148
+ }
3149
+
3150
+ &:focus {
3151
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3152
+ }
3153
+
3154
+ display: flex;
3155
+ min-height: 4rem;
3156
+ border: var(--qti-border-thickness) dashed var(--qti-border-color);
3157
+ 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>')
3158
+ center no-repeat;
3159
+ border-radius: var(--qti-border-radius);
3160
+ position: relative;
3161
+ background-color: var(--qti-bg);
3162
+ }
3163
+
3164
+ &::part(active) {
3165
+ border-color: var(--qti-border-active);
3166
+ background-color: var(--qti-bg-active);
3167
+ }
3168
+
3169
+ & drop-list {
3170
+ &[shape='circle'] {
3171
+
3172
+ &:hover {
3173
+ }
3174
+
3175
+ &:focus {
3176
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3177
+ }
3178
+
3179
+ &[aria-checked='true'] {
3180
+ border-color: var(--qti-border-active);
3181
+ background-color: var(--qti-bg-active);
3182
+ }
3183
+
3184
+ &[aria-readonly='true'] {
3185
+ cursor: pointer;
3186
+ background-color: var(--qti-bg);
3187
+ outline: 0;
3188
+ border: none;
3189
+ }
3190
+
3191
+ &[aria-disabled='true'] {
3192
+ cursor: not-allowed;
3193
+ background-color: var(--qti-disabled-bg);
3194
+ color: var(--qti-disabled-color);
3195
+ border-color: var(--qti-border-color);
3196
+ outline: 4px solid var(--qti-disabled-bg);
3197
+ }
3198
+
3199
+ width: 100%;
3200
+
3201
+ height: 100%;
3202
+
3203
+ background-color: transparent;
3204
+
3205
+ padding: 0;
3206
+
3207
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3208
+
3209
+ outline: none
3210
+ }
3211
+
3212
+ &[shape='square'] {
3213
+
3214
+ &:hover {
3215
+ }
3216
+
3217
+ &:focus {
3218
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3219
+ }
3220
+
3221
+ &[aria-checked='true'] {
3222
+ border-color: var(--qti-border-active);
3223
+ background-color: var(--qti-bg-active);
3224
+ }
3225
+
3226
+ &[aria-readonly='true'] {
3227
+ cursor: pointer;
3228
+ background-color: var(--qti-bg);
3229
+ outline: 0;
3230
+ border: none;
3231
+ }
3232
+
3233
+ &[aria-disabled='true'] {
3234
+ cursor: not-allowed;
3235
+ background-color: var(--qti-disabled-bg);
3236
+ color: var(--qti-disabled-color);
3237
+ border-color: var(--qti-border-color);
3238
+ outline: 4px solid var(--qti-disabled-bg);
3239
+ }
3240
+
3241
+ width: 100%;
3242
+
3243
+ height: 100%;
3244
+
3245
+ background-color: transparent;
3246
+
3247
+ padding: 0;
3248
+
3249
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3250
+
3251
+ outline: none
3252
+ }
3253
+ }
3254
+ }
3255
+
3256
+ qti-associate-interaction {
3257
+ /* General styles for active and enabled states */
3258
+ &:state(--dragzone-active) slot[name='qti-simple-associable-choice'] {
3259
+ border-color: var(--qti-border-active);
3260
+ background-color: var(--qti-bg-active);
3261
+ }
3262
+
3263
+ &:state(--dragzone-enabled) slot[name='qti-simple-associable-choice'] {
3264
+ background-color: var(--qti-bg-active);
3265
+ }
3266
+
3267
+ & qti-simple-associable-choice, /* drags when in lightdom */
3268
+ &::part(qti-simple-associable-choice) /* drags when in shadowdom */ {
3269
+
3270
+ &:hover {
3271
+ }
3272
+
3273
+ &:focus {
3274
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3275
+ }
3276
+
3277
+ &[dragging] {
3278
+ pointer-events: none;
3279
+ rotate: -2deg;
3280
+ box-shadow: 0 8px 12px rgb(0 0 0 / 20%),
3281
+ 0 4px 8px rgb(0 0 0 / 10%);
3282
+ }
3283
+
3284
+ transition: transform 200ms ease-out,
3285
+ box-shadow 200ms ease-out,
3286
+ rotate 200ms ease-out;
3287
+
3288
+ cursor: grab;
3289
+
3290
+ background-color: var(--qti-bg);
3291
+
3292
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
3293
+
3294
+ border-radius: var(--qti-border-radius);
3295
+
3296
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3297
+
3298
+ outline: none
3299
+ }
3300
+
3301
+ /* display: flex;
3302
+ overflow: hidden;
3303
+ align-items: center; */
3304
+
3305
+ /* &::part(drop-container) {
3306
+ display: flex;
3307
+ flex-direction: column;
3308
+ gap: var(--qti-gap-size);
3309
+ } */
3310
+
3311
+ &::part(drop-list) {
3312
+
3313
+ display: grid;
3314
+ height: 3rem;
3315
+ min-width: 10rem;
3316
+ border: var(--qti-border-thickness) dashed var(--qti-border-color);
3317
+ 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>')
3318
+ center no-repeat;
3319
+ border-radius: var(--qti-border-radius);
3320
+ position: relative;
3321
+ background-color: var(--qti-bg);
3322
+ }
3323
+
3324
+ &::part(drop-list):focus {
3325
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3326
+ }
3327
+
3328
+ &::part(drop-list)[dragging] {
3329
+ border-color: var(--qti-border-active);
3330
+ background-color: var(--qti-bg-active);
3331
+ }
3332
+
3333
+ /* &::part(drop-list) {
3334
+ @apply act;
3335
+ } */
3336
+ }
3337
+
3338
+ qti-graphic-order-interaction {
3339
+ & qti-hotspot-choice {
3340
+ width: 100%;
3341
+ height: 100%;
3342
+ background-color: rgb(128 128 128 / 30%);
3343
+ padding: 0;
3344
+
3345
+ &:hover {
3346
+ background-color: rgb(128 128 128 / 70%);
3347
+ }
3348
+
3349
+ &:focus {
3350
+ background-color: rgb(128 128 128 / 70%);
3351
+ }
3352
+
3353
+ &:state(--checked),
3354
+ &[aria-checked='true'] {
3355
+ background-color: rgb(128 128 128 / 70%);
3356
+ }
3357
+
3358
+ &[aria-readonly='true'] {
3359
+ cursor: pointer;
3360
+ background-color: var(--qti-bg);
3361
+ outline: 0;
3362
+ border: none;
3363
+ }
3364
+
3365
+ &[aria-disabled='true'] {
3366
+ cursor: not-allowed;
3367
+ background-color: var(--qti-disabled-bg);
3368
+ color: var(--qti-disabled-color);
3369
+ border-color: var(--qti-border-color);
3370
+ outline: 4px solid var(--qti-disabled-bg);
3371
+ }
3372
+
3373
+ &[aria-ordervalue] {
3374
+ display: grid;
3375
+ place-content: center;
3376
+ }
3377
+
3378
+ &[aria-ordervalue]::after {
3379
+ content: attr(aria-ordervalue) !important;
3380
+ }
3381
+
3382
+ &[aria-ordercorrectvalue] {
3383
+ display: grid;
3384
+ place-content: center;
3385
+ }
3386
+
3387
+ /* When both attributes are present */
3388
+ &[aria-ordercorrectvalue][aria-ordervalue]::after {
3389
+ content: 'C=' attr(aria-ordercorrectvalue) ' R=' attr(aria-ordervalue) !important;
3390
+ color: var(--qti-correct);
3391
+ }
3392
+
3393
+ /* When only aria-ordercorrectvalue is present */
3394
+ &[aria-ordercorrectvalue]:not([aria-ordervalue])::after {
3395
+ content: 'C=' attr(aria-ordercorrectvalue) !important;
3396
+ color: var(--qti-correct);
3397
+ }
3398
+ }
3399
+
3400
+ &.qti-selections-light {
3401
+ &:state(--dragzone-active)::part(drags) {
3402
+ background-color: var(--qti-light-bg-active);
3403
+ border-color: var(--qti-light-border-active);
3404
+ }
3405
+
3406
+ &:state(--dragzone-enabled)::part(drags) {
3407
+ background-color: var(--qti-light-bg-active);
3408
+ }
3409
+ }
3410
+
3411
+ &.qti-selections-dark {
3412
+ &:state(--dragzone-active)::part(drags) {
3413
+ background-color: var(--qti-dark-bg-active);
3414
+ border-color: var(--qti-dark-border-active);
3415
+ }
3416
+
3417
+ &:state(--dragzone-enabled)::part(drags) {
3418
+ background-color: var(--qti-dark-bg-active);
3419
+ }
3420
+ }
3421
+
3422
+ /* General styles for active and enabled states */
3423
+ &:state(--dragzone-active)::part(drags) {
3424
+ border-color: var(--qti-border-active);
3425
+ background-color: var(--qti-bg-active);
3426
+ }
3427
+
3428
+ &:state(--dragzone-enabled)::part(drags) {
3429
+ background-color: var(--qti-bg-active);
3430
+ }
3431
+ }
3432
+
3433
+ qti-graphic-associate-interaction {
3434
+ position: relative;
3435
+ display: block;
3436
+
3437
+ & qti-associable-hotspot {
3438
+ &[shape='circle'] {
3439
+
3440
+ &:hover {
3441
+ }
3442
+
3443
+ &:focus {
3444
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3445
+ }
3446
+
3447
+ &[aria-checked='true'] {
3448
+ border-color: var(--qti-border-active);
3449
+ background-color: var(--qti-bg-active);
3450
+ }
3451
+
3452
+ &[aria-readonly='true'] {
3453
+ cursor: pointer;
3454
+ background-color: var(--qti-bg);
3455
+ outline: 0;
3456
+ border: none;
3457
+ }
3458
+
3459
+ &[aria-disabled='true'] {
3460
+ cursor: not-allowed;
3461
+ background-color: var(--qti-disabled-bg);
3462
+ color: var(--qti-disabled-color);
3463
+ border-color: var(--qti-border-color);
3464
+ outline: 4px solid var(--qti-disabled-bg);
3465
+ }
3466
+
3467
+ width: 100%;
3468
+
3469
+ height: 100%;
3470
+
3471
+ background-color: transparent;
3472
+
3473
+ padding: 0;
3474
+
3475
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3476
+
3477
+ outline: none
3478
+ }
3479
+
3480
+ &[shape='square'] {
3481
+
3482
+ &:hover {
3483
+ }
3484
+
3485
+ &:focus {
3486
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3487
+ }
3488
+
3489
+ &[aria-checked='true'] {
3490
+ border-color: var(--qti-border-active);
3491
+ background-color: var(--qti-bg-active);
3492
+ }
3493
+
3494
+ &[aria-readonly='true'] {
3495
+ cursor: pointer;
3496
+ background-color: var(--qti-bg);
3497
+ outline: 0;
3498
+ border: none;
3499
+ }
3500
+
3501
+ &[aria-disabled='true'] {
3502
+ cursor: not-allowed;
3503
+ background-color: var(--qti-disabled-bg);
3504
+ color: var(--qti-disabled-color);
3505
+ border-color: var(--qti-border-color);
3506
+ outline: 4px solid var(--qti-disabled-bg);
3507
+ }
3508
+
3509
+ width: 100%;
3510
+
3511
+ height: 100%;
3512
+
3513
+ background-color: transparent;
3514
+
3515
+ padding: 0;
3516
+
3517
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3518
+
3519
+ outline: none
3520
+ }
3521
+ }
3522
+
3523
+ &.qti-selections-light {
3524
+ &:state(--dragzone-active)::part(drags) {
3525
+ background-color: var(--qti-light-bg-active);
3526
+ border-color: var(--qti-light-border-active);
3527
+ }
3528
+
3529
+ &:state(--dragzone-enabled)::part(drags) {
3530
+ background-color: var(--qti-light-bg-active);
3531
+ }
3532
+ }
3533
+
3534
+ &.qti-selections-dark {
3535
+ &:state(--dragzone-active)::part(drags) {
3536
+ background-color: var(--qti-dark-bg-active);
3537
+ border-color: var(--qti-dark-border-active);
3538
+ }
3539
+
3540
+ &:state(--dragzone-enabled)::part(drags) {
3541
+ background-color: var(--qti-dark-bg-active);
3542
+ }
3543
+ }
3544
+
3545
+ /* General styles for active and enabled states */
3546
+ &:state(--dragzone-active)::part(drags) {
3547
+ border-color: var(--qti-border-active);
3548
+ background-color: var(--qti-bg-active);
3549
+ }
3550
+
3551
+ &:state(--dragzone-enabled)::part(drags) {
3552
+ background-color: var(--qti-bg-active);
3553
+ }
3554
+ }
3555
+
3556
+ qti-slider-interaction {
3557
+ --qti-tick-color: rgb(229 231 235 / 100%);
3558
+ --qti-tick-width: 1px;
3559
+ }
3560
+
3561
+ qti-select-point-interaction {
3562
+ &::part(point) {
3563
+ &:hover {
3564
+ }
3565
+
3566
+ &:focus {
3567
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3568
+ }
3569
+
3570
+ border-radius: 100%;
3571
+
3572
+ border: 1px solid white;
3573
+
3574
+ background-color: black;
3575
+
3576
+ opacity: 0.5;
3577
+
3578
+ padding: 0;
3579
+
3580
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3581
+
3582
+ outline: none;
3583
+ }
3584
+ }
3585
+
3586
+ qti-position-object-stage {
3587
+ & qti-position-object-interaction {
3588
+ /* no styles necessary, only layout styles, defined in the component */
3589
+ }
3590
+ }
3591
+
3592
+ qti-prompt {
3593
+ margin: 0.5rem 0; /* my-2 */
3594
+ display: block;
3595
+ width: 100%;
3596
+ }
3597
+ }
3598
+
3599
+ qti-test-part:not(:has(qti-assessment-item)),
3600
+ qti-assessment-section:not(:has(qti-assessment-item)),
3601
+ qti-assessment-item-ref:not(:has(qti-assessment-item)) {
3602
+ display: none;
3603
+ }
3604
+
3605
+ qti-hottext-interaction::part(message),
3606
+ qti-choice-interaction::part(message),
3607
+ qti-association-interaction::part(message),
3608
+ qti-graphic-association-interaction::part(message),
3609
+ qti-graphic-gap-match-interaction::part(message),
3610
+ qti-graphic-order-interaction::part(message),
3611
+ qti-math-interaction::part(message) {
3612
+ display: none;
3613
+ color: var(--qti-validation-text, #000);
3614
+ background-color: var(--qti-validation-error-bg, #fff);
3615
+ padding: 10px;
3616
+ border: 3px solid var(--qti-validation-text, #000);
3617
+ border-radius: 4px;
3618
+ margin-top: 8px;
3619
+ }
3620
+ `;export{B as a,_ as b};
3621
+ /*! Bundled license information:
3622
+
3623
+ lit-html/node/directives/private-async-helpers.js:
3624
+ (**
3625
+ * @license
3626
+ * Copyright 2021 Google LLC
3627
+ * SPDX-License-Identifier: BSD-3-Clause
3628
+ *)
3629
+
3630
+ lit-html/node/directives/until.js:
3631
+ (**
3632
+ * @license
3633
+ * Copyright 2017 Google LLC
3634
+ * SPDX-License-Identifier: BSD-3-Clause
3635
+ *)
3636
+ */