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

Allow downloading savegame in demo

This commit is contained in:
tobspr
2022-06-18 18:47:27 +02:00
parent 7c77944d43
commit 34764eca16
15 changed files with 327 additions and 370 deletions

View File

@@ -84,10 +84,33 @@
}
.playtimeDisclaimer {
@include S(margin-bottom, 10px);
@include S(margin-bottom, 15px);
@include PlainText;
}
.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(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 {
color: #000;
}
}
.steamLinkButton {
@include IncreasedClickArea(5px);
@include S(margin, 0);

View File

@@ -1,33 +0,0 @@
#ingame_HUD_SteamCapsule {
position: absolute;
@include S(width, 150px);
@include S(height, 119px);
background: transparent center center / cover no-repeat;
pointer-events: all;
overflow: hidden;
@include S(right, 10px);
border: D(2px) solid #000;
@include S(border-radius, $globalBorderRadius);
cursor: pointer;
@include S(bottom, 150px);
& {
/* @load-async */
background-image: uiResource("res/ui/memes/cat1.png") !important;
}
&:hover {
opacity: 0.95;
}
@include InlineAnimation(0.5s ease-in-out) {
0% {
transform: translateX(100%);
}
100% {
transform: none;
}
}
}

View File

@@ -57,7 +57,6 @@
@import "ingame_hud/shape_viewer";
@import "ingame_hud/sandbox_controller";
@import "ingame_hud/standalone_advantages";
@import "ingame_hud/steam_capsule";
@import "ingame_hud/puzzle_back_to_menu";
@import "ingame_hud/puzzle_editor_review";
@import "ingame_hud/puzzle_dlc_logo";
@@ -105,7 +104,6 @@ ingame_HUD_Waypoints_Hint,
ingame_HUD_WatermarkClicker,
ingame_HUD_Watermark,
ingame_HUD_ColorBlindBelowTileHelper,
ingame_HUD_SteamCapsule,
ingame_HUD_SandboxController,
// Overlays