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

Fix entity rendering bug when zooming out, add "Wires update" label to main menu

This commit is contained in:
tobspr
2020-07-06 18:36:10 +02:00
parent 0d74af92a7
commit 0bba6a9d79
5 changed files with 35 additions and 16 deletions

View File

@@ -147,6 +147,7 @@
flex-grow: 1;
align-items: center;
justify-content: center;
flex-direction: column;
@include S(padding-top, 20px);
img {
@@ -160,6 +161,24 @@
background: uiResource("demo_badge.png") center center / contain no-repeat;
display: inline-block;
}
position: relative;
.updateLabel {
position: absolute;
transform: translateX(50%) rotate(-5deg);
color: $colorRedBright;
@include Heading;
text-transform: uppercase;
font-weight: bold;
@include S(right, 40px);
@include S(bottom, 20px);
@include InlineAnimation(1.3s ease-in-out infinite) {
50% {
transform: translateX(50%) rotate(-7deg) scale(1.1);
}
}
}
}
.betaWarning {