pixi-rainman-game-engine 0.1.43 → 0.1.45
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.
|
@@ -16,13 +16,13 @@ export const BetControls = observer(() => {
|
|
|
16
16
|
return (<div className="bet-container">
|
|
17
17
|
<h2>{i18next.t("totalBet")}</h2>
|
|
18
18
|
<div className="bet-container__controls">
|
|
19
|
-
<button
|
|
19
|
+
<button disabled={settingStore.betChangeDisabled} onClick={() => onClick("decrease")} className="bet-container__button" name="bet-minus">
|
|
20
20
|
-
|
|
21
21
|
</button>
|
|
22
22
|
<div className="bet-container__value">
|
|
23
23
|
<p>{settingStore.betText}</p>
|
|
24
24
|
</div>
|
|
25
|
-
<button
|
|
25
|
+
<button disabled={settingStore.betChangeDisabled} onClick={() => onClick("increase")} className="bet-container__button" name="bet-plus">
|
|
26
26
|
+
|
|
27
27
|
</button>
|
|
28
28
|
</div>
|
|
@@ -24,6 +24,12 @@
|
|
|
24
24
|
font-size: 24px;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
.bet-container h2 {
|
|
28
|
+
text-align: center;
|
|
29
|
+
color: white;
|
|
30
|
+
text-transform: uppercase;
|
|
31
|
+
}
|
|
32
|
+
|
|
27
33
|
.bet-container__button {
|
|
28
34
|
height: 62px;
|
|
29
35
|
width: 62px;
|
|
@@ -37,15 +43,10 @@
|
|
|
37
43
|
cursor: pointer;
|
|
38
44
|
}
|
|
39
45
|
|
|
40
|
-
.bet-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.bet-container__controls {
|
|
47
|
-
display: flex;
|
|
48
|
-
gap: 8px;
|
|
46
|
+
.bet-container__button:disabled {
|
|
47
|
+
cursor: not-allowed;
|
|
48
|
+
opacity: 0.5;
|
|
49
|
+
user-select: none;
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
.bet-container__button:active {
|
|
@@ -54,6 +55,11 @@
|
|
|
54
55
|
border: 2px solid #fdf425;
|
|
55
56
|
}
|
|
56
57
|
|
|
58
|
+
.bet-container__controls {
|
|
59
|
+
display: flex;
|
|
60
|
+
gap: 8px;
|
|
61
|
+
}
|
|
62
|
+
|
|
57
63
|
@media only screen and (max-width: 900px) {
|
|
58
64
|
#bet-layer.modal {
|
|
59
65
|
width: 90vw;
|
package/package.json
CHANGED