@citolab/qti-components 7.0.5 → 7.0.6-beta.0

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