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

Fix bugs found during testing

This commit is contained in:
tobspr
2021-05-23 20:19:43 +02:00
parent 42af2b63d6
commit a0e1cb68aa
4 changed files with 20 additions and 15 deletions

View File

@@ -104,29 +104,28 @@
&.pressed {
transform: scale(0.9) !important;
}
}
&.selected {
// transform: scale(1.05);
background-color: rgba(lighten($colorBlueBright, 9), 0.4);
@include S(border-radius, 2px);
&.selected {
// transform: scale(1.05);
background-color: rgba(lighten($colorBlueBright, 9), 0.4);
.keybinding {
color: #111;
}
.keybinding {
color: #111;
}
}
.puzzle-lock {
& {
/* @load-async */
background: uiResource("locked_building.png") center center / #{D(14px)} #{D(14px)}
no-repeat;
background: uiResource("locked_building.png") center center / 90% no-repeat;
}
display: grid;
grid-auto-flow: column;
position: absolute;
top: -30px;
@include S(top, -15px);
left: 50%;
transform: translateX(-50%) !important;
transition: all 0.12s ease-in-out;
@@ -135,8 +134,8 @@
cursor: pointer;
pointer-events: all;
@include S(width, 14px);
@include S(height, 14px);
@include S(width, 12px);
@include S(height, 12px);
&:hover {
opacity: 0.5;