mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Add originalRotation to static comp in order to fix bugs with the automatic placement
This commit is contained in:
@@ -1,19 +1,17 @@
|
||||
#ingame_HUD_building_placer {
|
||||
position: fixed;
|
||||
@include S(bottom, 60px);
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
@include S(top, 5q0px);
|
||||
@include S(right, 10px);
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@include S(padding, 6px);
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color: $ingameHudBg;
|
||||
align-items: flex-start;
|
||||
@include S(border-radius, 4px);
|
||||
background: #333;
|
||||
@include S(width, 300px);
|
||||
background: rgba(#333, 0.5);
|
||||
@include S(width, 200px);
|
||||
|
||||
.buildingLabel {
|
||||
@include PlainText;
|
||||
@@ -24,8 +22,8 @@
|
||||
|
||||
.instructions,
|
||||
.description {
|
||||
text-align: center;
|
||||
color: mix($accentColorDark, $accentColorBright, 50%);
|
||||
color: #fff;
|
||||
opacity: 0.8;
|
||||
@include SuperSmallText;
|
||||
}
|
||||
|
||||
|
||||
@@ -58,12 +58,17 @@
|
||||
}
|
||||
}
|
||||
|
||||
// &:first-child .tooltip {
|
||||
// display: flex;
|
||||
// }
|
||||
&.selected {
|
||||
background: rgb(140, 229, 140) !important;
|
||||
transform: scale(1.05);
|
||||
.keybinding {
|
||||
color: #111;
|
||||
}
|
||||
}
|
||||
|
||||
pointer-events: all;
|
||||
transition: background-color 0.1s ease-in-out;
|
||||
transition: all 0.1s ease-in-out;
|
||||
transition-property: background-color, transform;
|
||||
&.unlocked:hover {
|
||||
background: rgba($accentColorDark, 0.1);
|
||||
cursor: pointer;
|
||||
|
||||
@@ -32,7 +32,7 @@ $accentColorDark: #7d808a;
|
||||
$colorGreenBright: #66bb6a;
|
||||
$colorRedBright: #ef5072;
|
||||
$themeColor: #393747;
|
||||
$ingameHudBg: rgba($accentColorBright, 0.9);
|
||||
$ingameHudBg: rgba($accentColorBright, 0.1);
|
||||
$ingameHudBorder: #{D(1.5px)} solid $accentColorDark;
|
||||
|
||||
$text3dColor: #f4ffff;
|
||||
|
||||
Reference in New Issue
Block a user