@citolab/qti-components 7.3.20 → 7.3.21

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