1829191410
Toggle NPCs independently from the characters window, keep one shared dim/close-all, and scroll descriptions for all selected characters. Co-authored-by: Cursor <cursoragent@cursor.com>
236 lines
3.4 KiB
CSS
236 lines
3.4 KiB
CSS
.page {
|
|
height: 100vh;
|
|
display: grid;
|
|
grid-template-rows: auto 1fr;
|
|
background: #09090b;
|
|
color: var(--text1);
|
|
min-height: 0;
|
|
}
|
|
|
|
.toolbar {
|
|
display: grid;
|
|
gap: 8px;
|
|
padding: 10px 12px;
|
|
border-bottom: 1px solid var(--stroke);
|
|
background: #18181b;
|
|
}
|
|
|
|
.toolbarRow {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.toolbarHint {
|
|
color: var(--text2);
|
|
font-size: 12px;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.body {
|
|
display: grid;
|
|
grid-template-columns: 1fr 280px;
|
|
min-height: 0;
|
|
}
|
|
|
|
.detail {
|
|
min-height: 0;
|
|
overflow: auto;
|
|
padding: 14px 16px;
|
|
border-right: 1px solid var(--stroke);
|
|
background: #0f0f12;
|
|
display: grid;
|
|
gap: 14px;
|
|
align-content: start;
|
|
}
|
|
|
|
.detailEmpty {
|
|
color: var(--text2);
|
|
font-size: 13px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.detailCard {
|
|
display: grid;
|
|
gap: 10px;
|
|
padding-bottom: 14px;
|
|
border-bottom: 1px solid var(--stroke);
|
|
}
|
|
|
|
.detailCard:last-child {
|
|
border-bottom: none;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.detailName {
|
|
font-size: 18px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.detailSectionTitle {
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
letter-spacing: 0.6px;
|
|
color: var(--text2);
|
|
}
|
|
|
|
.detailDesc {
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
color: var(--text1);
|
|
}
|
|
|
|
.detailDesc :is(h2, h3) {
|
|
margin: 0.6em 0 0.35em;
|
|
}
|
|
|
|
.detailDesc :is(p, ul, ol) {
|
|
margin: 0.35em 0;
|
|
}
|
|
|
|
.relationsList {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.relationItem {
|
|
padding: 8px 10px;
|
|
border-radius: 10px;
|
|
border: 1px solid var(--stroke);
|
|
background: #18181b;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.listCol {
|
|
min-height: 0;
|
|
display: grid;
|
|
grid-template-rows: auto 1fr;
|
|
gap: 10px;
|
|
padding: 12px;
|
|
background: #0f0f12;
|
|
}
|
|
|
|
.list {
|
|
display: grid;
|
|
gap: 8px;
|
|
align-content: start;
|
|
overflow: auto;
|
|
min-height: 0;
|
|
}
|
|
|
|
.tile {
|
|
display: grid;
|
|
grid-template-columns: 44px 1fr;
|
|
gap: 10px;
|
|
align-items: center;
|
|
padding: 8px;
|
|
border-radius: 12px;
|
|
border: 1px solid var(--stroke);
|
|
background: #18181b;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
color: inherit;
|
|
width: 100%;
|
|
}
|
|
|
|
.tileSelected {
|
|
border-color: #60a5fa;
|
|
box-shadow: 0 0 0 1px #60a5fa;
|
|
}
|
|
|
|
.tileActive {
|
|
outline: 1px solid #fbbf24;
|
|
}
|
|
|
|
.tileAvatar {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
background: #09090b;
|
|
}
|
|
|
|
.tileAvatarImg {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
|
|
.tileName {
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.muted {
|
|
color: var(--text2);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.groupBlock {
|
|
display: grid;
|
|
gap: 4px;
|
|
}
|
|
|
|
.groupHeader {
|
|
display: grid;
|
|
grid-template-columns: auto auto 1fr;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 4px 2px;
|
|
border-bottom: 1px solid var(--stroke);
|
|
user-select: none;
|
|
}
|
|
|
|
.groupToggle {
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--text2);
|
|
cursor: pointer;
|
|
width: 18px;
|
|
padding: 0;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.groupColorDot {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 999px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.groupTitle {
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
letter-spacing: 0.3px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.groupBody {
|
|
display: grid;
|
|
gap: 6px;
|
|
padding: 4px 0 8px 4px;
|
|
min-height: 0;
|
|
}
|
|
|
|
.ungroupedSection {
|
|
display: grid;
|
|
gap: 4px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.ungroupedHeader {
|
|
font-size: 11px;
|
|
font-weight: 900;
|
|
letter-spacing: 0.6px;
|
|
color: var(--text2);
|
|
padding: 6px 2px 4px;
|
|
border-bottom: 1px solid var(--stroke);
|
|
}
|