mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-08-10 17:27:10 +00:00
* style(web-shell): polish chat UI * fix(web-shell): address chat polish review feedback --------- Co-authored-by: ytahdn <ytahdn@gmail.com>
72 lines
1 KiB
CSS
72 lines
1 KiB
CSS
.root {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
.list {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
padding: 4px 0;
|
|
}
|
|
|
|
.item {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 12px;
|
|
width: calc(100% - 16px);
|
|
margin: 1px 8px;
|
|
padding: 8px;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
color: var(--foreground);
|
|
font: inherit;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.item:hover,
|
|
.itemSelected {
|
|
background: var(--secondary);
|
|
}
|
|
|
|
.item:disabled {
|
|
cursor: default;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.prompt {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: var(--foreground);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.turn {
|
|
color: var(--agent-blue-500);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.time {
|
|
color: var(--muted-foreground);
|
|
font-size: 12px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.footer {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
padding: 10px 8px 0;
|
|
}
|
|
|
|
.dangerButton {
|
|
border-color: var(--error-color);
|
|
color: var(--error-color);
|
|
}
|