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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
20
src/css/ingame_hud/mass_selector.scss
Normal file
20
src/css/ingame_hud/mass_selector.scss
Normal 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;
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user