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

Mass deletion support

This commit is contained in:
Tobias Springer
2020-05-10 18:24:50 +02:00
parent eb46b45c9a
commit bd89c2cc9e
13 changed files with 276 additions and 15 deletions

View File

@@ -64,7 +64,7 @@
}
}
.shift .keybinding {
.keybinding.shift {
transition: all 0.1s ease-in-out;
transition-property: background-color, color, border-color;
background: $colorRedBright;
@@ -72,7 +72,7 @@
color: #fff;
}
&.shiftDown .shift .keybinding {
&.shiftDown .keybinding.shift {
border-color: darken($colorRedBright, 40);
}
}

View File

@@ -0,0 +1,20 @@
#ingame_HUD_MassSelector {
position: absolute;
@include S(top, 50px);
left: 50%;
transform: translateX(-50%);
@include S(width, 300px);
background: #f77;
@include S(border-radius, 4px);
@include S(padding, 10px);
@include PlainText;
color: #fff;
.keybinding {
position: relative;
top: unset;
left: unset;
right: unset;
bottom: unset;
}
}

View File

@@ -33,11 +33,12 @@
@import "ingame_hud/game_menu";
@import "ingame_hud/blur_overlay";
@import "ingame_hud/dialogs";
@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_UnlockNotification;
ingame_HUD_BetaOverlay, ingame_HUD_MassSelector, ingame_HUD_UnlockNotification;
$zindex: 100;