@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,3626 @@
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
+ padding-right: 30px;
1997
+
1998
+ &::after {
1999
+ content: '\\02714';
2000
+ color: var(--qti-correct);
2001
+ position: absolute;
2002
+ top: 5px;
2003
+ right: 5px;
2004
+ font-size: 1.2em;
2005
+ font-weight: bold;
2006
+ }
2007
+ }
2008
+ border-radius: var(--qti-border-radius);
2009
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2010
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2011
+ outline: none
2012
+ }
2013
+ }
2014
+
2015
+ &:not(.qti-input-control-hidden) {
2016
+ & qti-simple-choice {
2017
+
2018
+ &:not([aria-disabled='true'], [aria-readonly='true'], :state(--checked)):hover {
2019
+ }
2020
+
2021
+ &:focus {
2022
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2023
+ }
2024
+
2025
+ &:state(--checked),
2026
+ &[aria-checked='true'] {
2027
+ border-color: var(--qti-border-active);
2028
+ background-color: var(--qti-bg-active);
2029
+ }
2030
+
2031
+ &:state(readonly),
2032
+ &[aria-readonly='true'] {
2033
+ cursor: pointer;
2034
+ background-color: var(--qti-bg);
2035
+ outline: 0;
2036
+ border: none;
2037
+ }
2038
+
2039
+ &:state(disabled),
2040
+ &[aria-disabled='true'] {
2041
+ cursor: not-allowed;
2042
+ background-color: var(--qti-disabled-bg);
2043
+ color: var(--qti-disabled-color);
2044
+ border-color: var(--qti-border-color);
2045
+ outline: 4px solid var(--qti-disabled-bg);
2046
+ }
2047
+
2048
+ &::part(cha) {
2049
+ width: calc(var(--qti-form-size) - 6px);
2050
+ height: calc(var(--qti-form-size) - 6px);
2051
+ }
2052
+
2053
+ &:state(radio)::part(ch) {
2054
+ border-radius: 100%;
2055
+ display: grid;
2056
+ place-content: center;
2057
+ width: var(--qti-form-size);
2058
+ height: var(--qti-form-size);
2059
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2060
+ outline: none;
2061
+ }
2062
+
2063
+ &:state(radio):state(--checked)::part(cha) {
2064
+ background-color: var(--qti-border-active);
2065
+ border-radius: 100%;
2066
+ }
2067
+
2068
+ &:state(checkbox)::part(ch) {
2069
+ display: flex;
2070
+ place-items: center;
2071
+ border-radius: var(--qti-border-radius);
2072
+ display: grid;
2073
+ place-content: center;
2074
+ width: var(--qti-form-size);
2075
+ height: var(--qti-form-size);
2076
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2077
+ outline: none;
2078
+ }
2079
+
2080
+ &:state(checkbox):state(--checked)::part(cha) {
2081
+ background-color: var(--qti-border-active);
2082
+ -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");
2083
+ 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");
2084
+ }
2085
+
2086
+ gap: 0.5rem;
2087
+
2088
+ background-color: var(--qti-bg);
2089
+
2090
+ border-radius: var(--qti-border-radius);
2091
+
2092
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2093
+
2094
+ outline: none;
2095
+
2096
+ cursor: pointer
2097
+ }
2098
+ }
2099
+
2100
+ /* stylelint-disable-next-line no-descending-specificity */
2101
+ & qti-simple-choice {
2102
+ width: -moz-fit-content;
2103
+ width: fit-content;
2104
+ cursor: pointer;
2105
+
2106
+ /* Keep the checkmark for non-hidden input controls */
2107
+ &:state(correct-response),
2108
+ &[data-correct-response='true'] {
2109
+ /* stylelint-disable-next-line no-descending-specificity */
2110
+ &::after {
2111
+ content: '\\02714';
2112
+ color: var(--qti-correct);
2113
+ }
2114
+ }
2115
+ }
2116
+
2117
+ & qti-simple-choice > p {
2118
+ margin: 0 !important;
2119
+ padding: 0 !important;
2120
+ }
2121
+ }
2122
+
2123
+ .hover-border {
2124
+ border: 2px solid #000; /* Adjust the border style and color as needed */
2125
+ }
2126
+
2127
+ qti-graphic-gap-match-interaction {
2128
+ position: relative;
2129
+
2130
+ &.qti-selections-light {
2131
+ &:state(--dragzone-active)::part(drags) {
2132
+ background-color: var(--qti-light-bg-active);
2133
+ border-color: var(--qti-light-border-active);
2134
+ }
2135
+
2136
+ &:state(--dragzone-enabled)::part(drags) {
2137
+ background-color: var(--qti-light-bg-active);
2138
+ }
2139
+ }
2140
+
2141
+ &.qti-selections-dark {
2142
+ &:state(--dragzone-active)::part(drags) {
2143
+ background-color: var(--qti-dark-bg-active);
2144
+ border-color: var(--qti-dark-border-active);
2145
+ }
2146
+
2147
+ &:state(--dragzone-enabled)::part(drags) {
2148
+ background-color: var(--qti-dark-bg-active);
2149
+ }
2150
+ }
2151
+
2152
+ /* General styles for active and enabled states */
2153
+ &:state(--dragzone-active)::part(drags) {
2154
+ border-color: var(--qti-border-active);
2155
+ background-color: var(--qti-bg-active);
2156
+ }
2157
+
2158
+ &:state(--dragzone-enabled)::part(drags) {
2159
+ background-color: var(--qti-bg-active);
2160
+ }
2161
+
2162
+ & qti-gap-img,
2163
+ qti-gap-text {
2164
+ display: flex;
2165
+ justify-content: center;
2166
+ align-items: center;
2167
+ cursor: grab;
2168
+ }
2169
+
2170
+ & qti-associable-hotspot {
2171
+ display: flex;
2172
+ justify-content: center;
2173
+ align-items: center;
2174
+ border: 2px solid transparent;
2175
+
2176
+ &[enabled] {
2177
+
2178
+ /* Light theme override */
2179
+ .qti-selections-light {
2180
+ background-color: var(--qti-light-bg-active);
2181
+ }
2182
+
2183
+ /* Dark theme override */
2184
+ .qti-selections-dark {
2185
+ background-color: var(--qti-dark-bg-active);
2186
+ }
2187
+ background-color: var(--qti-bg-active)
2188
+ }
2189
+
2190
+ &[active] {
2191
+
2192
+ /* Light theme override */
2193
+ .qti-selections-light {
2194
+ background-color: var(--qti-light-bg-active);
2195
+ border-color: var(--qti-light-border-active);
2196
+ }
2197
+
2198
+ /* Dark theme override */
2199
+ .qti-selections-dark {
2200
+ background-color: var(--qti-dark-bg-active);
2201
+ border-color: var(--qti-dark-border-active);
2202
+ }
2203
+ border-color: var(--qti-border-active);
2204
+ background-color: var(--qti-bg-active)
2205
+ }
2206
+
2207
+ &[disabled] {
2208
+
2209
+ &:not(:empty) {
2210
+ cursor: default !important;
2211
+ }
2212
+
2213
+ cursor: not-allowed;
2214
+
2215
+ background-color: var(--qti-disabled-bg);
2216
+
2217
+ color: var(--qti-disabled-color);
2218
+
2219
+ border-color: var(--qti-border-color);
2220
+
2221
+ outline: 4px solid var(--qti-disabled-bg)
2222
+ }
2223
+
2224
+ &:empty::after {
2225
+ padding: var(--qti-padding-md) var(--qti-padding-lg); /* Padding shorthand */
2226
+ content: '\\0000a0'; /* when empty, put a space in it */
2227
+ }
2228
+
2229
+ &:not(:empty) {
2230
+ padding: 0;
2231
+ width: auto;
2232
+ }
2233
+
2234
+ &:not(:empty) > * {
2235
+ flex: 1;
2236
+ transform: rotate(0); /* rotate-0 */
2237
+ box-shadow: 0 0 0 1px #e5e7eb; /* ring-gray-200 */
2238
+ }
2239
+ }
2240
+
2241
+ & img {
2242
+ margin: 0;
2243
+ padding: 0;
2244
+ }
2245
+ }
2246
+
2247
+ qti-text-entry-interaction {
2248
+ &::part(input) {
2249
+ border-radius: 0;
2250
+ cursor: text;
2251
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2252
+ background: var(--qti-bg);
2253
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2254
+ outline: none;
2255
+ }
2256
+
2257
+ &:hover {
2258
+ }
2259
+
2260
+ &:focus-within {
2261
+ &::part(input) {
2262
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2263
+ border-color: var(--qti-border-active);
2264
+ }
2265
+ }
2266
+ }
2267
+
2268
+ qti-extended-text-interaction {
2269
+ &::part(textarea) {
2270
+ border-radius: 0;
2271
+ cursor: text;
2272
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2273
+ background: var(--qti-bg);
2274
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2275
+ outline: none;
2276
+ }
2277
+
2278
+ &:hover {
2279
+ }
2280
+
2281
+ &:focus-within {
2282
+ &::part(textarea) {
2283
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2284
+ border-color: var(--qti-border-active);
2285
+ }
2286
+ }
2287
+ }
2288
+
2289
+ qti-gap-match-interaction {
2290
+ &.qti-selections-light {
2291
+ &:state(--dragzone-active)::part(drags) {
2292
+ background-color: var(--qti-light-bg-active);
2293
+ border-color: var(--qti-light-border-active);
2294
+ }
2295
+
2296
+ &:state(--dragzone-enabled)::part(drags) {
2297
+ background-color: var(--qti-light-bg-active);
2298
+ }
2299
+ }
2300
+
2301
+ &.qti-selections-dark {
2302
+ &:state(--dragzone-active)::part(drags) {
2303
+ background-color: var(--qti-dark-bg-active);
2304
+ border-color: var(--qti-dark-border-active);
2305
+ }
2306
+
2307
+ &:state(--dragzone-enabled)::part(drags) {
2308
+ background-color: var(--qti-dark-bg-active);
2309
+ }
2310
+ }
2311
+
2312
+ /* General styles for active and enabled states */
2313
+ &:state(--dragzone-active)::part(drags) {
2314
+ border-color: var(--qti-border-active);
2315
+ background-color: var(--qti-bg-active);
2316
+ }
2317
+
2318
+ &:state(--dragzone-enabled)::part(drags) {
2319
+ background-color: var(--qti-bg-active);
2320
+ }
2321
+
2322
+ & qti-gap-text {
2323
+
2324
+ &[dragging] {
2325
+ pointer-events: none;
2326
+ rotate: -2deg;
2327
+ box-shadow: 0 8px 12px rgb(0 0 0 / 20%),
2328
+ 0 4px 8px rgb(0 0 0 / 10%);
2329
+ }
2330
+
2331
+ &:hover {
2332
+ }
2333
+
2334
+ &:focus {
2335
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2336
+ }
2337
+
2338
+ transition: transform 200ms ease-out,
2339
+ box-shadow 200ms ease-out,
2340
+ rotate 200ms ease-out;
2341
+
2342
+ cursor: grab;
2343
+
2344
+ background-color: var(--qti-bg);
2345
+
2346
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2347
+
2348
+ border-radius: var(--qti-border-radius);
2349
+
2350
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2351
+
2352
+ outline: none
2353
+ }
2354
+
2355
+ & qti-gap {
2356
+
2357
+ &[disabled] {
2358
+
2359
+ &:not(:empty) {
2360
+ cursor: default !important;
2361
+ }
2362
+
2363
+ cursor: not-allowed;
2364
+
2365
+ background-color: var(--qti-disabled-bg);
2366
+
2367
+ color: var(--qti-disabled-color);
2368
+
2369
+ border-color: var(--qti-border-color);
2370
+
2371
+ outline: 4px solid var(--qti-disabled-bg)
2372
+ }
2373
+
2374
+ &[enabled] {
2375
+
2376
+ /* Light theme override */
2377
+ .qti-selections-light {
2378
+ border-color: var(--qti-light-border-active);
2379
+ }
2380
+
2381
+ /* Dark theme override */
2382
+ .qti-selections-dark {
2383
+ border-color: var(--qti-dark-border-active);
2384
+ }
2385
+ background-color: var(--qti-bg-active)
2386
+ }
2387
+
2388
+ &[active] {
2389
+
2390
+ /* Light theme override */
2391
+ .qti-selections-light {
2392
+ background-color: var(--qti-light-bg-active);
2393
+ border-color: var(--qti-light-border-active);
2394
+ }
2395
+
2396
+ /* Dark theme override */
2397
+ .qti-selections-dark {
2398
+ background-color: var(--qti-dark-bg-active);
2399
+ border-color: var(--qti-dark-border-active);
2400
+ }
2401
+ border-color: var(--qti-border-active);
2402
+ background-color: var(--qti-bg-active)
2403
+ }
2404
+
2405
+ display: inline-flex;
2406
+ align-items: center;
2407
+
2408
+ &:empty::after {
2409
+ padding: var(--qti-padding-md) var(--qti-padding-lg); /* Padding shorthand */
2410
+ content: '\\0000a0'; /* when empty, put a space in it */
2411
+ }
2412
+
2413
+ &:not(:empty) {
2414
+ display: inline-flex;
2415
+ padding: 0;
2416
+ width: auto;
2417
+ }
2418
+
2419
+ &:not(:empty) > * {
2420
+ flex: 1;
2421
+ transform: rotate(0); /* rotate-0 */
2422
+ box-shadow: 0 0 0 1px #e5e7eb; /* ring-gray-200 */
2423
+ }
2424
+
2425
+ border: var(--qti-border-thickness) dashed var(--qti-border-color);
2426
+
2427
+ 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>')
2428
+ center no-repeat;
2429
+
2430
+ border-radius: var(--qti-border-radius);
2431
+
2432
+ position: relative;
2433
+
2434
+ background-color: var(--qti-bg)
2435
+ }
2436
+ }
2437
+
2438
+ qti-hotspot-interaction {
2439
+ & qti-hotspot-choice {
2440
+ &[shape='circle'] {
2441
+
2442
+ &:hover {
2443
+ }
2444
+
2445
+ &:focus {
2446
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2447
+ }
2448
+
2449
+ &:state(--checked),
2450
+ &[aria-checked='true'] {
2451
+ border-color: var(--qti-border-active);
2452
+ }
2453
+
2454
+ &:state(--readonly),
2455
+ &[aria-readonly='true'] {
2456
+ cursor: pointer;
2457
+ background-color: var(--qti-bg);
2458
+ outline: 0;
2459
+ border: none;
2460
+ }
2461
+
2462
+ &:state(--disabled),
2463
+ &[aria-disabled='true'] {
2464
+ cursor: not-allowed;
2465
+ background-color: var(--qti-disabled-bg);
2466
+ color: var(--qti-disabled-color);
2467
+ border-color: var(--qti-border-color);
2468
+ outline: 4px solid var(--qti-disabled-bg);
2469
+ }
2470
+
2471
+ width: 100%;
2472
+
2473
+ height: 100%;
2474
+
2475
+ background-color: transparent;
2476
+
2477
+ padding: 0;
2478
+
2479
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2480
+
2481
+ outline: none
2482
+ }
2483
+
2484
+ &[shape='rect'] {
2485
+
2486
+ /* &:hover {
2487
+ @apply hov;
2488
+ } */
2489
+
2490
+ &:focus {
2491
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2492
+ }
2493
+
2494
+ &:state(--checked),
2495
+ &[aria-checked='true'] {
2496
+ border-color: var(--qti-border-active);
2497
+ }
2498
+
2499
+ &[aria-readonly='true'] {
2500
+ cursor: pointer;
2501
+ background-color: var(--qti-bg);
2502
+ outline: 0;
2503
+ border: none;
2504
+ }
2505
+
2506
+ &[aria-disabled='true'] {
2507
+ cursor: not-allowed;
2508
+ background-color: var(--qti-disabled-bg);
2509
+ color: var(--qti-disabled-color);
2510
+ border-color: var(--qti-border-color);
2511
+ outline: 4px solid var(--qti-disabled-bg);
2512
+ }
2513
+
2514
+ width: 100%;
2515
+
2516
+ height: 100%;
2517
+
2518
+ background-color: transparent;
2519
+
2520
+ padding: 0;
2521
+
2522
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2523
+
2524
+ outline: none
2525
+ }
2526
+
2527
+ &[shape='poly'] {
2528
+ &:hover::after {
2529
+ content: '';
2530
+ width: 100%;
2531
+ height: 100%;
2532
+ background: repeating-linear-gradient(
2533
+ 45deg,
2534
+ var(--qti-border-active),
2535
+ var(--qti-border-active) 5px,
2536
+ transparent 5px,
2537
+ transparent 10px
2538
+ );
2539
+ display: block;
2540
+ }
2541
+
2542
+ &:state(--checked)::after,
2543
+ &[aria-checked='true']::after {
2544
+ content: '';
2545
+ width: 100%;
2546
+ height: 100%;
2547
+ background: repeating-linear-gradient(
2548
+ 45deg,
2549
+ transparent,
2550
+ transparent 5px,
2551
+ var(--qti-border-active) 5px,
2552
+ var(--qti-border-active) 10px
2553
+ );
2554
+ display: block;
2555
+ }
2556
+
2557
+ &[aria-readonly='true'] {
2558
+ cursor: pointer;
2559
+ background-color: var(--qti-bg);
2560
+ outline: 0;
2561
+ border: none;
2562
+ }
2563
+
2564
+ &[aria-disabled='true'] {
2565
+ cursor: not-allowed;
2566
+ background-color: var(--qti-disabled-bg);
2567
+ color: var(--qti-disabled-color);
2568
+ border-color: var(--qti-border-color);
2569
+ outline: 4px solid var(--qti-disabled-bg);
2570
+ }
2571
+ }
2572
+ }
2573
+ }
2574
+
2575
+ qti-hottext-interaction {
2576
+ /* &:not(.qti-input-control-hidden),
2577
+ &:not(.qti-unselected-hidden) { */
2578
+ qti-hottext {
2579
+ display: inline-flex;
2580
+ align-items: center;
2581
+
2582
+ &:hover {
2583
+ }
2584
+
2585
+ &:focus {
2586
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2587
+ }
2588
+
2589
+ &::part(cha) {
2590
+ width: calc(var(--qti-form-size) - 6px);
2591
+ height: calc(var(--qti-form-size) - 6px);
2592
+ }
2593
+
2594
+ &:state(radio)::part(ch) {
2595
+ border-radius: 100%;
2596
+ display: grid;
2597
+ place-content: center;
2598
+ width: var(--qti-form-size);
2599
+ height: var(--qti-form-size);
2600
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2601
+ outline: none;
2602
+ }
2603
+
2604
+ &:state(radio):state(--checked)::part(cha) {
2605
+ background-color: var(--qti-border-active);
2606
+ border-radius: 100%;
2607
+ }
2608
+
2609
+ &:state(checkbox)::part(ch) {
2610
+ display: flex;
2611
+ place-items: center;
2612
+ border-radius: var(--qti-border-radius);
2613
+ display: grid;
2614
+ place-content: center;
2615
+ width: var(--qti-form-size);
2616
+ height: var(--qti-form-size);
2617
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2618
+ outline: none;
2619
+ }
2620
+
2621
+ &:state(checkbox):state(--checked)::part(cha) {
2622
+ background-color: var(--qti-border-active);
2623
+ -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");
2624
+ 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");
2625
+ }
2626
+
2627
+ &:state(correct-response),
2628
+ &[data-correct-response='true'] {
2629
+ &::after {
2630
+ content: '\\02714';
2631
+ color: #16a34a; /* text-green-600 */
2632
+ }
2633
+ }
2634
+
2635
+ gap: 0.5rem;
2636
+
2637
+ background-color: var(--qti-bg);
2638
+
2639
+ border-radius: var(--qti-border-radius);
2640
+
2641
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2642
+
2643
+ outline: none;
2644
+
2645
+ cursor: pointer
2646
+ }
2647
+
2648
+ &.qti-input-control-hidden {
2649
+ qti-hottext {
2650
+ /* --qti-padding-md: 0.1rem;
2651
+ --qti-padding-lg: 0.2rem;
2652
+ --qti-border-radius-md: 0.3rem;
2653
+ --qti-border-thickness: 1px;
2654
+ --qti-font-weight-semibold: 400; */
2655
+
2656
+ &:hover {
2657
+ }
2658
+
2659
+ &:focus {
2660
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2661
+ }
2662
+
2663
+ /* @layer qti-variants { */
2664
+ &::part(ch) {
2665
+ display: none;
2666
+ }
2667
+
2668
+ &:state(--checked) {
2669
+ border-color: var(--qti-border-active);
2670
+ background-color: var(--qti-bg-active);
2671
+ }
2672
+
2673
+ &[aria-readonly='true'] {
2674
+ cursor: pointer;
2675
+ background-color: var(--qti-bg);
2676
+ outline: 0;
2677
+ border: none;
2678
+ }
2679
+
2680
+ &[aria-disabled='true'] {
2681
+ cursor: not-allowed;
2682
+ background-color: var(--qti-disabled-bg);
2683
+ color: var(--qti-disabled-color);
2684
+ border-color: var(--qti-border-color);
2685
+ outline: 4px solid var(--qti-disabled-bg);
2686
+ }
2687
+
2688
+ border-radius: var(--qti-border-radius);
2689
+
2690
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2691
+
2692
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2693
+
2694
+ outline: none
2695
+ }
2696
+
2697
+ /* } */
2698
+ }
2699
+
2700
+ &.qti-unselected-hidden {
2701
+ qti-hottext {
2702
+ &:hover {
2703
+ }
2704
+
2705
+ &:focus {
2706
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2707
+ }
2708
+
2709
+ cursor: pointer;
2710
+
2711
+ &::part(ch) {
2712
+ display: none;
2713
+ }
2714
+
2715
+ &:state(--checked) {
2716
+ background-color: var(--qti-bg-active);
2717
+ }
2718
+
2719
+ &[aria-readonly='true'] {
2720
+ cursor: pointer;
2721
+ background-color: var(--qti-bg);
2722
+ outline: 0;
2723
+ border: none;
2724
+ }
2725
+
2726
+ &[aria-disabled='true'] {
2727
+ cursor: not-allowed;
2728
+ background-color: var(--qti-disabled-bg);
2729
+ color: var(--qti-disabled-color);
2730
+ border-color: var(--qti-border-color);
2731
+ outline: 4px solid var(--qti-disabled-bg);
2732
+ }
2733
+ }
2734
+ }
2735
+ }
2736
+
2737
+ qti-inline-choice-interaction {
2738
+ &::part(select) {
2739
+
2740
+ &:hover {
2741
+ }
2742
+
2743
+ &:focus {
2744
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2745
+ }
2746
+
2747
+ border-radius: var(--qti-border-radius);
2748
+
2749
+ position: relative;
2750
+
2751
+ -webkit-appearance: none;
2752
+
2753
+ -moz-appearance: none;
2754
+
2755
+ appearance: none;
2756
+
2757
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2758
+
2759
+ padding-right: calc(var(--qti-padding-horizontal) + 1.5rem);
2760
+
2761
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2762
+
2763
+ outline: none;
2764
+
2765
+ 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")
2766
+ no-repeat center right 6px
2767
+ }
2768
+ }
2769
+
2770
+ qti-match-interaction.qti-match-tabular {
2771
+ /* Table element */
2772
+ &::part(table) {
2773
+ border-collapse: collapse;
2774
+ width: 100%;
2775
+ table-layout: fixed;
2776
+ }
2777
+
2778
+ /* Row headers */
2779
+ &::part(r-header) {
2780
+ background-color: var(--qti-bg-active, #f8f8f8);
2781
+ font-weight: 500;
2782
+ text-align: center;
2783
+ padding: 8px;
2784
+ border: 1px solid #ddd;
2785
+ }
2786
+
2787
+ /* Column headers */
2788
+ &::part(c-header) {
2789
+ background-color: var(--qti-bg-active, #f8f8f8);
2790
+ font-weight: 500;
2791
+ text-align: left;
2792
+ padding: 8px 15px;
2793
+ border: 1px solid #ddd;
2794
+ }
2795
+
2796
+ /* Table rows */
2797
+ &::part(row) {
2798
+ border-bottom: 1px solid #ddd;
2799
+ }
2800
+
2801
+ /* Input cells */
2802
+ &::part(input-cell) {
2803
+ text-align: center;
2804
+ vertical-align: middle;
2805
+ height: 48px;
2806
+ border: 1px solid #ddd;
2807
+ padding: 8px;
2808
+ }
2809
+
2810
+ /* Radio button styling */
2811
+ &::part(rb) {
2812
+ -webkit-appearance: none;
2813
+ -moz-appearance: none;
2814
+ appearance: none;
2815
+ width: 24px;
2816
+ height: 24px;
2817
+ border-radius: 50%;
2818
+ border: 2px solid var(--qti-border-active, #2196f3);
2819
+ background-color: transparent !important;
2820
+ margin: 0 auto;
2821
+ cursor: pointer;
2822
+ display: block;
2823
+ }
2824
+
2825
+ /* Radio button checked state */
2826
+ &::part(rb-checked) {
2827
+ box-shadow: inset 0 0 0 6px var(--qti-border-active, #2196f3);
2828
+ }
2829
+
2830
+ /* Checkbox styling */
2831
+ &::part(cb) {
2832
+ -webkit-appearance: none;
2833
+ -moz-appearance: none;
2834
+ appearance: none;
2835
+ width: 24px;
2836
+ height: 24px;
2837
+ border-radius: 3px;
2838
+ border: 2px solid var(--qti-border-active, #2196f3);
2839
+ background-color: transparent !important;
2840
+ margin: 0 auto;
2841
+ cursor: pointer;
2842
+ display: block;
2843
+ }
2844
+
2845
+ /* Checkbox checked state - only change border if we're adding an SVG checkmark */
2846
+ &::part(cb-checked) {
2847
+ background-color: var(--qti-border-active, #2196f3) !important;
2848
+ }
2849
+
2850
+ &::part(checkmark) {
2851
+ position: absolute;
2852
+ width: 18px;
2853
+ height: 18px;
2854
+ top: 3px;
2855
+ left: 3px;
2856
+ pointer-events: none;
2857
+ }
2858
+
2859
+ /* Correct answers for both types */
2860
+ &::part(rb-correct) {
2861
+ border-color: var(--qti-correct, #4caf50);
2862
+ }
2863
+
2864
+ &::part(rb-checked rb-correct) {
2865
+ box-shadow: inset 0 0 0 6px var(--qti-correct, #4caf50);
2866
+ }
2867
+
2868
+ &::part(cb-correct) {
2869
+ border-color: var(--qti-correct, #4caf50);
2870
+ }
2871
+
2872
+ &::part(cb-checked cb-correct) {
2873
+ background-color: var(--qti-correct, #4caf50) !important;
2874
+ }
2875
+
2876
+ /* Incorrect answers for both types */
2877
+ &::part(rb-incorrect) {
2878
+ border-color: var(--qti-incorrect, #f44336);
2879
+ }
2880
+
2881
+ &::part(rb-checked rb-incorrect) {
2882
+ box-shadow: inset 0 0 0 6px var(--qti-incorrect, #f44336);
2883
+ }
2884
+
2885
+ &::part(cb-incorrect) {
2886
+ border-color: var(--qti-incorrect, #f44336);
2887
+ }
2888
+
2889
+ &::part(cb-checked cb-incorrect) {
2890
+ background-color: var(--qti-incorrect, #f44336) !important;
2891
+ }
2892
+ }
2893
+
2894
+ qti-match-interaction:not(.qti-match-tabular) {
2895
+ &:state(--dragzone-enabled) qti-simple-match-set:first-of-type {
2896
+ background-color: var(--qti-bg-active);
2897
+ }
2898
+
2899
+ &:state(--dragzone-active) qti-simple-match-set:first-of-type {
2900
+ border-color: var(--qti-border-active);
2901
+ background-color: var(--qti-bg-active);
2902
+ }
2903
+
2904
+ /* The draggables */
2905
+ & qti-simple-match-set:first-of-type {
2906
+ display: flex;
2907
+ flex-wrap: wrap;
2908
+ align-items: flex-start; /* Prevents children from stretching */
2909
+ gap: var(--qti-gap-size);
2910
+ border: 2px solid transparent;
2911
+
2912
+ & qti-simple-associable-choice {
2913
+
2914
+ &[dragging] {
2915
+ pointer-events: none;
2916
+ rotate: -2deg;
2917
+ box-shadow: 0 8px 12px rgb(0 0 0 / 20%),
2918
+ 0 4px 8px rgb(0 0 0 / 10%);
2919
+ }
2920
+
2921
+ &:hover {
2922
+ }
2923
+
2924
+ &:focus {
2925
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2926
+ }
2927
+
2928
+ transition: transform 200ms ease-out,
2929
+ box-shadow 200ms ease-out,
2930
+ rotate 200ms ease-out;
2931
+
2932
+ cursor: grab;
2933
+
2934
+ background-color: var(--qti-bg);
2935
+
2936
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2937
+
2938
+ border-radius: var(--qti-border-radius);
2939
+
2940
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2941
+
2942
+ outline: none
2943
+ }
2944
+ }
2945
+
2946
+ /* The droppables */
2947
+ & qti-simple-match-set:last-of-type {
2948
+ display: grid;
2949
+ grid-auto-columns: 1fr; /* auto-cols-fr */
2950
+ grid-auto-flow: column; /* grid-flow-col */
2951
+ gap: var(--qti-gap-size); /* gap-2 */
2952
+ width: 100%; /* w-full */
2953
+
2954
+ & qti-simple-associable-choice {
2955
+ display: flex;
2956
+ flex-direction: column;
2957
+ }
2958
+
2959
+ & > qti-simple-associable-choice {
2960
+ /* a droppable qti-simple-associable-choice */
2961
+ box-sizing: border-box;
2962
+ display: grid;
2963
+ grid-row: 2 / 4;
2964
+ grid-template-rows: subgrid;
2965
+
2966
+ & img {
2967
+ max-width: 100%;
2968
+ height: auto;
2969
+ }
2970
+
2971
+ &[enabled] {
2972
+ &::part(dropslot) {
2973
+ background-color: var(--qti-bg-active);
2974
+ }
2975
+ }
2976
+
2977
+ &[disabled] {
2978
+ &::part(dropslot) {
2979
+ cursor: not-allowed;
2980
+ background-color: var(--qti-disabled-bg);
2981
+ color: var(--qti-disabled-color);
2982
+ border-color: var(--qti-border-color);
2983
+ outline: 4px solid var(--qti-disabled-bg);
2984
+ }
2985
+ }
2986
+
2987
+ &[active] {
2988
+ &::part(dropslot) {
2989
+ border-color: var(--qti-border-active);
2990
+ background-color: var(--qti-bg-active);
2991
+ }
2992
+ }
2993
+
2994
+ &::part(dropslot) {
2995
+
2996
+ &[dragging] {
2997
+ pointer-events: none;
2998
+ rotate: -2deg;
2999
+ box-shadow: 0 8px 12px rgb(0 0 0 / 20%),
3000
+ 0 4px 8px rgb(0 0 0 / 10%);
3001
+ }
3002
+
3003
+ &:focus {
3004
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3005
+ }
3006
+
3007
+ /* min-height: 6rem; */
3008
+ min-height: calc(1lh + 2 * var(--qti-padding-vertical));
3009
+ gap: var(--qti-gap-size);
3010
+ box-sizing: border-box;
3011
+ display: flex;
3012
+ justify-content: center;
3013
+ align-items: center;
3014
+ border: var(--qti-border-thickness) dashed var(--qti-border-color);
3015
+ 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>')
3016
+ center no-repeat;
3017
+ border-radius: var(--qti-border-radius);
3018
+ position: relative;
3019
+ background-color: var(--qti-bg);
3020
+ }
3021
+
3022
+ & > *:not(qti-simple-associable-choice) {
3023
+ pointer-events: none;
3024
+ }
3025
+
3026
+ & > qti-simple-associable-choice {
3027
+
3028
+ &::part(dropslot) {
3029
+ display: none;
3030
+ }
3031
+
3032
+ &:hover {
3033
+ }
3034
+
3035
+ &:focus {
3036
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3037
+ }
3038
+
3039
+ flex-basis: fit-content;
3040
+
3041
+ transition: transform 200ms ease-out,
3042
+ box-shadow 200ms ease-out,
3043
+ rotate 200ms ease-out;
3044
+
3045
+ cursor: grab;
3046
+
3047
+ background-color: var(--qti-bg);
3048
+
3049
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
3050
+
3051
+ border-radius: var(--qti-border-radius);
3052
+
3053
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3054
+
3055
+ outline: none;
3056
+ }
3057
+ }
3058
+ }
3059
+ }
3060
+
3061
+ qti-order-interaction:state(--dragzone-active)::part(drags) {
3062
+ border-color: var(--qti-border-active);
3063
+ background-color: var(--qti-bg-active);
3064
+ }
3065
+
3066
+ qti-order-interaction:state(--dragzone-enabled)::part(drags) {
3067
+ background-color: var(--qti-bg-active);
3068
+ }
3069
+
3070
+ qti-order-interaction {
3071
+ &::part(qti-simple-choice),
3072
+ & qti-simple-choice {
3073
+
3074
+ &[dragging] {
3075
+ pointer-events: none;
3076
+ rotate: -2deg;
3077
+ box-shadow: 0 8px 12px rgb(0 0 0 / 20%),
3078
+ 0 4px 8px rgb(0 0 0 / 10%);
3079
+ }
3080
+
3081
+ &:hover {
3082
+ }
3083
+
3084
+ &:focus {
3085
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3086
+ }
3087
+
3088
+ transition: transform 200ms ease-out,
3089
+ box-shadow 200ms ease-out,
3090
+ rotate 200ms ease-out;
3091
+
3092
+ cursor: grab;
3093
+
3094
+ background-color: var(--qti-bg);
3095
+
3096
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
3097
+
3098
+ border-radius: var(--qti-border-radius);
3099
+
3100
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3101
+
3102
+ outline: none
3103
+ }
3104
+
3105
+ &::part(qti-simple-choice) {
3106
+ display: flex;
3107
+ overflow: hidden;
3108
+ align-items: center;
3109
+ width: 100%;
3110
+ text-overflow: ellipsis;
3111
+ }
3112
+
3113
+ &::part(drops) {
3114
+ gap: 0.5rem; /* gap-2 */
3115
+ }
3116
+
3117
+ &::part(drags) {
3118
+ gap: 0.5rem; /* gap-2 */
3119
+ }
3120
+
3121
+ &::part(drop-list) {
3122
+
3123
+ &[enabled] {
3124
+
3125
+ /* Light theme override */
3126
+ .qti-selections-light {
3127
+ border-color: var(--qti-light-border-active);
3128
+ }
3129
+
3130
+ /* Dark theme override */
3131
+ .qti-selections-dark {
3132
+ border-color: var(--qti-dark-border-active);
3133
+ }
3134
+ background-color: var(--qti-bg-active)
3135
+ }
3136
+
3137
+ &:hover {
3138
+ }
3139
+
3140
+ &:focus {
3141
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3142
+ }
3143
+
3144
+ display: flex;
3145
+ min-height: 4rem;
3146
+ border: var(--qti-border-thickness) dashed var(--qti-border-color);
3147
+ 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>')
3148
+ center no-repeat;
3149
+ border-radius: var(--qti-border-radius);
3150
+ position: relative;
3151
+ background-color: var(--qti-bg);
3152
+ }
3153
+
3154
+ &::part(active) {
3155
+ border-color: var(--qti-border-active);
3156
+ background-color: var(--qti-bg-active);
3157
+ }
3158
+
3159
+ & drop-list {
3160
+ &[shape='circle'] {
3161
+
3162
+ &:hover {
3163
+ }
3164
+
3165
+ &:focus {
3166
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3167
+ }
3168
+
3169
+ &[aria-checked='true'] {
3170
+ border-color: var(--qti-border-active);
3171
+ background-color: var(--qti-bg-active);
3172
+ }
3173
+
3174
+ &[aria-readonly='true'] {
3175
+ cursor: pointer;
3176
+ background-color: var(--qti-bg);
3177
+ outline: 0;
3178
+ border: none;
3179
+ }
3180
+
3181
+ &[aria-disabled='true'] {
3182
+ cursor: not-allowed;
3183
+ background-color: var(--qti-disabled-bg);
3184
+ color: var(--qti-disabled-color);
3185
+ border-color: var(--qti-border-color);
3186
+ outline: 4px solid var(--qti-disabled-bg);
3187
+ }
3188
+
3189
+ width: 100%;
3190
+
3191
+ height: 100%;
3192
+
3193
+ background-color: transparent;
3194
+
3195
+ padding: 0;
3196
+
3197
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3198
+
3199
+ outline: none
3200
+ }
3201
+
3202
+ &[shape='square'] {
3203
+
3204
+ &:hover {
3205
+ }
3206
+
3207
+ &:focus {
3208
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3209
+ }
3210
+
3211
+ &[aria-checked='true'] {
3212
+ border-color: var(--qti-border-active);
3213
+ background-color: var(--qti-bg-active);
3214
+ }
3215
+
3216
+ &[aria-readonly='true'] {
3217
+ cursor: pointer;
3218
+ background-color: var(--qti-bg);
3219
+ outline: 0;
3220
+ border: none;
3221
+ }
3222
+
3223
+ &[aria-disabled='true'] {
3224
+ cursor: not-allowed;
3225
+ background-color: var(--qti-disabled-bg);
3226
+ color: var(--qti-disabled-color);
3227
+ border-color: var(--qti-border-color);
3228
+ outline: 4px solid var(--qti-disabled-bg);
3229
+ }
3230
+
3231
+ width: 100%;
3232
+
3233
+ height: 100%;
3234
+
3235
+ background-color: transparent;
3236
+
3237
+ padding: 0;
3238
+
3239
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3240
+
3241
+ outline: none
3242
+ }
3243
+ }
3244
+ }
3245
+
3246
+ qti-associate-interaction {
3247
+ /* General styles for active and enabled states */
3248
+ &:state(--dragzone-active) slot[name='qti-simple-associable-choice'] {
3249
+ border-color: var(--qti-border-active);
3250
+ background-color: var(--qti-bg-active);
3251
+ }
3252
+
3253
+ &:state(--dragzone-enabled) slot[name='qti-simple-associable-choice'] {
3254
+ background-color: var(--qti-bg-active);
3255
+ }
3256
+
3257
+ & qti-simple-associable-choice, /* drags when in lightdom */
3258
+ &::part(qti-simple-associable-choice) /* drags when in shadowdom */ {
3259
+
3260
+ &:hover {
3261
+ }
3262
+
3263
+ &:focus {
3264
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3265
+ }
3266
+
3267
+ &[dragging] {
3268
+ pointer-events: none;
3269
+ rotate: -2deg;
3270
+ box-shadow: 0 8px 12px rgb(0 0 0 / 20%),
3271
+ 0 4px 8px rgb(0 0 0 / 10%);
3272
+ }
3273
+
3274
+ transition: transform 200ms ease-out,
3275
+ box-shadow 200ms ease-out,
3276
+ rotate 200ms ease-out;
3277
+
3278
+ cursor: grab;
3279
+
3280
+ background-color: var(--qti-bg);
3281
+
3282
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
3283
+
3284
+ border-radius: var(--qti-border-radius);
3285
+
3286
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3287
+
3288
+ outline: none
3289
+ }
3290
+
3291
+ /* display: flex;
3292
+ overflow: hidden;
3293
+ align-items: center; */
3294
+
3295
+ /* &::part(drop-container) {
3296
+ display: flex;
3297
+ flex-direction: column;
3298
+ gap: var(--qti-gap-size);
3299
+ } */
3300
+
3301
+ &::part(drop-list) {
3302
+
3303
+ display: grid;
3304
+ height: 3rem;
3305
+ min-width: 10rem;
3306
+ border: var(--qti-border-thickness) dashed var(--qti-border-color);
3307
+ 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>')
3308
+ center no-repeat;
3309
+ border-radius: var(--qti-border-radius);
3310
+ position: relative;
3311
+ background-color: var(--qti-bg);
3312
+ }
3313
+
3314
+ &::part(drop-list):focus {
3315
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3316
+ }
3317
+
3318
+ &::part(drop-list)[dragging] {
3319
+ border-color: var(--qti-border-active);
3320
+ background-color: var(--qti-bg-active);
3321
+ }
3322
+
3323
+ /* &::part(drop-list) {
3324
+ @apply act;
3325
+ } */
3326
+ }
3327
+
3328
+ qti-graphic-order-interaction {
3329
+ & qti-hotspot-choice {
3330
+ width: 100%;
3331
+ height: 100%;
3332
+ background-color: rgb(128 128 128 / 30%);
3333
+ padding: 0;
3334
+
3335
+ &:hover {
3336
+ background-color: rgb(128 128 128 / 70%);
3337
+ }
3338
+
3339
+ &:focus {
3340
+ background-color: rgb(128 128 128 / 70%);
3341
+ }
3342
+
3343
+ &:state(--checked),
3344
+ &[aria-checked='true'] {
3345
+ background-color: rgb(128 128 128 / 70%);
3346
+ }
3347
+
3348
+ &[aria-readonly='true'] {
3349
+ cursor: pointer;
3350
+ background-color: var(--qti-bg);
3351
+ outline: 0;
3352
+ border: none;
3353
+ }
3354
+
3355
+ &[aria-disabled='true'] {
3356
+ cursor: not-allowed;
3357
+ background-color: var(--qti-disabled-bg);
3358
+ color: var(--qti-disabled-color);
3359
+ border-color: var(--qti-border-color);
3360
+ outline: 4px solid var(--qti-disabled-bg);
3361
+ }
3362
+
3363
+ &[aria-ordervalue] {
3364
+ display: grid;
3365
+ place-content: center;
3366
+ }
3367
+
3368
+ &[aria-ordervalue]::after {
3369
+ content: attr(aria-ordervalue) !important;
3370
+ }
3371
+
3372
+ &[aria-ordercorrectvalue] {
3373
+ display: grid;
3374
+ place-content: center;
3375
+ }
3376
+
3377
+ /* When both attributes are present */
3378
+ &[aria-ordercorrectvalue][aria-ordervalue]::after {
3379
+ content: 'C=' attr(aria-ordercorrectvalue) ' R=' attr(aria-ordervalue) !important;
3380
+ color: var(--qti-correct);
3381
+ }
3382
+
3383
+ /* When only aria-ordercorrectvalue is present */
3384
+ &[aria-ordercorrectvalue]:not([aria-ordervalue])::after {
3385
+ content: 'C=' attr(aria-ordercorrectvalue) !important;
3386
+ color: var(--qti-correct);
3387
+ }
3388
+ }
3389
+
3390
+ &.qti-selections-light {
3391
+ &:state(--dragzone-active)::part(drags) {
3392
+ background-color: var(--qti-light-bg-active);
3393
+ border-color: var(--qti-light-border-active);
3394
+ }
3395
+
3396
+ &:state(--dragzone-enabled)::part(drags) {
3397
+ background-color: var(--qti-light-bg-active);
3398
+ }
3399
+ }
3400
+
3401
+ &.qti-selections-dark {
3402
+ &:state(--dragzone-active)::part(drags) {
3403
+ background-color: var(--qti-dark-bg-active);
3404
+ border-color: var(--qti-dark-border-active);
3405
+ }
3406
+
3407
+ &:state(--dragzone-enabled)::part(drags) {
3408
+ background-color: var(--qti-dark-bg-active);
3409
+ }
3410
+ }
3411
+
3412
+ /* General styles for active and enabled states */
3413
+ &:state(--dragzone-active)::part(drags) {
3414
+ border-color: var(--qti-border-active);
3415
+ background-color: var(--qti-bg-active);
3416
+ }
3417
+
3418
+ &:state(--dragzone-enabled)::part(drags) {
3419
+ background-color: var(--qti-bg-active);
3420
+ }
3421
+ }
3422
+
3423
+ qti-graphic-associate-interaction {
3424
+ position: relative;
3425
+ display: block;
3426
+
3427
+ & qti-associable-hotspot {
3428
+ &[shape='circle'] {
3429
+
3430
+ &:hover {
3431
+ }
3432
+
3433
+ &:focus {
3434
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3435
+ }
3436
+
3437
+ &[aria-checked='true'] {
3438
+ border-color: var(--qti-border-active);
3439
+ background-color: var(--qti-bg-active);
3440
+ }
3441
+
3442
+ &[aria-readonly='true'] {
3443
+ cursor: pointer;
3444
+ background-color: var(--qti-bg);
3445
+ outline: 0;
3446
+ border: none;
3447
+ }
3448
+
3449
+ &[aria-disabled='true'] {
3450
+ cursor: not-allowed;
3451
+ background-color: var(--qti-disabled-bg);
3452
+ color: var(--qti-disabled-color);
3453
+ border-color: var(--qti-border-color);
3454
+ outline: 4px solid var(--qti-disabled-bg);
3455
+ }
3456
+
3457
+ width: 100%;
3458
+
3459
+ height: 100%;
3460
+
3461
+ background-color: transparent;
3462
+
3463
+ padding: 0;
3464
+
3465
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3466
+
3467
+ outline: none
3468
+ }
3469
+
3470
+ &[shape='square'] {
3471
+
3472
+ &:hover {
3473
+ }
3474
+
3475
+ &:focus {
3476
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3477
+ }
3478
+
3479
+ &[aria-checked='true'] {
3480
+ border-color: var(--qti-border-active);
3481
+ background-color: var(--qti-bg-active);
3482
+ }
3483
+
3484
+ &[aria-readonly='true'] {
3485
+ cursor: pointer;
3486
+ background-color: var(--qti-bg);
3487
+ outline: 0;
3488
+ border: none;
3489
+ }
3490
+
3491
+ &[aria-disabled='true'] {
3492
+ cursor: not-allowed;
3493
+ background-color: var(--qti-disabled-bg);
3494
+ color: var(--qti-disabled-color);
3495
+ border-color: var(--qti-border-color);
3496
+ outline: 4px solid var(--qti-disabled-bg);
3497
+ }
3498
+
3499
+ width: 100%;
3500
+
3501
+ height: 100%;
3502
+
3503
+ background-color: transparent;
3504
+
3505
+ padding: 0;
3506
+
3507
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3508
+
3509
+ outline: none
3510
+ }
3511
+ }
3512
+
3513
+ &.qti-selections-light {
3514
+ &:state(--dragzone-active)::part(drags) {
3515
+ background-color: var(--qti-light-bg-active);
3516
+ border-color: var(--qti-light-border-active);
3517
+ }
3518
+
3519
+ &:state(--dragzone-enabled)::part(drags) {
3520
+ background-color: var(--qti-light-bg-active);
3521
+ }
3522
+ }
3523
+
3524
+ &.qti-selections-dark {
3525
+ &:state(--dragzone-active)::part(drags) {
3526
+ background-color: var(--qti-dark-bg-active);
3527
+ border-color: var(--qti-dark-border-active);
3528
+ }
3529
+
3530
+ &:state(--dragzone-enabled)::part(drags) {
3531
+ background-color: var(--qti-dark-bg-active);
3532
+ }
3533
+ }
3534
+
3535
+ /* General styles for active and enabled states */
3536
+ &:state(--dragzone-active)::part(drags) {
3537
+ border-color: var(--qti-border-active);
3538
+ background-color: var(--qti-bg-active);
3539
+ }
3540
+
3541
+ &:state(--dragzone-enabled)::part(drags) {
3542
+ background-color: var(--qti-bg-active);
3543
+ }
3544
+ }
3545
+
3546
+ qti-slider-interaction {
3547
+ --qti-tick-color: rgb(229 231 235 / 100%);
3548
+ --qti-tick-width: 1px;
3549
+ }
3550
+
3551
+ qti-select-point-interaction {
3552
+ &::part(point) {
3553
+ &:hover {
3554
+ }
3555
+
3556
+ &:focus {
3557
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3558
+ }
3559
+
3560
+ border-radius: 100%;
3561
+
3562
+ border: 1px solid white;
3563
+
3564
+ background-color: black;
3565
+
3566
+ opacity: 0.5;
3567
+
3568
+ padding: 0;
3569
+
3570
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3571
+
3572
+ outline: none;
3573
+ }
3574
+ }
3575
+
3576
+ qti-position-object-stage {
3577
+ & qti-position-object-interaction {
3578
+ /* no styles necessary, only layout styles, defined in the component */
3579
+ }
3580
+ }
3581
+
3582
+ qti-prompt {
3583
+ margin: 0.5rem 0; /* my-2 */
3584
+ display: block;
3585
+ width: 100%;
3586
+ }
3587
+ }
3588
+
3589
+ qti-test-part:not(:has(qti-assessment-item)),
3590
+ qti-assessment-section:not(:has(qti-assessment-item)),
3591
+ qti-assessment-item-ref:not(:has(qti-assessment-item)) {
3592
+ display: none;
3593
+ }
3594
+
3595
+ qti-hottext-interaction::part(message),
3596
+ qti-choice-interaction::part(message),
3597
+ qti-association-interaction::part(message),
3598
+ qti-graphic-association-interaction::part(message),
3599
+ qti-graphic-gap-match-interaction::part(message),
3600
+ qti-graphic-order-interaction::part(message),
3601
+ qti-math-interaction::part(message) {
3602
+ display: none;
3603
+ color: var(--qti-validation-text, #000);
3604
+ background-color: var(--qti-validation-error-bg, #fff);
3605
+ padding: 10px;
3606
+ border: 3px solid var(--qti-validation-text, #000);
3607
+ border-radius: 4px;
3608
+ margin-top: 8px;
3609
+ }
3610
+ `;export{B as a,_ as b};
3611
+ /*! Bundled license information:
3612
+
3613
+ lit-html/node/directives/private-async-helpers.js:
3614
+ (**
3615
+ * @license
3616
+ * Copyright 2021 Google LLC
3617
+ * SPDX-License-Identifier: BSD-3-Clause
3618
+ *)
3619
+
3620
+ lit-html/node/directives/until.js:
3621
+ (**
3622
+ * @license
3623
+ * Copyright 2017 Google LLC
3624
+ * SPDX-License-Identifier: BSD-3-Clause
3625
+ *)
3626
+ */