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