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

Improve UX for first levels

This commit is contained in:
tobspr
2020-06-01 20:18:50 +02:00
parent 5cd4dba54a
commit 91351d2f79
10 changed files with 90 additions and 28 deletions

View File

@@ -76,7 +76,7 @@
}
}
> button {
.buttonContainer button {
@include PlainText;
color: #fff;
border-color: rgba(0, 0, 0, 0.1);
@@ -86,7 +86,7 @@
@include S(margin-right, 3px);
@include IncreasedClickArea(0px);
@include ButtonText;
@include S(min-height, 30px);
@include S(min-height, 40px);
transition: all 0.12s ease-in-out;
transition-property: opacity, transform;
display: inline-flex;

View File

@@ -1,7 +1,12 @@
#ingame_HUD_TutorialHints {
position: absolute;
@include S(left, 10px);
@include S(bottom, 50px);
@include S(bottom, 10px);
@include StyleBelowWidth(1430px) {
@include S(bottom, 50px);
}
display: flex;
flex-direction: column;
background: rgba(50, 60, 70, 0);
@@ -50,6 +55,7 @@
button.toggleHint {
@include PlainText;
@include IncreasedClickArea(0px);
}
}

View File

@@ -1,7 +1,7 @@
#ingame_HUD_Waypoints_Hint {
position: absolute;
@include S(right, 10px);
@include S(bottom, 100px);
@include S(bottom, 10px);
display: flex;
flex-direction: column;