1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Update demo to try out timed demo

This commit is contained in:
tobspr
2022-06-17 09:35:55 +02:00
parent abd26182f5
commit d39ae528f0
41 changed files with 136 additions and 43 deletions

View File

@@ -0,0 +1,28 @@
#ingame_HUD_DemoTimer {
position: absolute;
@include S(top, 10px);
left: 50%;
text-align: center;
color: #fff;
transform: translateX(-50%);
color: rgb(248, 40, 106);
.timer {
@include Heading;
@include S(font-size, 40px);
}
&.expired .timer {
@include InlineAnimation(1s ease-in-out infinite) {
50% {
transform: scale(1.05);
}
}
}
.description {
@include SuperSmallText;
@include S(margin-top, 10px);
text-transform: uppercase;
}
}

View File

@@ -50,6 +50,7 @@
@import "ingame_hud/entity_debugger";
@import "ingame_hud/tutorial_hints";
@import "ingame_hud/watermark";
@import "ingame_hud/demo_timer";
@import "ingame_hud/blueprint_placer";
@import "ingame_hud/waypoints";
@import "ingame_hud/interactive_tutorial";
@@ -119,6 +120,7 @@ ingame_HUD_StandaloneAdvantages,
ingame_HUD_UnlockNotification,
ingame_HUD_PuzzleCompleteNotification,
ingame_HUD_SettingsMenu,
ingame_HUD_DemoTimer,
ingame_HUD_ModalDialogs;
$zindex: 100;