lido-player 0.0.2-alpha-50-dev → 0.0.2-alpha-52-dev
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.
- package/LICENSE +21 -21
- package/dist/cjs/{index-6a69c33a.js → index-baff5c15.js} +48 -14
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{lido-avatar_21.cjs.entry.js → lido-avatar_22.cjs.entry.js} +3043 -162
- package/dist/cjs/lido-player.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{utils-079a5e7d.js → utils-ce99b0d0.js} +294 -108
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/avatar/lido-avatar.css +4 -4
- package/dist/collection/components/avatar/lido-avatar.js +1 -1
- package/dist/collection/components/calculator/lido-calculator.css +87 -87
- package/dist/collection/components/calculator/lido-calculator.js +14 -8
- package/dist/collection/components/canvas/lido-canvas.css +35 -0
- package/dist/collection/components/canvas/lido-canvas.js +220 -0
- package/dist/collection/components/cell/lido-cell.css +100 -100
- package/dist/collection/components/cell/lido-cell.js +12 -12
- package/dist/collection/components/column/lido-col.css +19 -19
- package/dist/collection/components/column/lido-col.js +6 -6
- package/dist/collection/components/container/lido-container.css +10 -10
- package/dist/collection/components/container/lido-container.js +70 -8
- package/dist/collection/components/flashCard/lido-flash-card.css +28 -28
- package/dist/collection/components/flashCard/lido-flash-card.js +4 -4
- package/dist/collection/components/float/lido-float.css +30 -30
- package/dist/collection/components/float/lido-float.js +2 -2
- package/dist/collection/components/home/lido-home.css +278 -278
- package/dist/collection/components/home/lido-home.js +92 -12
- package/dist/collection/components/image/lido-image.css +17 -17
- package/dist/collection/components/image/lido-image.js +6 -6
- package/dist/collection/components/keyboard/lido-keyboard.css +38 -38
- package/dist/collection/components/keyboard/lido-keyboard.js +3 -3
- package/dist/collection/components/mathMatrix/lido-math-matrix.css +56 -56
- package/dist/collection/components/mathMatrix/lido-math-matrix.js +69 -15
- package/dist/collection/components/position/lido-pos.css +16 -16
- package/dist/collection/components/position/lido-pos.js +2 -2
- package/dist/collection/components/random/lido-random.css +8 -8
- package/dist/collection/components/random/lido-random.js +2 -2
- package/dist/collection/components/root/lido-root.js +42 -6
- package/dist/collection/components/row/lido-row.css +10 -10
- package/dist/collection/components/row/lido-row.js +6 -6
- package/dist/collection/components/scale/lido-balance.css +145 -114
- package/dist/collection/components/scale/lido-balance.js +17 -17
- package/dist/collection/components/shape/lido-shape.css +96 -96
- package/dist/collection/components/shape/lido-shape.js +5 -5
- package/dist/collection/components/slideFill/lido-slide-fill.css +3 -3
- package/dist/collection/components/slideFill/lido-slide-fill.js +13 -13
- package/dist/collection/components/text/lido-text.css +53 -53
- package/dist/collection/components/text/lido-text.js +6 -5
- package/dist/collection/components/trace/lido-trace.css +97 -97
- package/dist/collection/components/trace/lido-trace.js +2 -2
- package/dist/collection/components/wrap/lido-wrap.css +18 -18
- package/dist/collection/components/wrap/lido-wrap.js +6 -6
- package/dist/collection/css/animation.css +194 -194
- package/dist/collection/css/index.css +277 -277
- package/dist/collection/stories/Templates/Fill-Up/fill-up.stories.js +60 -60
- package/dist/collection/stories/Templates/LetterPairing/LetterPairing.stories.js +123 -123
- package/dist/collection/stories/Templates/RocketGame/rocketGame.stories.js +55 -48
- package/dist/collection/stories/Templates/Tag/tagGame.stories.js +29 -29
- package/dist/collection/stories/Templates/arrangeLetters/arrangeLetters.stories.js +42 -42
- package/dist/collection/stories/Templates/balancing/balancing.stories.js +37 -31
- package/dist/collection/stories/Templates/balloonPop/balloonPop.stories.js +38 -38
- package/dist/collection/stories/Templates/blender/blender.stories.js +100 -0
- package/dist/collection/stories/Templates/bubbleType/bubbleType.stories.js +42 -42
- package/dist/collection/stories/Templates/calculator/calculator.stories.js +52 -0
- package/dist/collection/stories/Templates/categorize/categorize.stories.js +37 -37
- package/dist/collection/stories/Templates/categorize2/categorize2.stories.js +67 -67
- package/dist/collection/stories/Templates/checker-block/checkerBlock.stories.js +28 -22
- package/dist/collection/stories/Templates/checkerBlock/checkerBlock.stories.js +13 -13
- package/dist/collection/stories/Templates/create-sentence/createSentence.stories.js +74 -74
- package/dist/collection/stories/Templates/dragAndDrop/drag-drop.stories.js +69 -69
- package/dist/collection/stories/Templates/fillAnswer/fill-answer.stories.js +39 -38
- package/dist/collection/stories/Templates/fillBlank/fill-blank.stories.js +282 -282
- package/dist/collection/stories/Templates/foodJar/food-jar.stories.js +37 -35
- package/dist/collection/stories/Templates/grid/grid.stories.js +118 -118
- package/dist/collection/stories/Templates/gridGame/grid-game.stories.js +57 -57
- package/dist/collection/stories/Templates/jumpSentence/jumpSentence.stories.js +41 -41
- package/dist/collection/stories/Templates/letterboard/letterboard.stories.js +183 -183
- package/dist/collection/stories/Templates/makeSentence/make-sentence.stories.js +36 -36
- package/dist/collection/stories/Templates/matchBox/matchBox.stories.js +69 -69
- package/dist/collection/stories/Templates/matchBox/matchBox2.stories.js +54 -54
- package/dist/collection/stories/Templates/matchingCard/matching-card.stories.js +25 -23
- package/dist/collection/stories/Templates/multipleOption/mcqWithQuestionImage.stories.js +112 -112
- package/dist/collection/stories/Templates/multipleOption/multiple-option.stories.js +47 -47
- package/dist/collection/stories/Templates/multiplyBeeds/multiplyBeeds.stories.js +32 -28
- package/dist/collection/stories/Templates/nimbleTable/nimbleTable.stories.js +56 -54
- package/dist/collection/stories/Templates/numberBoard/numberBoard.stories.js +56 -45
- package/dist/collection/stories/Templates/numberBoardTwo/numberBoardTwo.stories.js +41 -39
- package/dist/collection/stories/Templates/numberPair/numberPair.stories.js +131 -127
- package/dist/collection/stories/Templates/openwindow/openwindow.stories.js +53 -49
- package/dist/collection/stories/Templates/openwindow/openwindow2.stories.js +44 -40
- package/dist/collection/stories/Templates/order-tractor/order-tractor-ascending-order.stories.js +98 -97
- package/dist/collection/stories/Templates/order-tractor/order-tractor.stories.js +92 -91
- package/dist/collection/stories/Templates/phonic-tractor/phonic-tractor.stories.js +47 -45
- package/dist/collection/stories/Templates/picturemeaning/pictureMeaningCocos.stories.js +20 -20
- package/dist/collection/stories/Templates/puzzleGame/puzzleGame.stories.js +17 -17
- package/dist/collection/stories/Templates/questionBoard/questionBoard.stories.js +62 -58
- package/dist/collection/stories/Templates/quizLiteracy/quizLiteracy.stories.js +50 -50
- package/dist/collection/stories/Templates/quizLiteracy/quizLiteracyImageWithText.stories.js +36 -36
- package/dist/collection/stories/Templates/quizLiteracy/quizLiteracyImageWord.stories.js +43 -43
- package/dist/collection/stories/Templates/reorder/reorder.stories.js +63 -63
- package/dist/collection/stories/Templates/rowBlocks/rowBlocks.stories.js +52 -48
- package/dist/collection/stories/Templates/sequenceBox/sequenceBox1.stories.js +65 -61
- package/dist/collection/stories/Templates/sequenceBox/sequenceBox2.stories.js +62 -58
- package/dist/collection/stories/Templates/shapePair/shape-pair.stories.js +111 -107
- package/dist/collection/stories/Templates/shapeTractor/shape-tractor.stories.js +46 -46
- package/dist/collection/stories/Templates/spellDoor/spellDoor.stories.js +41 -41
- package/dist/collection/stories/Templates/storyTale/storyTale.stories.js +39 -39
- package/dist/collection/stories/Templates/sumTogether/sumTogether.stories.js +51 -47
- package/dist/collection/stories/Templates/total/total.stories.js +27 -27
- package/dist/collection/stories/Templates/writeCard/writeCard.stories.js +35 -31
- package/dist/collection/stories/Templates/writeLetter/writeLetter.stories.js +62 -58
- package/dist/collection/stories/Templates/writeNumber/writeNumber.stories.js +44 -40
- package/dist/collection/stories/Templates/writeSet/writeSet.stories.js +36 -32
- package/dist/collection/stories/Templates/writeWord/writeWord.stories.js +37 -33
- package/dist/collection/stories/components/flash-card.stories.js +48 -48
- package/dist/collection/stories/components/keyboard.stories.js +10 -10
- package/dist/collection/stories/components/slider.stories.js +4 -4
- package/dist/collection/stories/components/trace.stories.js +5 -5
- package/dist/collection/utils/audioPlayer.js +43 -6
- package/dist/collection/utils/constants.js +1 -0
- package/dist/collection/utils/i18n.js +36 -0
- package/dist/collection/utils/utils.js +170 -36
- package/dist/collection/utils/utilsHandlers/clickHandler.js +5 -1
- package/dist/collection/utils/utilsHandlers/dragDropHandler.js +27 -15
- package/dist/collection/utils/utilsHandlers/highlightHandler.js +54 -54
- package/dist/collection/utils/utilsHandlers/lidoBalanceHandler.js +2 -2
- package/dist/collection/utils/utilsHandlers/lidoCalculatorHandler.js +9 -9
- package/dist/collection/utils/utilsHandlers/sortHandler.js +10 -10
- package/dist/components/index.js +1 -1
- package/dist/components/lido-avatar.js +1 -1
- package/dist/components/lido-balance.js +1 -1
- package/dist/components/lido-calculator.js +1 -1
- package/dist/components/lido-canvas.d.ts +11 -0
- package/dist/components/lido-canvas.js +6 -0
- package/dist/components/lido-cell.js +1 -1
- package/dist/components/lido-col.js +1 -1
- package/dist/components/lido-container.js +1 -1
- package/dist/components/lido-flash-card.js +1 -1
- package/dist/components/lido-float.js +1 -1
- package/dist/components/lido-home.js +1 -1
- package/dist/components/lido-image.js +1 -1
- package/dist/components/lido-keyboard.js +1 -1
- package/dist/components/lido-math-matrix.js +1 -1
- package/dist/components/lido-pos.js +1 -1
- package/dist/components/lido-random.js +1 -1
- package/dist/components/lido-root.js +49 -25
- package/dist/components/lido-row.js +1 -1
- package/dist/components/lido-shape.js +1 -1
- package/dist/components/lido-slide-fill.js +1 -1
- package/dist/components/lido-text.js +1 -1
- package/dist/components/lido-trace.js +1 -1
- package/dist/components/lido-wrap.js +1 -1
- package/dist/components/{p-9be56729.js → p-00777872.js} +46 -2
- package/dist/components/{p-3f406017.js → p-06171259.js} +2 -2
- package/dist/components/{p-08d0deab.js → p-09f1e2d2.js} +15 -9
- package/dist/components/{p-e4e42677.js → p-0c2aebfb.js} +2 -2
- package/dist/components/p-0fbeb3a1.js +2700 -0
- package/dist/components/{p-cbac3cbc.js → p-11bf64aa.js} +2 -2
- package/dist/components/{p-44808985.js → p-26df0769.js} +7 -7
- package/dist/components/{p-1fbdb431.js → p-2d53e1a5.js} +2 -2
- package/dist/components/{p-afbc196f.js → p-39a2e638.js} +3 -2
- package/dist/components/{p-e36ddcc1.js → p-3ce3744c.js} +14 -11
- package/dist/components/{p-7f7e5672.js → p-3f4d4c0a.js} +2 -2
- package/dist/components/{p-d37ab4dc.js → p-52e77394.js} +2 -2
- package/dist/components/{p-bed94c37.js → p-58c67252.js} +331 -118
- package/dist/components/p-5b5f59a8.js +129 -0
- package/dist/components/{p-52844fa4.js → p-68112f8c.js} +2 -2
- package/dist/components/{p-15971ede.js → p-8a34b98b.js} +1 -1
- package/dist/components/{p-904711c8.js → p-8f2ed62f.js} +2 -2
- package/dist/components/{p-74849cdd.js → p-9d34d59d.js} +4 -4
- package/dist/components/{p-73e31a86.js → p-a2f96840.js} +8 -8
- package/dist/components/{p-90465904.js → p-a516a324.js} +2 -2
- package/dist/components/{p-322acda6.js → p-b2125fc9.js} +67 -31
- package/dist/components/{p-835b973d.js → p-c4abfd0f.js} +2 -2
- package/dist/components/{p-29bdd953.js → p-cb56a853.js} +2 -2
- package/dist/esm/{index-170e58c7.js → index-37c2ad2d.js} +48 -14
- package/dist/esm/index.js +2 -2
- package/dist/esm/{lido-avatar_21.entry.js → lido-avatar_22.entry.js} +3043 -163
- package/dist/esm/lido-player.js +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{utils-5df09162.js → utils-107b15a7.js} +294 -108
- package/dist/lido-player/index.esm.js +1 -1
- package/dist/lido-player/lido-player.esm.js +1 -1
- package/dist/lido-player/p-606ea279.entry.js +1 -0
- package/dist/lido-player/p-9a9d5339.js +2 -0
- package/dist/lido-player/{p-7556e652.js → p-d1251482.js} +2 -2
- package/dist/types/components/canvas/lido-canvas.d.ts +27 -0
- package/dist/types/components/container/lido-container.d.ts +6 -0
- package/dist/types/components/home/lido-home.d.ts +8 -0
- package/dist/types/components/mathMatrix/lido-math-matrix.d.ts +3 -1
- package/dist/types/components/root/lido-root.d.ts +5 -0
- package/dist/types/components.d.ts +71 -6
- package/dist/types/stories/Templates/RocketGame/rocketGame.stories.d.ts +1 -0
- package/dist/types/stories/Templates/blender/blender.stories.d.ts +4 -0
- package/dist/types/stories/Templates/calculator/calculator.stories.d.ts +4 -0
- package/dist/types/stories/Templates/multiplyBeeds/multiplyBeeds.stories.d.ts +1 -0
- package/dist/types/stories/Templates/openwindow/openwindow.stories.d.ts +1 -0
- package/dist/types/stories/Templates/openwindow/openwindow2.stories.d.ts +1 -0
- package/dist/types/stories/Templates/questionBoard/questionBoard.stories.d.ts +1 -0
- package/dist/types/stories/Templates/sequenceBox/sequenceBox1.stories.d.ts +1 -0
- package/dist/types/stories/Templates/sequenceBox/sequenceBox2.stories.d.ts +1 -0
- package/dist/types/stories/Templates/shapePair/shape-pair.stories.d.ts +1 -1
- package/dist/types/stories/Templates/sumTogether/sumTogether.stories.d.ts +1 -0
- package/dist/types/stories/Templates/writeCard/writeCard.stories.d.ts +1 -0
- package/dist/types/stories/Templates/writeLetter/writeLetter.stories.d.ts +1 -0
- package/dist/types/stories/Templates/writeNumber/writeNumber.stories.d.ts +1 -0
- package/dist/types/stories/Templates/writeWord/writeWord.stories.d.ts +1 -0
- package/dist/types/types/json.d.ts +4 -0
- package/dist/types/utils/audioPlayer.d.ts +2 -0
- package/dist/types/utils/constants.d.ts +1 -0
- package/dist/types/utils/i18n.d.ts +5 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/package.json +71 -69
- package/readme.md +113 -113
- package/dist/lido-player/p-137c99ce.js +0 -2
- package/dist/lido-player/p-eb956325.entry.js +0 -1
|
@@ -4,6 +4,7 @@ import { dispatchActivityChangeEvent, dispatchGameCompletedEvent, dispatchGameEx
|
|
|
4
4
|
import { calculateScale, getCancelBtnPopup, setCancelBtnPopup, executeActions, triggerPrevcontainer, convertUrlToRelative } from "../../utils/utils";
|
|
5
5
|
import { AudioPlayer } from "../../utils/audioPlayer";
|
|
6
6
|
import { generateUUIDFallback } from "../../utils/utils";
|
|
7
|
+
import i18next from "../../utils/i18n";
|
|
7
8
|
/**
|
|
8
9
|
* @component LidoHome
|
|
9
10
|
*
|
|
@@ -67,6 +68,8 @@ export class LidoHome {
|
|
|
67
68
|
};
|
|
68
69
|
// update arrow visibility
|
|
69
70
|
this.updateArrowVisibility = () => {
|
|
71
|
+
if (!this.showNav)
|
|
72
|
+
return;
|
|
70
73
|
setTimeout(() => {
|
|
71
74
|
const containerElement = this.el.querySelector('lido-container');
|
|
72
75
|
if (!containerElement)
|
|
@@ -107,6 +110,9 @@ export class LidoHome {
|
|
|
107
110
|
}
|
|
108
111
|
}
|
|
109
112
|
};
|
|
113
|
+
this.showNav = true;
|
|
114
|
+
this.activeContainerIndexes = [];
|
|
115
|
+
this.locale = '';
|
|
110
116
|
this.xmlData = '';
|
|
111
117
|
this.initialIndex = 0;
|
|
112
118
|
this.canplay = true;
|
|
@@ -124,6 +130,17 @@ export class LidoHome {
|
|
|
124
130
|
this.containers = [];
|
|
125
131
|
this.showDotsandbtn = false;
|
|
126
132
|
}
|
|
133
|
+
onLangChange(newLang) {
|
|
134
|
+
this.setLanguage(newLang);
|
|
135
|
+
// re-render all containers with updated locale
|
|
136
|
+
this.containers = [...this.containers];
|
|
137
|
+
}
|
|
138
|
+
setLanguage(lang) {
|
|
139
|
+
const effectiveLang = lang || i18next.language; // fallback to current
|
|
140
|
+
i18next.changeLanguage(effectiveLang);
|
|
141
|
+
// Trigger re-render of containers to update <lido-text> dynamically
|
|
142
|
+
this.containers = [...this.containers];
|
|
143
|
+
}
|
|
127
144
|
/**
|
|
128
145
|
* Lifecycle method that runs before the component is loaded. It sets up event listeners for transitioning
|
|
129
146
|
* between containers and parses the XML data into containers.
|
|
@@ -279,6 +296,9 @@ export class LidoHome {
|
|
|
279
296
|
return null;
|
|
280
297
|
})
|
|
281
298
|
.filter(Boolean);
|
|
299
|
+
if (tagName === 'lido-text' && props.string) {
|
|
300
|
+
props.string = i18next.t(props.string);
|
|
301
|
+
}
|
|
282
302
|
// Map XML tags to Stencil components
|
|
283
303
|
const componentMapping = {
|
|
284
304
|
'lido-container': (h("lido-container", Object.assign({}, props, { canplay: this.canplay, baseUrl: this.baseUrl, height: this.height }), children)),
|
|
@@ -300,6 +320,7 @@ export class LidoHome {
|
|
|
300
320
|
'lido-math-matrix': h("lido-math-matrix", Object.assign({}, props), children),
|
|
301
321
|
'lido-balance': h("lido-balance", Object.assign({}, props), children),
|
|
302
322
|
'lido-calculator': h("lido-calculator", Object.assign({}, props), children),
|
|
323
|
+
'lido-canvas': h("lido-canvas", Object.assign({}, props), children),
|
|
303
324
|
};
|
|
304
325
|
// If the tag is known, return the corresponding Stencil component, otherwise log a warning
|
|
305
326
|
if (componentMapping[tagName]) {
|
|
@@ -317,11 +338,15 @@ export class LidoHome {
|
|
|
317
338
|
*/
|
|
318
339
|
parseContainers(rootElement) {
|
|
319
340
|
const containerElements = rootElement.querySelectorAll('lido-container');
|
|
320
|
-
const containers = Array.from(containerElements).map(container => {
|
|
341
|
+
const containers = Array.from(containerElements).map((container, index) => {
|
|
342
|
+
console.log("nammadhaaaaaaa", this.activeContainerIndexes.length && !this.activeContainerIndexes.includes(index));
|
|
343
|
+
if (this.activeContainerIndexes.length && !this.activeContainerIndexes.includes(index))
|
|
344
|
+
return;
|
|
321
345
|
// Return a factory function that generates a fresh JSX node each time
|
|
322
346
|
return () => this.parseElement(container);
|
|
323
|
-
});
|
|
347
|
+
}).filter(Boolean); // Remove any undefined entries
|
|
324
348
|
this.containers = containers;
|
|
349
|
+
console.log("container :::", containers);
|
|
325
350
|
}
|
|
326
351
|
async btnpopup() {
|
|
327
352
|
setCancelBtnPopup(false);
|
|
@@ -377,17 +402,17 @@ export class LidoHome {
|
|
|
377
402
|
*/
|
|
378
403
|
renderDots() {
|
|
379
404
|
const style = { pointerEvents: this.canplay ? 'none' : '' };
|
|
380
|
-
return (h("div", { id: "lido-dot-indicator", class: "lido-dot-container" }, h("div", { class: "lido-exit-button popup\n -button", onClick: () => {
|
|
405
|
+
return (h("div", { id: "lido-dot-indicator", class: "lido-dot-container" }, h("div", { class: "lido-exit-button popup\r\n -button", onClick: () => {
|
|
381
406
|
this.exitFlag = true;
|
|
382
407
|
AudioPlayer.getI().stop();
|
|
383
|
-
} }, h("lido-image", { src: this.navBarIcons.exit })), h("div", { class: "lido-btn-dot-container" }, h("div", { id: "lido-arrow-left", onClick: () => {
|
|
408
|
+
}, style: { visibility: this.showNav ? "visible" : "hidden" } }, h("lido-image", { src: this.navBarIcons.exit })), h("div", { class: "lido-btn-dot-container" }, h("div", { id: "lido-arrow-left", onClick: () => {
|
|
384
409
|
triggerPrevcontainer();
|
|
385
|
-
} }, h("lido-image", { src: this.navBarIcons.prev })), this.containers.map((_, index) => (h("div", { class: "parent_dots" }, h("span", { class: `lido-dot ${index < this.currentContainerIndex ? 'completed' : index === this.currentContainerIndex ? 'current' : ''}`, onClick: () => this.jumpToContainer(index), style: style })))), h("div", { id: "lido-arrow-right", onClick: event => {
|
|
410
|
+
}, style: { visibility: this.showNav ? "visible" : "hidden" } }, h("lido-image", { src: this.navBarIcons.prev })), this.containers.map((_, index) => (h("div", { class: "parent_dots" }, h("span", { class: `lido-dot ${index < this.currentContainerIndex ? 'completed' : index === this.currentContainerIndex ? 'current' : ''}`, onClick: () => this.jumpToContainer(index), style: style })))), h("div", { id: "lido-arrow-right", onClick: event => {
|
|
386
411
|
console.log('Target:', event.target); // What was clicked
|
|
387
412
|
console.log('Current Target:', event.currentTarget); // Where the onClick is bound
|
|
388
413
|
console.log('✅ Button clicked - nextBtn action triggered');
|
|
389
414
|
executeActions("this.nextBtn='true'", event.currentTarget);
|
|
390
|
-
} }, h("lido-image", { src: this.navBarIcons.next }))), h("div", { id: "main-audio", class: "popup-button", onClick: () => this.btnpopup() }, h("lido-image", { visible: "true", src: this.navBarIcons.speak }))));
|
|
415
|
+
}, style: { visibility: this.showNav ? "visible" : "hidden" } }, h("lido-image", { src: this.navBarIcons.next }))), h("div", { id: "main-audio", class: "popup-button", onClick: () => this.btnpopup(), style: { visibility: this.showNav ? "visible" : "hidden" } }, h("lido-image", { visible: "true", src: this.navBarIcons.speak }))));
|
|
391
416
|
}
|
|
392
417
|
/**
|
|
393
418
|
* Jumps to a specific container based on the index of the dot clicked.
|
|
@@ -409,7 +434,7 @@ export class LidoHome {
|
|
|
409
434
|
const style = {
|
|
410
435
|
userSelect: 'none', // Prevent any field selection
|
|
411
436
|
};
|
|
412
|
-
return (h(Host, { class: "lido-home", uuid: this.uuid, index: this.currentContainerIndex, totalIndex: this.containers.length, style: style }, h("div", { key: this.currentContainerIndex }, (_b = (_a = this.containers)[this.currentContainerIndex]) === null || _b === void 0 ? void 0 : _b.call(_a)), this.renderDots(), this.exitFlag && (h("div", { class: "lido-alert-parent" }, h("div", { class: "lido-alert-popup" }, h("lido-cell", { class: "lido-alert-content", visible: "true", layout: "col", width: "340px", height: "210px", "bg-color": "#fff", "border-radius": "16px", onEntry: "this.box-shadow= '0 4px 8px 0 rgba(0, 0, 0, 0.25)';" }, h("lido-text", { visible: "true", string: "
|
|
437
|
+
return (h(Host, { class: "lido-home", uuid: this.uuid, index: this.currentContainerIndex, totalIndex: this.containers.length, style: style }, h("div", { key: this.currentContainerIndex }, (_b = (_a = this.containers)[this.currentContainerIndex]) === null || _b === void 0 ? void 0 : _b.call(_a)), this.renderDots(), this.exitFlag && (h("div", { class: "lido-alert-parent" }, h("div", { class: "lido-alert-popup" }, h("lido-cell", { class: "lido-alert-content", visible: "true", layout: "col", width: "340px", height: "210px", "bg-color": "#fff", "border-radius": "16px", onEntry: "this.box-shadow= '0 4px 8px 0 rgba(0, 0, 0, 0.25)';" }, h("lido-text", { visible: "true", string: "Do you want to exit?", width: "294px", height: "38px", class: "popup-exit-text", "font-size": "22px", onEntry: "this.margin-bottom =' -36px';" }), h("lido-cell", { visible: "true", layout: "row", width: "294px", class: "btn-cell" }, h("lido-text", { visible: "true", string: "Exit", width: "92px", height: "53px", "font-size": "16px", margin: "0px 50px 0px 0px", class: "popup-button", onClick: () => this.popUpClick('exit'), borderRadius: "16px", onEntry: 'this.color="#F34D08"; this.font-weight="700"; this.box-shadow="0 2px 0 #F34D08";', fontFamily: "Baloo Bhai 2", "font-weight": "700", bgColor: "white", "border-radius": "16px" }), h("lido-text", { visible: "true", string: "Continue playing", width: "155px", height: "53px", "font-size": "16px", class: "popup-button", onClick: () => this.popUpClick('cancel'), borderRadius: "16px", onEntry: 'this.color=white; this.font-weight="700"; this.box-shadow="0 2px 0 #F34D08";', "font-family": "Baloo Bhai 2", "font-weight": "700", bgColor: "#F34D08", "border-radius": "16px" }))))))));
|
|
413
438
|
}
|
|
414
439
|
static get is() { return "lido-home"; }
|
|
415
440
|
static get originalStyleUrls() {
|
|
@@ -424,6 +449,58 @@ export class LidoHome {
|
|
|
424
449
|
}
|
|
425
450
|
static get properties() {
|
|
426
451
|
return {
|
|
452
|
+
"showNav": {
|
|
453
|
+
"type": "boolean",
|
|
454
|
+
"mutable": false,
|
|
455
|
+
"complexType": {
|
|
456
|
+
"original": "boolean",
|
|
457
|
+
"resolved": "boolean",
|
|
458
|
+
"references": {}
|
|
459
|
+
},
|
|
460
|
+
"required": false,
|
|
461
|
+
"optional": false,
|
|
462
|
+
"docs": {
|
|
463
|
+
"tags": [],
|
|
464
|
+
"text": "Boolean to show or hide navigation buttons"
|
|
465
|
+
},
|
|
466
|
+
"attribute": "show-nav",
|
|
467
|
+
"reflect": false,
|
|
468
|
+
"defaultValue": "true"
|
|
469
|
+
},
|
|
470
|
+
"activeContainerIndexes": {
|
|
471
|
+
"type": "unknown",
|
|
472
|
+
"mutable": false,
|
|
473
|
+
"complexType": {
|
|
474
|
+
"original": "number[]",
|
|
475
|
+
"resolved": "number[]",
|
|
476
|
+
"references": {}
|
|
477
|
+
},
|
|
478
|
+
"required": false,
|
|
479
|
+
"optional": false,
|
|
480
|
+
"docs": {
|
|
481
|
+
"tags": [],
|
|
482
|
+
"text": "Array of active container indexes to be rendered"
|
|
483
|
+
},
|
|
484
|
+
"defaultValue": "[]"
|
|
485
|
+
},
|
|
486
|
+
"locale": {
|
|
487
|
+
"type": "string",
|
|
488
|
+
"mutable": false,
|
|
489
|
+
"complexType": {
|
|
490
|
+
"original": "string",
|
|
491
|
+
"resolved": "string",
|
|
492
|
+
"references": {}
|
|
493
|
+
},
|
|
494
|
+
"required": false,
|
|
495
|
+
"optional": true,
|
|
496
|
+
"docs": {
|
|
497
|
+
"tags": [],
|
|
498
|
+
"text": "Language to apply to all texts"
|
|
499
|
+
},
|
|
500
|
+
"attribute": "locale",
|
|
501
|
+
"reflect": false,
|
|
502
|
+
"defaultValue": "''"
|
|
503
|
+
},
|
|
427
504
|
"xmlData": {
|
|
428
505
|
"type": "string",
|
|
429
506
|
"mutable": false,
|
|
@@ -526,7 +603,7 @@ export class LidoHome {
|
|
|
526
603
|
"optional": false,
|
|
527
604
|
"docs": {
|
|
528
605
|
"tags": [],
|
|
529
|
-
"text": "Custom URL for the Exit button icon.\nFalls back to the default icon if not provided or invalid."
|
|
606
|
+
"text": "Custom URL for the Exit button icon.\r\nFalls back to the default icon if not provided or invalid."
|
|
530
607
|
},
|
|
531
608
|
"attribute": "exit-button-url",
|
|
532
609
|
"reflect": false
|
|
@@ -543,7 +620,7 @@ export class LidoHome {
|
|
|
543
620
|
"optional": false,
|
|
544
621
|
"docs": {
|
|
545
622
|
"tags": [],
|
|
546
|
-
"text": "Custom URL for the Previous button icon.\nFalls back to the default icon if not provided or invalid."
|
|
623
|
+
"text": "Custom URL for the Previous button icon.\r\nFalls back to the default icon if not provided or invalid."
|
|
547
624
|
},
|
|
548
625
|
"attribute": "prev-button-url",
|
|
549
626
|
"reflect": false
|
|
@@ -560,7 +637,7 @@ export class LidoHome {
|
|
|
560
637
|
"optional": false,
|
|
561
638
|
"docs": {
|
|
562
639
|
"tags": [],
|
|
563
|
-
"text": "Custom URL for the Next button icon.\nFalls back to the default icon if not provided or invalid."
|
|
640
|
+
"text": "Custom URL for the Next button icon.\r\nFalls back to the default icon if not provided or invalid."
|
|
564
641
|
},
|
|
565
642
|
"attribute": "next-button-url",
|
|
566
643
|
"reflect": false
|
|
@@ -577,7 +654,7 @@ export class LidoHome {
|
|
|
577
654
|
"optional": false,
|
|
578
655
|
"docs": {
|
|
579
656
|
"tags": [],
|
|
580
|
-
"text": "Custom URL for the Speaker button icon.\nFalls back to the default icon if not provided or invalid."
|
|
657
|
+
"text": "Custom URL for the Speaker button icon.\r\nFalls back to the default icon if not provided or invalid."
|
|
581
658
|
},
|
|
582
659
|
"attribute": "speaker-button-url",
|
|
583
660
|
"reflect": false
|
|
@@ -611,7 +688,7 @@ export class LidoHome {
|
|
|
611
688
|
"optional": false,
|
|
612
689
|
"docs": {
|
|
613
690
|
"tags": [],
|
|
614
|
-
"text": "Unique identifier for the component instance.\nIf not provided, a UUID is generated to ensure uniqueness."
|
|
691
|
+
"text": "Unique identifier for the component instance.\r\nIf not provided, a UUID is generated to ensure uniqueness."
|
|
615
692
|
},
|
|
616
693
|
"attribute": "uuid",
|
|
617
694
|
"reflect": false,
|
|
@@ -631,6 +708,9 @@ export class LidoHome {
|
|
|
631
708
|
static get elementRef() { return "el"; }
|
|
632
709
|
static get watchers() {
|
|
633
710
|
return [{
|
|
711
|
+
"propName": "locale",
|
|
712
|
+
"methodName": "onLangChange"
|
|
713
|
+
}, {
|
|
634
714
|
"propName": "xmlData",
|
|
635
715
|
"methodName": "onXmlDataChange"
|
|
636
716
|
}];
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
.lido-image {
|
|
2
|
-
user-select: none;
|
|
3
|
-
-webkit-user-drag: none;
|
|
4
|
-
object-fit: contain;
|
|
5
|
-
width: 100% !important;
|
|
6
|
-
height: 100% !important;
|
|
7
|
-
aspect-ratio: 1 / 1; /* Ensures the image retains a 1:1 aspect ratio
|
|
8
|
-
/* The image will scale to fit within its container, keeping the aspect ratio */
|
|
9
|
-
transform: rotate(0) !important;
|
|
10
|
-
margin: 0 !important;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.slice {
|
|
14
|
-
background-repeat: no-repeat;
|
|
15
|
-
background-position: center;
|
|
16
|
-
background-size: 100% 100%;
|
|
17
|
-
}
|
|
1
|
+
.lido-image {
|
|
2
|
+
user-select: none;
|
|
3
|
+
-webkit-user-drag: none;
|
|
4
|
+
object-fit: contain;
|
|
5
|
+
width: 100% !important;
|
|
6
|
+
height: 100% !important;
|
|
7
|
+
aspect-ratio: 1 / 1; /* Ensures the image retains a 1:1 aspect ratio
|
|
8
|
+
/* The image will scale to fit within its container, keeping the aspect ratio */
|
|
9
|
+
transform: rotate(0) !important;
|
|
10
|
+
margin: 0 !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.slice {
|
|
14
|
+
background-repeat: no-repeat;
|
|
15
|
+
background-position: center;
|
|
16
|
+
background-size: 100% 100%;
|
|
17
|
+
}
|
|
@@ -490,7 +490,7 @@ export class LidoImage {
|
|
|
490
490
|
"optional": false,
|
|
491
491
|
"docs": {
|
|
492
492
|
"tags": [],
|
|
493
|
-
"text": "Specifies the width for border-image slice (e.g., \"30px\", \"2em\").\nOnly used when `isSlice` is enabled."
|
|
493
|
+
"text": "Specifies the width for border-image slice (e.g., \"30px\", \"2em\").\r\nOnly used when `isSlice` is enabled."
|
|
494
494
|
},
|
|
495
495
|
"attribute": "slice-width",
|
|
496
496
|
"reflect": false,
|
|
@@ -544,7 +544,7 @@ export class LidoImage {
|
|
|
544
544
|
"optional": false,
|
|
545
545
|
"docs": {
|
|
546
546
|
"tags": [],
|
|
547
|
-
"text": "CSS margin value applied to each child element inside the container.\nAccepts standard CSS margin formats (e.g., '10px', '5px 10px', etc.)."
|
|
547
|
+
"text": "CSS margin value applied to each child element inside the container.\r\nAccepts standard CSS margin formats (e.g., '10px', '5px 10px', etc.)."
|
|
548
548
|
},
|
|
549
549
|
"attribute": "margin",
|
|
550
550
|
"reflect": false,
|
|
@@ -562,7 +562,7 @@ export class LidoImage {
|
|
|
562
562
|
"optional": false,
|
|
563
563
|
"docs": {
|
|
564
564
|
"tags": [],
|
|
565
|
-
"text": "CSS padding value applied to each child element inside the container.\nAccepts standard CSS padding formats (e.g., '10px', '5px 10px', etc.)."
|
|
565
|
+
"text": "CSS padding value applied to each child element inside the container.\r\nAccepts standard CSS padding formats (e.g., '10px', '5px 10px', etc.)."
|
|
566
566
|
},
|
|
567
567
|
"attribute": "padding",
|
|
568
568
|
"reflect": false,
|
|
@@ -580,7 +580,7 @@ export class LidoImage {
|
|
|
580
580
|
"optional": false,
|
|
581
581
|
"docs": {
|
|
582
582
|
"tags": [],
|
|
583
|
-
"text": "CSS filter to apply visual effects (e.g., blur, brightness) to the image.\nExample: 'blur(5px)', 'brightness(0.8)', 'grayscale(100%)'"
|
|
583
|
+
"text": "CSS filter to apply visual effects (e.g., blur, brightness) to the image.\r\nExample: 'blur(5px)', 'brightness(0.8)', 'grayscale(100%)'"
|
|
584
584
|
},
|
|
585
585
|
"attribute": "filter",
|
|
586
586
|
"reflect": false,
|
|
@@ -598,7 +598,7 @@ export class LidoImage {
|
|
|
598
598
|
"optional": false,
|
|
599
599
|
"docs": {
|
|
600
600
|
"tags": [],
|
|
601
|
-
"text": "CSS filter to apply border radius to the image.\nExample: '10px' for images."
|
|
601
|
+
"text": "CSS filter to apply border radius to the image.\r\nExample: '10px' for images."
|
|
602
602
|
},
|
|
603
603
|
"attribute": "border-radius",
|
|
604
604
|
"reflect": false,
|
|
@@ -616,7 +616,7 @@ export class LidoImage {
|
|
|
616
616
|
"optional": false,
|
|
617
617
|
"docs": {
|
|
618
618
|
"tags": [],
|
|
619
|
-
"text": "CSS transform property to apply transformations like rotate, scale, translate, etc.\nExample: 'rotate(45deg)' or 'scale(1.2)'."
|
|
619
|
+
"text": "CSS transform property to apply transformations like rotate, scale, translate, etc.\r\nExample: 'rotate(45deg)' or 'scale(1.2)'."
|
|
620
620
|
},
|
|
621
621
|
"attribute": "transform",
|
|
622
622
|
"reflect": false,
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
.lido-keyboard {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
align-items: center;
|
|
5
|
-
gap: 30px;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.input-area {
|
|
9
|
-
display: flex;
|
|
10
|
-
gap: 15px;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
input[type="text"] {
|
|
14
|
-
font-size: 30px;
|
|
15
|
-
font-weight: 600;
|
|
16
|
-
padding-left: 20px;
|
|
17
|
-
width: 300px;
|
|
18
|
-
height: 70px;
|
|
19
|
-
border: 2px solid;
|
|
20
|
-
background: whitesmoke;
|
|
21
|
-
border-radius: 20px;
|
|
22
|
-
text-align: center;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.keyboard-wrapper {
|
|
26
|
-
justify-content: center;
|
|
27
|
-
width: 700px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.disabled {
|
|
31
|
-
opacity: 0.5;
|
|
32
|
-
pointer-events: none;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.key-button {
|
|
36
|
-
background: aquamarine;
|
|
37
|
-
font-weight: 600;
|
|
38
|
-
}
|
|
1
|
+
.lido-keyboard {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: center;
|
|
5
|
+
gap: 30px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.input-area {
|
|
9
|
+
display: flex;
|
|
10
|
+
gap: 15px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
input[type="text"] {
|
|
14
|
+
font-size: 30px;
|
|
15
|
+
font-weight: 600;
|
|
16
|
+
padding-left: 20px;
|
|
17
|
+
width: 300px;
|
|
18
|
+
height: 70px;
|
|
19
|
+
border: 2px solid;
|
|
20
|
+
background: whitesmoke;
|
|
21
|
+
border-radius: 20px;
|
|
22
|
+
text-align: center;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.keyboard-wrapper {
|
|
26
|
+
justify-content: center;
|
|
27
|
+
width: 700px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.disabled {
|
|
31
|
+
opacity: 0.5;
|
|
32
|
+
pointer-events: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.key-button {
|
|
36
|
+
background: aquamarine;
|
|
37
|
+
font-weight: 600;
|
|
38
|
+
}
|
|
@@ -115,10 +115,10 @@ export class LidoKeyboard {
|
|
|
115
115
|
const keysArray = this.keys.split(',').map(k => k.trim());
|
|
116
116
|
const container = document.getElementById(LidoContainer);
|
|
117
117
|
const showCheck = container.getAttribute('show-check') === 'true';
|
|
118
|
-
return (h(Host, { key: '
|
|
118
|
+
return (h(Host, { key: '030937c20c1e5652a528e9f5e3335faafe18fff1', class: "lido-keyboard", style: { width: this.style.width, height: this.style.height, position: 'relative', margin: this.style.margin, zIndex: this.z } }, this.keyboardInput && (h("div", { key: '4c928db14ba00f8aa20dcdb9e220f0486949e861', class: "input-area" }, h("input", { key: 'f8db5e6f76aba08fb5893fd3fff7e6739dd5f854', type: "text", value: this.inputString, class: "input-area", readonly: true, onInput: (e) => (this.inputString = e.target.value) }), h("lido-text", { key: '58156eabbdd1fe9d06fa0ff3e192ab0f434fcd9e', visible: showCheck ? 'true' : 'false', string: "<<", "bg-color": "black", "font-color": "white", "border-radius": "20px", "font-size": "30px", width: "100px", height: "70px", type: "click", onClick: () => {
|
|
119
119
|
this.inputString = this.inputString.slice(0, -1);
|
|
120
120
|
this.inputValidation(event);
|
|
121
|
-
} }), h("lido-text", { key: '
|
|
121
|
+
} }), h("lido-text", { key: '79538fe14d2645dc7ae62f4e24da2300a680b1cc', visible: showCheck ? 'true' : 'false', id: "lido-checkButton", string: "Enter", "bg-color": "green", "font-color": "white", "border-radius": "20px", "font-size": "30px", width: "150px", height: "70px", type: "click" }))), this.letterLength && (h("lido-text", { key: '0d09084f44fe8a69e19006daccd1029e291b43e5', visible: "true", string: `${this.numberOfClick}/${this.letterLength}`, "font-size": "60px", "font-color": "white", onEntry: "this.position='absolute'; this.right='0'; this.fontWeight='800';", x: "unset" })), h("div", { key: '9b2686af38ffed8e792f93f8302f01d59dbd2748', class: "keyboard-wrapper", style: {
|
|
122
122
|
display: 'flex',
|
|
123
123
|
flexWrap: 'wrap',
|
|
124
124
|
justifyContent: 'center',
|
|
@@ -456,7 +456,7 @@ export class LidoKeyboard {
|
|
|
456
456
|
"optional": false,
|
|
457
457
|
"docs": {
|
|
458
458
|
"tags": [],
|
|
459
|
-
"text": "Indicates whether the keyboard input is enabled.\nWhen set to `true`, the component will respond to keyboard events."
|
|
459
|
+
"text": "Indicates whether the keyboard input is enabled.\r\nWhen set to `true`, the component will respond to keyboard events."
|
|
460
460
|
},
|
|
461
461
|
"attribute": "keyboard-input",
|
|
462
462
|
"reflect": false,
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
.math-matrix {
|
|
2
|
-
width: 100%;
|
|
3
|
-
height: 100%;
|
|
4
|
-
display: flex;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.slot {
|
|
9
|
-
width: 100%;
|
|
10
|
-
height: 100%;
|
|
11
|
-
text-align: center;
|
|
12
|
-
align-content: center;
|
|
13
|
-
font-size: 42px;
|
|
14
|
-
font-weight: 800;
|
|
15
|
-
font-family: 'Baloo Bhai 2';
|
|
16
|
-
box-sizing: content-box;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.slot:hover {
|
|
20
|
-
/* background-color: rgba(0, 0, 0, 0.116); */
|
|
21
|
-
opacity: 0.7;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.slot-parent {
|
|
25
|
-
width: 100%;
|
|
26
|
-
height: 100%;
|
|
27
|
-
display: flex;
|
|
28
|
-
justify-content: center;
|
|
29
|
-
align-items: center;
|
|
30
|
-
flex-direction: column;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.slot-active {
|
|
34
|
-
background-color: var(--active-bg-color);
|
|
35
|
-
background-image: var(--bg-image);
|
|
36
|
-
background-size: contain;
|
|
37
|
-
background-position: center;
|
|
38
|
-
background-repeat: no-repeat;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.slot-inactive {
|
|
42
|
-
background-color: var(--deactive-bg-color);
|
|
43
|
-
background-size: cover;
|
|
44
|
-
background-position: center;
|
|
45
|
-
background-repeat: no-repeat;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.topIndex, .leftIndex, .bottomIndex {
|
|
49
|
-
height: 100%;
|
|
50
|
-
width: 100%;
|
|
51
|
-
text-align: center;
|
|
52
|
-
align-content: center;
|
|
53
|
-
font-size: 30px;
|
|
54
|
-
font-weight: 600;
|
|
55
|
-
font-family: 'Baloo Bhai 2';
|
|
56
|
-
}
|
|
1
|
+
.math-matrix {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.slot {
|
|
9
|
+
width: 100%;
|
|
10
|
+
height: 100%;
|
|
11
|
+
text-align: center;
|
|
12
|
+
align-content: center;
|
|
13
|
+
font-size: 42px;
|
|
14
|
+
font-weight: 800;
|
|
15
|
+
font-family: 'Baloo Bhai 2';
|
|
16
|
+
box-sizing: content-box;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.slot:hover {
|
|
20
|
+
/* background-color: rgba(0, 0, 0, 0.116); */
|
|
21
|
+
opacity: 0.7;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.slot-parent {
|
|
25
|
+
width: 100%;
|
|
26
|
+
height: 100%;
|
|
27
|
+
display: flex;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
align-items: center;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.slot-active {
|
|
34
|
+
background-color: var(--active-bg-color);
|
|
35
|
+
background-image: var(--bg-image);
|
|
36
|
+
background-size: contain;
|
|
37
|
+
background-position: center;
|
|
38
|
+
background-repeat: no-repeat;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.slot-inactive {
|
|
42
|
+
background-color: var(--deactive-bg-color);
|
|
43
|
+
background-size: cover;
|
|
44
|
+
background-position: center;
|
|
45
|
+
background-repeat: no-repeat;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.topIndex, .leftIndex, .bottomIndex {
|
|
49
|
+
height: 100%;
|
|
50
|
+
width: 100%;
|
|
51
|
+
text-align: center;
|
|
52
|
+
align-content: center;
|
|
53
|
+
font-size: 30px;
|
|
54
|
+
font-weight: 600;
|
|
55
|
+
font-family: 'Baloo Bhai 2';
|
|
56
|
+
}
|