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

Multiple improvements, fix saves on underground belts

This commit is contained in:
tobspr
2020-05-18 22:08:33 +02:00
parent 8c42827f4e
commit a60d23da77
17 changed files with 171 additions and 31 deletions

View File

@@ -0,0 +1,44 @@
#ingame_HUD_EntityDebugger {
position: absolute;
@include S(right, 30px);
@include S(top, 250px);
font-size: 14px;
line-height: 16px;
color: #fff;
background: rgba(0, 10, 20, 0.7);
padding: 10px;
&,
* {
pointer-events: all;
}
.flag {
display: inline-block;
background: #333438;
@include S(padding, 2px);
@include S(margin-right, 2px);
u {
opacity: 0.5;
}
}
.components {
@include S(margin-top, 4px);
display: grid;
grid-template-columns: 1fr 1fr;
@include S(grid-gap, 3px);
.component {
@include S(padding, 2px);
background: #333;
display: flex;
flex-direction: column;
.data {
@include S(width, 150px);
@include S(height, 50px);
}
}
}
}

View File

@@ -43,6 +43,10 @@
color: $accentColorDark;
@include SuperSmallText;
text-transform: uppercase;
// font-weight: bold;
color: #fff;
text-shadow: #{D(1px)} #{D(1px)} 0 rgba(0, 10, 20, 0.2);
@include S(margin-left, 5px);
}
}

View File

@@ -15,7 +15,9 @@
justify-content: center;
grid-template-columns: auto 1fr;
grid-template-rows: 1fr 1fr;
@include S(margin-bottom, 5px);
@include S(margin-bottom, 4px);
color: #fff;
text-shadow: #{D(1px)} #{D(1px)} 0 rgba(0, 10, 20, 0.2);
&.unpinable {
> canvas {
@@ -49,9 +51,10 @@
> .goalLabel {
@include S(font-size, 7px);
opacity: 0.3;
opacity: 0.5;
align-self: start;
justify-self: start;
font-weight: normal;
grid-row: 2 / 3;
}

View File

@@ -1,17 +1,21 @@
#ingame_HUD_SettingsMenu {
.timePlayed {
.statsElement {
position: absolute;
@include S(left, 30px);
@include S(bottom, 30px);
@include S(top, 30px);
color: #fff;
display: flex;
grid-template-rows: 1fr auto;
flex-direction: column;
strong {
text-transform: uppercase;
@include PlainText;
opacity: 0.5;
}
span {
@include S(margin-bottom, 25px);
@include Heading;
}
}

View File

@@ -173,11 +173,13 @@
@include S(line-height, 13px);
@include S(border-radius, $globalBorderRadius);
@include S(padding, 1px, 2px, 2px);
@include S(padding, 1px, 0px, 2px);
position: relative;
text-align: center;
@include S(min-width, 50px);
// @include S(max-width, 100px);
overflow: hidden;
width: 100%;
@include DarkThemeOverride {
background: #333438;

View File

@@ -40,6 +40,7 @@
@import "ingame_hud/notifications";
@import "ingame_hud/settings_menu";
@import "ingame_hud/debug_info";
@import "ingame_hud/entity_debugger";
// prettier-ignore
$elements:
@@ -59,6 +60,7 @@ ingame_HUD_KeybindingOverlay,
ingame_HUD_Notifications,
ingame_HUD_MassSelector,
ingame_HUD_DebugInfo,
ingame_HUD_EntityDebugger,
// Overlays
ingame_HUD_BetaOverlay,

View File

@@ -23,6 +23,7 @@
@include SuperHeading;
text-transform: uppercase;
color: #333438;
position: relative;
@include IncreasedClickArea(10px);
}