@citolab/qti-components 7.2.1 → 7.2.2

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