@citolab/qti-components 7.3.10 → 7.3.12

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