Files
deepseek-harness/packages/client/ui-conversation/src/client/chat/ChatView.module.css
T
2026-07-27 12:04:12 +08:00

108 lines
2.2 KiB
CSS

/* Chat flow: block gap 16 between narration/bubbles/tool groups (figma);
tool rows inside a group gap 10. Input padding cap rides the skeleton. */
.root {
position: relative;
display: flex;
flex-direction: column;
min-height: 0;
flex: 1 1 auto;
}
.scroll {
flex: 1 1 auto;
min-height: 0;
overflow-y: auto;
padding: 16px 24px;
}
/* Message column: 736px fixed width, centered on the same axis as the
input box; the scroller itself stays full-bleed. */
.column {
max-width: 736px;
width: 100%;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 16px;
}
.toolGroup {
display: flex;
flex-direction: column;
gap: 10px;
}
.callRow {
border-radius: 6px;
}
/* Selection still sets data-selected for details linkage; no outline —
tool rows match Think chrome (no selected ring). */
/* run_code sub-dispatch rows: indented under the parent row, left-edged so
the code turn reads as one unit; each nested row is itself a .callRow. */
.subCalls {
display: flex;
flex-direction: column;
gap: 4px;
margin: 4px 0 2px 22px;
padding-left: 8px;
border-left: 1px solid var(--dsw-alias-border-l2);
}
.hint {
color: var(--dsw-alias-label-tertiary);
font-size: 12px;
line-height: 18px;
}
.openError {
color: var(--dsw-alias-state-error-primary);
font-size: 12px;
line-height: 18px;
}
.older {
display: flex;
justify-content: center;
}
.older button {
border: none;
border-radius: 14px;
padding: 4px 12px;
font-size: 12px;
color: var(--dsw-alias-label-secondary);
background: var(--dsw-alias-interactive-bg-hover-solid);
cursor: pointer;
}
.older button:disabled {
cursor: default;
opacity: 0.6;
}
/* Back-to-bottom: 34px circular icon button at the column's right edge. */
.toBottom {
position: absolute;
right: max(24px, calc((100% - 736px) / 2));
bottom: 16px;
width: 34px;
height: 34px;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
border: 1px solid var(--dsw-alias-border-l2);
border-radius: 100px;
color: var(--dsw-alias-label-primary);
background: var(--dsw-alias-button-floating-fill);
box-shadow: var(--dsw-shadow-lv2);
cursor: pointer;
}
.toBottom:hover {
background: var(--dsw-alias-button-floating-hover);
}