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