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