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