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

Add beta mode and hud toggle

This commit is contained in:
tobspr
2020-05-13 10:41:00 +02:00
parent 862c69eade
commit 6429f67c7b
7 changed files with 44 additions and 4 deletions

View File

@@ -76,3 +76,7 @@
border-color: darken($colorRedBright, 40);
}
}
body.uiHidden #ingame_HUD_KeybindingOverlay .binding:not(.hudToggle) {
display: none;
}

View File

@@ -36,9 +36,9 @@
@import "ingame_hud/mass_selector";
// Z-Index
$elements: ingame_Canvas, ingame_HUD_building_placer_overlay, ingame_HUD_building_placer,
ingame_HUD_buildings_toolbar, ingame_HUD_GameMenu, ingame_HUD_KeybindingOverlay, ingame_HUD_Shop,
ingame_HUD_BetaOverlay, ingame_HUD_MassSelector, ingame_HUD_UnlockNotification;
$elements: ingame_Canvas, ingame_HUD_building_placer, ingame_HUD_buildings_toolbar, ingame_HUD_GameMenu,
ingame_HUD_KeybindingOverlay, ingame_HUD_Shop, ingame_HUD_BetaOverlay, ingame_HUD_MassSelector,
ingame_HUD_UnlockNotification;
$zindex: 100;
@@ -49,3 +49,12 @@ $zindex: 100;
$zindex: $zindex + 10;
}
body.uiHidden {
#ingame_HUD_buildings_toolbar,
#ingame_HUD_building_placer,
#ingame_HUD_GameMenu,
#ingame_HUD_MassSelector {
display: none !important;
}
}