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

1.5.4 update (polishing + minor rebalancing)

This commit is contained in:
tobspr
2022-06-19 17:08:35 +02:00
parent 6a8e519c0a
commit 3ab5ca99fd
56 changed files with 762 additions and 733 deletions

View File

@@ -1,28 +0,0 @@
#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

@@ -311,6 +311,7 @@
50% {
background-color: lighten($colorGreenBright, 10);
transform: scale(1.02);
}
100% {
}

View File

@@ -1,6 +1,6 @@
#ingame_HUD_StandaloneAdvantages {
.content {
@include S(width, 440px);
@include S(width, 500px);
@include S(min-height, 300px);
}
p {
@@ -10,14 +10,10 @@
.points {
display: grid;
grid-template-columns: 1fr 1fr;
@include S(grid-column-gap, 10px);
@include S(grid-row-gap, 20px);
@include S(margin, 10px, 0, 20px);
grid-template-rows: #{D(30px)};
@include S(grid-column-gap, 5px);
@include S(grid-row-gap, 5px);
@include S(margin, 10px, 0, 10px);
align-items: center;
background: #eef1f4;
@include S(border-radius, $globalBorderRadius);
@include S(padding, 15px, 4px);
}
.title {
@@ -90,20 +86,15 @@
.playtimeDisclaimerDownload {
@include SuperSmallText;
width: 100%;
box-sizing: border-box;
text-align: center;
background: #b3f2c5;
@include S(border-radius, $globalBorderRadius);
@include S(padding, 7px, 10px);
@include S(padding, 4px, 4px);
@include S(margin-bottom, 15px);
pointer-events: all;
transition: background-color 0.12s ease-in-out;
color: rgba(#000, 0.5);
&:hover {
background: darken(#b3f2c5, 3);
}
cursor: pointer;
strong {
@@ -121,6 +112,12 @@
overflow: visible;
@include S(border-radius, $globalBorderRadius);
@include InlineAnimation(1s ease-in-out infinite) {
50% {
transform: scale(1.02, 1.03);
}
}
> .discount {
position: absolute;
@include S(top, -7px);
@@ -143,8 +140,13 @@
.point {
display: grid;
grid-template-columns: #{D(55px)} auto;
grid-template-columns: #{D(50px)} auto;
grid-template-rows: D(20px) D(20px);
background: #eff2f4 #{D(12px)} center / #{D(30px)} no-repeat;
@include S(border-radius, $globalBorderRadius);
@include S(padding, 10px, 4px, 4px);
@include S(height, 40px);
> strong {
grid-column: 2 / 3;
@@ -161,8 +163,6 @@
opacity: 0.8;
}
background: transparent #{D(10px)} center / #{D(30px)} no-repeat;
&.levels {
& {
/* @load-async */

View File

@@ -49,7 +49,6 @@
@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";
@@ -113,7 +112,6 @@ ingame_HUD_BetaOverlay,
ingame_HUD_Shop,
ingame_HUD_Statistics,
ingame_HUD_ShapeViewer,
ingame_HUD_DemoTimer,
ingame_HUD_StandaloneAdvantages,
ingame_HUD_UnlockNotification,
ingame_HUD_PuzzleCompleteNotification,