feat(npcs): inspect cards, Show overlay, and optional external link
Clicking an NPC tile opens description cards (multi-select accordion); Show puts avatars on screen. Optional URL opens a webview tab. Avatar pan in the editor commits on pointer up. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -25,6 +25,15 @@
|
||||
cursor: grabbing;
|
||||
}
|
||||
|
||||
.circlePick {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.circleDrop {
|
||||
border-color: var(--accent, #a78bfa);
|
||||
box-shadow: 0 0 0 3px var(--accent-fill-soft, rgba(167, 139, 250, 0.28));
|
||||
}
|
||||
|
||||
.avatar {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
@@ -47,6 +56,25 @@
|
||||
);
|
||||
}
|
||||
|
||||
.avatarEmptySolid {
|
||||
background: #18181b;
|
||||
}
|
||||
|
||||
.avatarEmptyHint {
|
||||
position: absolute;
|
||||
inset: 12px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
line-height: 1.35;
|
||||
color: var(--text2, #a1a1aa);
|
||||
pointer-events: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.namePlate {
|
||||
max-width: 100%;
|
||||
padding: 4px 10px;
|
||||
|
||||
Reference in New Issue
Block a user