feat(ui): redesign InteractPrompt per Figma DA
- Larger label box and key cube on white-translucent backgrounds (rgba(255, 255, 255, 0.92)) with black Inter 900 text and rounded 12px corners + soft drop shadow. - Move from bottom: 30% to bottom: 12% so the prompt sits closer to the visual center of attention near focused world objects. - Key cube grown 24x24 -> 64x64 / font 13 -> 32, label padding 0 -> 16x24 / font 13 -> 22, both bold instead of regular.
This commit is contained in:
+24
-13
@@ -809,12 +809,12 @@ canvas {
|
|||||||
|
|
||||||
.interact-prompt {
|
.interact-prompt {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 30%;
|
bottom: 12%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 8px;
|
gap: 12px;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
}
|
}
|
||||||
@@ -823,21 +823,32 @@ canvas {
|
|||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
width: 24px;
|
width: 64px;
|
||||||
height: 24px;
|
height: 64px;
|
||||||
background: rgba(255, 255, 255, 0.15);
|
background: rgba(255, 255, 255, 0.92);
|
||||||
border: 1px solid rgba(255, 255, 255, 0.5);
|
border-radius: 12px;
|
||||||
border-radius: 4px;
|
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
|
||||||
font-size: 13px;
|
font-family: "Inter", sans-serif;
|
||||||
font-weight: 600;
|
font-size: 32px;
|
||||||
color: white;
|
font-weight: 900;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
color: #0a0a0a;
|
||||||
|
letter-spacing: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.interact-prompt__label {
|
.interact-prompt__label {
|
||||||
font-size: 13px;
|
display: inline-flex;
|
||||||
color: rgba(255, 255, 255, 0.85);
|
align-items: center;
|
||||||
letter-spacing: 0.03em;
|
padding: 16px 24px;
|
||||||
|
background: rgba(255, 255, 255, 0.92);
|
||||||
|
border-radius: 12px;
|
||||||
|
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
|
||||||
|
font-family: "Inter", sans-serif;
|
||||||
|
font-size: 22px;
|
||||||
|
font-weight: 900;
|
||||||
|
color: #0a0a0a;
|
||||||
|
letter-spacing: 0;
|
||||||
|
line-height: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.repair-movement-lock-indicator {
|
.repair-movement-lock-indicator {
|
||||||
|
|||||||
Reference in New Issue
Block a user