@citolab/qti-components 7.0.3 → 7.0.5

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