Minor marketing adjustments

This commit is contained in:
Tobias Springer 2021-03-10 10:10:18 +01:00
parent 226149a40f
commit dfd64a901b
6 changed files with 16 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -165,5 +165,15 @@
color: #e72d2d;
}
}
&.achievements {
& {
/* @load-async */
background-image: uiResource("res/ui/icons/advantage_achievements.png");
}
> strong {
color: #ffac0f;
}
}
}
}

View File

@ -145,12 +145,10 @@
pointer-events: all;
transition: all 0.12s ease-in;
transition-property: opacity, transform;
transform: skewX(-0.5deg);
@include S(border-radius, $globalBorderRadius);
&:hover {
transform: scale(1.02);
opacity: 0.9;
}
}

View File

@ -5,7 +5,7 @@ import { T } from "../../../translations";
import { BaseHUDPart } from "../base_hud_part";
import { DynamicDomAttach } from "../dynamic_dom_attach";
const showIntervalSeconds = 30 * 60;
const showIntervalSeconds = 9 * 60;
export class HUDStandaloneAdvantages extends BaseHUDPart {
createElements(parent) {
@ -25,7 +25,7 @@ export class HUDStandaloneAdvantages extends BaseHUDPart {
([key, trans]) => `
<div class="point ${key}">
<strong>${trans.title}</strong>
<p>${trans.desc}</p>
<p>${trans.desc}</p>
</div>`
)
.join("")}
@ -60,7 +60,7 @@ export class HUDStandaloneAdvantages extends BaseHUDPart {
this.inputReciever = new InputReceiver("standalone-advantages");
this.close();
this.lastShown = this.root.gameIsFresh ? this.root.time.now() : 0;
this.lastShown = -1e10;
}
show() {

View File

@ -453,9 +453,9 @@ ingame:
title: 18 New Buildings
desc: Fully automate your factory!
savegames:
title: ∞ Savegames
desc: As many as your heart desires!
achievements:
title: Achievements
desc: Hunt them all!
upgrades:
title: ∞ Upgrade Tiers