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