@media-quest/builder 0.0.30 → 0.0.32

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.
@@ -0,0 +1,377 @@
1
+ // import { IconUrls } from "./icon-urls";
2
+ import { BuilderOptionTheme, IDefaultTheme } from "./IDefault-theme";
3
+ import { CssTheme } from "./css-theme";
4
+ import { PStyle } from "@media-quest/engine";
5
+ import { THEME_2_ICONS } from "./icons";
6
+
7
+ const translate = (pos: { x?: number; y?: number }) => {
8
+ const x = pos.x || 0;
9
+ const y = pos.y || 0;
10
+ return `translate(${x}%, ${y}%)`;
11
+ };
12
+ export const translateY50 = translate({ y: 50 });
13
+ export const translateX50 = translate({ x: -50 });
14
+ const translateX50Y50 = translate({ x: -50, y: 50 });
15
+
16
+ const Colors = {
17
+ primary: "#164AC4",
18
+ secondary: "#E8F0FE",
19
+ text: "#0D1E45",
20
+ white: "#ffffff",
21
+ backgroundGray: "#F0F0F0",
22
+ backgroundWhite: "white",
23
+ progressBackGround: "#164AC4",
24
+ progressForGround: "#F5F5F5",
25
+ // red: "red",
26
+ // yellow: "yellow",
27
+ };
28
+
29
+ const MAIN_TEXT_FONT_SIZE = 35;
30
+ const MAIN_TEXT_LINE_HEIGHT = 1.2;
31
+ const fraction = 472.6 / 600;
32
+
33
+ const LAYER_0 = 0;
34
+ const LAYER_1 = 1;
35
+ const LAYER_2 = 2;
36
+ const LAYER_3 = 3;
37
+ const LAYER_4 = 4;
38
+ const LAYER_5 = 5;
39
+ const W_M1 = 6;
40
+ const W_M2 = 4.5;
41
+ const W_M3 = 3;
42
+
43
+ const W_M4 = 1.5;
44
+
45
+ const H_M1 = 5;
46
+ const H_M2 = 3.75;
47
+ const H_M3 = 2.5;
48
+
49
+ const H_M4 = 1.25;
50
+
51
+ const W_MAX = 100 - W_M1 * 2;
52
+
53
+ const PROGRESS_BAR_HEIGHT = 2;
54
+
55
+ const AUDIO_ICON_WIDTH = 10;
56
+ const AUDIO_ICON_HEIGHT = AUDIO_ICON_WIDTH * fraction;
57
+ // const AUDIO_ICON_HEIGHT = AUDIO_ICON_WIDTH * fraction;
58
+ const AUDIO_ICON_LEFT = W_M1 + W_M2 + W_M3;
59
+
60
+ const Q_AREA_HEIGHT = 32;
61
+ const Q_AREA_BOTTOM = 2 * H_M1 + H_M2;
62
+ const Q_AREA_LEFT = W_M1 + W_M2;
63
+ const Q_AREA_WIDTH = W_MAX - W_M2 - W_M2;
64
+ const Q_AREA_TOP = 100 - Q_AREA_HEIGHT - Q_AREA_BOTTOM;
65
+
66
+ const MEDIA_HEIGHT = 34;
67
+ // const MEDIA_WIDTH = 100 - 2 * W_M1 - 2 * W_M2;
68
+ const MEDIA_TOP = H_M1 + H_M2;
69
+ const MEDIA_BOTTOM = MEDIA_TOP + MEDIA_HEIGHT;
70
+
71
+ const MEDIA_LEFT = W_M1 + W_M2;
72
+
73
+ const VIDEO_BUTTONS_WIDTH = 8;
74
+ const VIDEO_BUTTONS_HEIGHT = VIDEO_BUTTONS_WIDTH * fraction;
75
+ const VIDEO_CONTROLS_WIDTH = VIDEO_BUTTONS_WIDTH * 2 + 4 * W_M4;
76
+ const VIDEO_CONTROLS_HEIGHT = VIDEO_BUTTONS_HEIGHT + 2 * H_M4 + 2;
77
+ const VIDEO_CONTROLS_LEFT = 50 - VIDEO_CONTROLS_WIDTH / 2;
78
+ const VIDEO_CONTROLS_RIGHT = 50 - VIDEO_CONTROLS_WIDTH / 2;
79
+ const VIDEO_CONTROLS_TOP = MEDIA_BOTTOM - 1;
80
+ const VIDEO_CONTROLS_BOTTOM = 100 - VIDEO_CONTROLS_HEIGHT - VIDEO_CONTROLS_TOP;
81
+
82
+ const PAGE_BACKGROUND_BOTTOM = H_M1 + H_M1;
83
+ const PAGE_BACKGROUND_HEIGHT = 100 - PAGE_BACKGROUND_BOTTOM - H_M1;
84
+ const BUTTON_BAR_WIDTH = Q_AREA_WIDTH - 2 * W_M3;
85
+ const MAIN_TEXT_WIDE = Q_AREA_WIDTH - 2 * W_M3;
86
+ const MAIN_TEXT_NARROW = MAIN_TEXT_WIDE - AUDIO_ICON_WIDTH - W_M3;
87
+
88
+ const btnTextBase: PStyle = {
89
+ fontSize: { _unit: "px", value: 25 },
90
+ bottom: VIDEO_CONTROLS_BOTTOM + 1.2,
91
+ zIndex: LAYER_5,
92
+ width: VIDEO_CONTROLS_WIDTH / 2,
93
+ textAlign: "center",
94
+ visibility: "hidden",
95
+ margin: { _unit: "px", value: 0 },
96
+ // backgroundColor: Colors.yellow,
97
+ };
98
+
99
+ const muteUnmuteText: PStyle = { ...btnTextBase, right: VIDEO_CONTROLS_RIGHT };
100
+ const playPauseText: PStyle = { ...btnTextBase, left: VIDEO_CONTROLS_LEFT };
101
+ const replayText: PStyle = {
102
+ ...btnTextBase,
103
+ width: VIDEO_CONTROLS_WIDTH,
104
+ left: VIDEO_CONTROLS_LEFT,
105
+ // backgroundColor: Colors.yellow,
106
+ visibility: "hidden",
107
+ };
108
+
109
+ const playPauseBase: { css: PStyle; cssDisabled: PStyle; cssEnabled: PStyle } = {
110
+ css: {
111
+ width: VIDEO_BUTTONS_WIDTH,
112
+ height: VIDEO_BUTTONS_HEIGHT,
113
+ top: MEDIA_BOTTOM,
114
+ left: VIDEO_CONTROLS_LEFT + W_M4,
115
+ zIndex: LAYER_5,
116
+ visibility: "hidden",
117
+ },
118
+ cssDisabled: { opacity: 0.3, cursor: "not-allowed" },
119
+ cssEnabled: { opacity: 0.8, cursor: "pointer" },
120
+ };
121
+
122
+ const replayButtonStyles: PStyle = {
123
+ width: VIDEO_BUTTONS_WIDTH,
124
+ height: VIDEO_BUTTONS_HEIGHT,
125
+ top: MEDIA_BOTTOM,
126
+ // backgroundColor: "red",
127
+ left: VIDEO_CONTROLS_LEFT + VIDEO_CONTROLS_WIDTH / 2,
128
+ transform: translateX50,
129
+ zIndex: LAYER_5,
130
+ visibility: "hidden",
131
+ cursor: "pointer",
132
+ };
133
+
134
+ const muteUnMuteStyles: { css: PStyle; cssDisabled: PStyle; cssEnabled: PStyle } = {
135
+ css: {
136
+ width: VIDEO_BUTTONS_WIDTH,
137
+ height: VIDEO_BUTTONS_HEIGHT,
138
+ top: MEDIA_BOTTOM,
139
+ right: VIDEO_CONTROLS_RIGHT + W_M4,
140
+ zIndex: LAYER_5,
141
+ cursor: "pointer",
142
+ // transform: "translateX: 100%",
143
+ },
144
+ cssDisabled: { opacity: 0.3, cursor: "not-allowed" },
145
+ cssEnabled: { opacity: 0.8, cursor: "pointer" },
146
+ };
147
+ const buttonBaseCss = (): CssTheme => ({
148
+ css: {
149
+ backgroundColor: Colors.primary,
150
+ borderColor: Colors.primary,
151
+ textColor: Colors.white,
152
+ fontWeight: 600,
153
+ fontSize: { _unit: "px", value: 35 },
154
+ lineHeight: 1,
155
+ // letterSpacing: { _unit: "px", value: 2 },
156
+ paddingLeft: { _unit: "px", value: 30 },
157
+ paddingTop: { _unit: "px", value: 10 },
158
+ paddingBottom: { _unit: "px", value: 10 },
159
+ paddingRight: { _unit: "px", value: 30 },
160
+ borderRadius: { _unit: "px", value: 20 },
161
+ borderStyle: "solid",
162
+ boxShadow: "3px 3px gray",
163
+ position: "relative",
164
+ display: "block",
165
+ cursor: "pointer",
166
+ },
167
+ cssDisabled: { opacity: 0.3, cursor: "not-allowed" },
168
+ cssEnabled: { opacity: 1, cursor: "pointer" },
169
+ });
170
+ export const primaryButton = (overridesCss: PStyle): BuilderOptionTheme => {
171
+ const base = buttonBaseCss();
172
+ const optionTheme: BuilderOptionTheme = {
173
+ name: "primary-button",
174
+ normal: {
175
+ btn: {
176
+ css: {
177
+ ...base.css,
178
+ ...overridesCss,
179
+ backgroundColor: Colors.primary,
180
+ borderColor: Colors.primary,
181
+ textColor: Colors.white,
182
+ },
183
+ cssDisabled: base.cssDisabled,
184
+ cssEnabled: base.cssEnabled,
185
+ },
186
+ divider: {},
187
+ text1: {},
188
+ text2: {},
189
+ },
190
+
191
+ dontKnow: {
192
+ btn: {
193
+ css: {
194
+ ...base.css,
195
+ backgroundColor: Colors.secondary,
196
+ borderColor: Colors.secondary,
197
+ textColor: Colors.primary,
198
+ },
199
+ cssEnabled: base.cssEnabled,
200
+ cssDisabled: base.cssDisabled,
201
+ },
202
+ text1: {},
203
+ text2: {},
204
+ divider: {},
205
+ },
206
+ };
207
+
208
+ return optionTheme;
209
+ };
210
+
211
+ export const Theme2: IDefaultTheme = {
212
+ name: "theme2",
213
+ schemaBackgroundColor: Colors.white,
214
+ dimensions: { baseHeight: 1300, baseWidth: 1024 },
215
+ pageBackGround: {
216
+ style: {
217
+ height: PAGE_BACKGROUND_HEIGHT,
218
+ width: W_MAX,
219
+ bottom: PAGE_BACKGROUND_BOTTOM,
220
+ left: W_M1,
221
+ backgroundColor: Colors.backgroundGray,
222
+ },
223
+ },
224
+ backGroundArea1: {
225
+ style: {
226
+ height: Q_AREA_HEIGHT,
227
+ width: Q_AREA_WIDTH,
228
+ left: Q_AREA_LEFT,
229
+ bottom: Q_AREA_BOTTOM,
230
+ backgroundColor: Colors.white,
231
+ },
232
+ },
233
+ progressBar: {
234
+ width: W_MAX,
235
+ height: PROGRESS_BAR_HEIGHT,
236
+ bottom: H_M1,
237
+ left: W_M1,
238
+ backgroundStyles: {
239
+ backgroundColor: Colors.backgroundGray,
240
+ borderRadius: { _unit: "px", value: 10 },
241
+ },
242
+ progressStyles: {
243
+ backgroundColor: Colors.primary,
244
+ borderRadius: { _unit: "px", value: 10 },
245
+ },
246
+ text: {
247
+ textType: "page-progress",
248
+ style: { fontSize: { _unit: "px", value: 20 }, x: 81.5, y: 2.5 },
249
+ },
250
+ },
251
+ videoPlayer: {
252
+ playButton: {
253
+ text: { text: "Spill av", css: { ...playPauseText } },
254
+ iconUrl: THEME_2_ICONS.videoPlay.dataUrl,
255
+ ...playPauseBase,
256
+ },
257
+ pauseButton: {
258
+ text: { text: "Pause", css: { ...playPauseText } },
259
+ iconUrl: THEME_2_ICONS.videoPause.dataUrl,
260
+ ...playPauseBase,
261
+ },
262
+ buttonBar: {
263
+ width: VIDEO_CONTROLS_WIDTH,
264
+ zIndex: LAYER_4,
265
+ top: VIDEO_CONTROLS_TOP,
266
+ left: VIDEO_CONTROLS_LEFT,
267
+ backgroundColor: Colors.white,
268
+ height: VIDEO_CONTROLS_HEIGHT,
269
+ borderRadius: { _unit: "px", value: 16 },
270
+ },
271
+ muteButton: {
272
+ text: { text: "Lyd av", css: { ...muteUnmuteText } },
273
+ iconUrl: THEME_2_ICONS.mute.dataUrl,
274
+ css: muteUnMuteStyles.css,
275
+ },
276
+
277
+ unMuteButton: {
278
+ iconUrl: THEME_2_ICONS.unMute.dataUrl,
279
+ css: muteUnMuteStyles.css,
280
+ text: { text: "Lyd på", css: { ...muteUnmuteText } },
281
+ },
282
+
283
+ replayButton: {
284
+ css: replayButtonStyles,
285
+ cssDisabled: {},
286
+ cssEnabled: {},
287
+ iconUrl: THEME_2_ICONS.videoReplay.dataUrl,
288
+ text: { text: "Spill av på nytt", css: replayText },
289
+ },
290
+
291
+ videoElement: {
292
+ css: {
293
+ height: MEDIA_HEIGHT,
294
+ top: MEDIA_TOP,
295
+ transform: translateX50,
296
+ left: 50,
297
+ width: 100,
298
+ zIndex: LAYER_2,
299
+ visibility: "visible",
300
+ },
301
+ },
302
+ },
303
+ image: {
304
+ style: {
305
+ height: MEDIA_HEIGHT,
306
+ // Center image, with dynamic width.
307
+ left: 50,
308
+ transform: translateX50,
309
+ top: MEDIA_TOP,
310
+ boxShadow: "3px 3px",
311
+ },
312
+ },
313
+
314
+ mainText: {
315
+ base: {
316
+ text: {
317
+ width: MAIN_TEXT_WIDE,
318
+ left: W_M1 + W_M2 + W_M3,
319
+ top: Q_AREA_TOP + H_M3,
320
+ backgroundColor: Colors.white,
321
+ textAlign: "left",
322
+ textColor: "black",
323
+ fontSize: { _unit: "px", value: 35 },
324
+ lineHeight: 1.2,
325
+ },
326
+ audio: {
327
+ iconUrl: THEME_2_ICONS.audioPlay.dataUrl,
328
+ css: {
329
+ height: AUDIO_ICON_HEIGHT,
330
+ width: AUDIO_ICON_WIDTH,
331
+ top: Q_AREA_TOP + H_M3,
332
+ left: W_M1 + W_M2 + W_M3,
333
+ cursor: "pointer",
334
+ // transform: "translateY(100%)",
335
+ opacity: 0.8,
336
+ visibility: "visible",
337
+ // backgroundColor: "green",
338
+ },
339
+ cssDisabled: { opacity: 0.3, cursor: "not-allowed" },
340
+ cssEnabled: { opacity: 0.8, cursor: "pointer" },
341
+ },
342
+ },
343
+ notMediaHasAudio: {
344
+ text: { width: MAIN_TEXT_NARROW, left: W_M1 + W_M2 + W_M3 + AUDIO_ICON_WIDTH + W_M3 },
345
+ audio: {},
346
+ },
347
+ hasMediaHasAudio: {
348
+ text: {
349
+ width: MAIN_TEXT_NARROW,
350
+ left: W_M1 + W_M2 + W_M3 + AUDIO_ICON_WIDTH + W_M3,
351
+ },
352
+ audio: {},
353
+ },
354
+ notMediaNotAudio: { text: {} },
355
+ hasMediaNotAudio: { text: {} },
356
+ },
357
+ buttonBar: {
358
+ vibrateMs: 60,
359
+ container: {
360
+ base: {
361
+ display: "flex",
362
+ justifyContent: "space-evenly",
363
+ width: BUTTON_BAR_WIDTH,
364
+ bottom: Q_AREA_BOTTOM + H_M3,
365
+ left: Q_AREA_LEFT + W_M3,
366
+ // backgroundColor: "green",
367
+ gap: { _unit: "px", value: 20 },
368
+ alignItems: "center",
369
+ },
370
+ whenSingle: { justifyContent: "space-evenly" },
371
+ whenMany: { justifyContent: "flex-start" },
372
+ },
373
+
374
+ nextButtonTheme: primaryButton({}),
375
+ responseButtons: primaryButton({}),
376
+ },
377
+ };
@@ -1,7 +0,0 @@
1
- import type { BuilderSchemaDto } from "../Builder-schema";
2
- import { SchemaDto } from "@media-quest/engine";
3
-
4
- export abstract class AbstractThemeCompiler<ThemeSchema> {
5
- protected constructor(protected readonly theme: ThemeSchema) {}
6
- abstract compile(schema: BuilderSchemaDto): SchemaDto;
7
- }
@@ -1,226 +0,0 @@
1
- import type { CssTheme } from "./css-theme";
2
- import { DStyle, DCss } from "@media-quest/engine";
3
- import { IconUrls } from "./icon-urls";
4
-
5
- type PStyle = Partial<DStyle>;
6
- export interface IDefaultTheme {
7
- name: string;
8
- image: { style: PStyle };
9
- videoPlayer: {
10
- playButton: {
11
- iconUrl: string;
12
- css: PStyle;
13
- cssDisabled: PStyle;
14
- cssEnabled: PStyle;
15
- };
16
- pauseButton: {
17
- iconUrl: string;
18
- css: PStyle;
19
- cssDisabled: PStyle;
20
- cssEnabled: PStyle;
21
- };
22
- videoElement: {
23
- css: PStyle;
24
- };
25
- };
26
- mainText: {
27
- noMedia: {
28
- text: { css: PStyle; cssDisabled: PStyle; cssEnabled: PStyle };
29
- audio: { css: PStyle; cssDisabled: PStyle; cssEnabled: PStyle };
30
- };
31
- withMedia: {
32
- text: { css: PStyle; cssDisabled: PStyle; cssEnabled: PStyle };
33
- audio: { css: PStyle; cssDisabled: PStyle; cssEnabled: PStyle };
34
- };
35
- };
36
- // mainTextTheme: BuilderTextTheme;
37
- responseButtons: BuilderOptionTheme;
38
- nextButtonTheme: BuilderOptionTheme;
39
- // mainQuestionText: BuilderTextTheme;
40
- // dontKnowButtonTheme: BuilderOptionTheme;
41
- buttonThemes?: Array<BuilderOptionTheme>;
42
- }
43
-
44
- export interface BuilderOptionTheme {
45
- name: string;
46
- normal: ButtonTheme;
47
- dontKnow: ButtonTheme;
48
- }
49
-
50
- interface ButtonTheme {
51
- btn: CssTheme;
52
- divider: PStyle;
53
- text1: PStyle;
54
- text2: PStyle;
55
- }
56
-
57
- namespace BuilderOptionTheme {
58
- const GREEN = "#70AD47";
59
- const YELLOW = "#FFC000";
60
- const ORANGE = "#F4902C";
61
- const RED = "#FF0000";
62
- const LIGHT_BLUE = "#42719C";
63
- const WHITE = "#ffffff";
64
- const BLUE = "#2F5597";
65
- const BTN_WIDTH = 18.5;
66
- const BTN_BORDER_WIDTH = 3;
67
- const BTN_BORDER_RADIUS = 10;
68
- const BTN_BORDER_STYLE: DStyle["borderStyle"] = "solid";
69
- const BTN_HEIGHT = 9.2;
70
- const BTN_SHORT_WIDTH = 13.7;
71
- const FONT_WEIGHT: DStyle["fontWeight"] = 600;
72
- const FONT_SIZE: DCss.Px["value"] = 35;
73
-
74
- export const blueButton = (): BuilderOptionTheme => {
75
- const optionTheme: BuilderOptionTheme = {
76
- name: "blue-button-theme",
77
- normal: {
78
- btn: {
79
- css: {
80
- backgroundColor: BLUE,
81
- borderColor: BLUE,
82
- textColor: WHITE,
83
- fontSize: { _unit: "px", value: FONT_SIZE },
84
- borderWidth: { _unit: "px", value: BTN_BORDER_WIDTH },
85
- borderStyle: BTN_BORDER_STYLE,
86
- borderRadius: { value: BTN_BORDER_RADIUS, _unit: "px" },
87
- padding: { _unit: "px", value: 40 },
88
- h: BTN_HEIGHT,
89
- w: BTN_WIDTH,
90
- x: 10,
91
- y: 8,
92
- textAlign: "center",
93
- },
94
- cssDisabled: { opacity: 0.3, cursor: "not-allowed" },
95
- cssEnabled: { opacity: 1, cursor: "pointer" },
96
- },
97
- divider: {},
98
- text1: {
99
- y: 50,
100
- transform: "translate(0%, 50%)",
101
- textColor: WHITE,
102
- fontSize: { _unit: "px", value: FONT_SIZE },
103
- w: 84,
104
- x: 8,
105
- fontWeight: FONT_WEIGHT,
106
- textAlign: "center",
107
- },
108
- text2: {},
109
- },
110
-
111
- dontKnow: {
112
- btn: {
113
- css: {
114
- backgroundColor: WHITE,
115
- borderColor: LIGHT_BLUE,
116
- textColor: BLUE,
117
- fontSize: { _unit: "px", value: FONT_SIZE },
118
- borderWidth: { _unit: "px", value: BTN_BORDER_WIDTH },
119
- borderStyle: BTN_BORDER_STYLE,
120
- borderRadius: { value: BTN_BORDER_RADIUS, _unit: "px" },
121
- padding: { _unit: "px", value: 40 },
122
- h: BTN_HEIGHT,
123
- w: BTN_SHORT_WIDTH,
124
- x: 10,
125
- y: 8,
126
- textAlign: "center",
127
- },
128
- cssDisabled: { opacity: 0.3, cursor: "not-allowed" },
129
- cssEnabled: { opacity: 1, cursor: "pointer" },
130
- },
131
- text1: {
132
- y: 50,
133
- transform: "translate(0%, 50%)",
134
- textColor: BLUE,
135
- fontSize: { _unit: "px", value: FONT_SIZE },
136
- w: 84,
137
- x: 8,
138
- fontWeight: FONT_WEIGHT,
139
- textAlign: "center",
140
- },
141
- text2: {},
142
- divider: {},
143
- },
144
- };
145
-
146
- return optionTheme;
147
- };
148
- }
149
-
150
- export const DefaultTheme: IDefaultTheme = {
151
- name: "default-theme",
152
- videoPlayer: {
153
- playButton: {
154
- iconUrl: IconUrls.playCircleRegular,
155
- css: { w: 5, h: 5, y: 48, x: 4 },
156
- cssDisabled: { opacity: 0.3, cursor: "not-allowed" },
157
- cssEnabled: { opacity: 0.8, cursor: "pointer" },
158
- },
159
- pauseButton: {
160
- iconUrl: IconUrls.pauseSvg,
161
- css: { w: 5, h: 5, y: 48, x: 4 },
162
- cssDisabled: { opacity: 0.3, cursor: "not-allowed" },
163
- cssEnabled: { opacity: 0.8, cursor: "pointer" },
164
- },
165
- videoElement: { css: { w: 100, h: 45, y: 55, x: 0 } },
166
- },
167
- image: { style: { h: 50, w: 100, x: 0 } },
168
- mainText: {
169
- noMedia: {
170
- text: {
171
- css: {
172
- w: 80,
173
- y: 65,
174
- x: 10,
175
- textAlign: "center",
176
- textColor: "black",
177
- fontSize: { _unit: "px", value: 40 },
178
- },
179
- cssDisabled: {},
180
- cssEnabled: {},
181
- },
182
- audio: {
183
- css: {
184
- h: 6,
185
- w: 6,
186
- x: 4,
187
- y: 32,
188
- cursor: "pointer",
189
- opacity: 0.8,
190
- visibility: "visible",
191
- },
192
- cssDisabled: { opacity: 0.3, cursor: "not-allowed" },
193
- cssEnabled: { opacity: 0.8, cursor: "pointer" },
194
- },
195
- },
196
- withMedia: {
197
- text: {
198
- css: {
199
- w: 80,
200
- y: 27,
201
- x: 10,
202
- textAlign: "center",
203
- textColor: "black",
204
- fontSize: { _unit: "px", value: 30 },
205
- },
206
- cssDisabled: {},
207
- cssEnabled: {},
208
- },
209
- audio: {
210
- css: {
211
- h: 6,
212
- w: 6,
213
- x: 4,
214
- y: 32,
215
- cursor: "pointer",
216
- opacity: 0.8,
217
- visibility: "visible",
218
- },
219
- cssDisabled: { opacity: 0.3, cursor: "not-allowed" },
220
- cssEnabled: { opacity: 0.8, cursor: "pointer" },
221
- },
222
- },
223
- },
224
- nextButtonTheme: BuilderOptionTheme.blueButton(),
225
- responseButtons: BuilderOptionTheme.blueButton(),
226
- };