qwen-code/packages/web-shell/client/components/messages/tools/DiffView.module.css
ytahdn 0f98842ff2
fix(web-shell): refine tool detail cards (#6399)
Co-authored-by: ytahdn <ytahdn@gmail.com>
2026-07-06 14:58:22 +00:00

82 lines
1.1 KiB
CSS

.view {
margin: 0;
overflow: hidden;
font-size: 12px;
}
.stats {
display: flex;
gap: 8px;
padding: 3px 8px;
background: var(--subtle-bg);
border-bottom: 1px solid var(--border);
font-size: 11px;
}
.statAdd {
color: var(--success-color);
}
.statDel {
color: var(--error-color);
}
.lines {
max-height: 400px;
overflow-y: auto;
}
.line {
display: flex;
padding: 0 8px;
min-height: 18px;
line-height: 18px;
}
.lineAdd {
background: var(--success-bg);
}
.lineDel {
background: var(--error-bg);
}
.lineHeader {
background: var(--agent-blue-100);
color: var(--muted-foreground);
font-style: italic;
}
.lineContext {
background: transparent;
}
.lineNo {
width: 36px;
flex-shrink: 0;
text-align: right;
padding-right: 6px;
user-select: none;
color: var(--muted-foreground);
opacity: 0.6;
}
.marker {
width: 14px;
flex-shrink: 0;
user-select: none;
color: var(--muted-foreground);
}
.lineAdd .marker {
color: var(--success-color);
}
.lineDel .marker {
color: var(--error-color);
}
.content {
white-space: pre;
overflow-x: auto;
}