mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Minor UI fixes
This commit is contained in:
parent
fde4ff9e5e
commit
d790a9355f
@ -13,8 +13,23 @@
|
|||||||
@include S(grid-column-gap, 10px);
|
@include S(grid-column-gap, 10px);
|
||||||
@include S(grid-row-gap, 20px);
|
@include S(grid-row-gap, 20px);
|
||||||
@include S(margin, 10px, 0, 20px);
|
@include S(margin, 10px, 0, 20px);
|
||||||
grid-template-rows: #{D(40px)};
|
grid-template-rows: #{D(30px)};
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
background: #eef1f4;
|
||||||
|
@include S(border-radius, $globalBorderRadius);
|
||||||
|
@include S(padding, 15px, 4px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
@include Heading;
|
||||||
|
text-transform: none;
|
||||||
|
text-align: center;
|
||||||
|
color: $colorRedBright;
|
||||||
|
}
|
||||||
|
.subTitle {
|
||||||
|
@include PlainText;
|
||||||
|
text-transform: none;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lowerBar {
|
.lowerBar {
|
||||||
@ -106,7 +121,7 @@
|
|||||||
.point {
|
.point {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: #{D(55px)} auto;
|
grid-template-columns: #{D(55px)} auto;
|
||||||
grid-template-rows: 1fr 1fr;
|
grid-template-rows: D(20px) D(20px);
|
||||||
|
|
||||||
> strong {
|
> strong {
|
||||||
grid-column: 2 / 3;
|
grid-column: 2 / 3;
|
||||||
|
@ -116,11 +116,11 @@ ingame_HUD_BetaOverlay,
|
|||||||
ingame_HUD_Shop,
|
ingame_HUD_Shop,
|
||||||
ingame_HUD_Statistics,
|
ingame_HUD_Statistics,
|
||||||
ingame_HUD_ShapeViewer,
|
ingame_HUD_ShapeViewer,
|
||||||
|
ingame_HUD_DemoTimer,
|
||||||
ingame_HUD_StandaloneAdvantages,
|
ingame_HUD_StandaloneAdvantages,
|
||||||
ingame_HUD_UnlockNotification,
|
ingame_HUD_UnlockNotification,
|
||||||
ingame_HUD_PuzzleCompleteNotification,
|
ingame_HUD_PuzzleCompleteNotification,
|
||||||
ingame_HUD_SettingsMenu,
|
ingame_HUD_SettingsMenu,
|
||||||
ingame_HUD_DemoTimer,
|
|
||||||
ingame_HUD_ModalDialogs;
|
ingame_HUD_ModalDialogs;
|
||||||
|
|
||||||
$zindex: 100;
|
$zindex: 100;
|
||||||
|
@ -20,6 +20,15 @@ export class HUDStandaloneAdvantages extends BaseHUDPart {
|
|||||||
? T.ingame.standaloneAdvantages.title_expired
|
? T.ingame.standaloneAdvantages.title_expired
|
||||||
: T.ingame.standaloneAdvantages.title
|
: T.ingame.standaloneAdvantages.title
|
||||||
);
|
);
|
||||||
|
if (["1", "2"].includes(this.root.app.gameAnalytics.abtVariant)) {
|
||||||
|
this.subTitle = makeDiv(
|
||||||
|
this.dialogInner,
|
||||||
|
null,
|
||||||
|
["subTitle"],
|
||||||
|
T.ingame.standaloneAdvantages.title
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
this.contentDiv = makeDiv(
|
this.contentDiv = makeDiv(
|
||||||
this.dialogInner,
|
this.dialogInner,
|
||||||
null,
|
null,
|
||||||
|
@ -517,8 +517,8 @@ ingame:
|
|||||||
title: Unterstütze Mich
|
title: Unterstütze Mich
|
||||||
desc: Ich entwickle das Spiel in meiner Freizeit!
|
desc: Ich entwickle das Spiel in meiner Freizeit!
|
||||||
mods:
|
mods:
|
||||||
title: Modding support!
|
title: Mod-Support!
|
||||||
desc: Over 80 mods available!
|
desc: Über 80 Mods verfügbar!
|
||||||
title_expired: Demo Zeit abgelaufen
|
title_expired: Demo Zeit abgelaufen
|
||||||
puzzleEditorSettings:
|
puzzleEditorSettings:
|
||||||
zoneTitle: Zone
|
zoneTitle: Zone
|
||||||
|
Loading…
Reference in New Issue
Block a user