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