mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-08-20 14:15:12 +00:00
* style(web-shell): polish chat UI * fix(web-shell): address chat polish review feedback --------- Co-authored-by: ytahdn <ytahdn@gmail.com>
194 lines
3 KiB
CSS
194 lines
3 KiB
CSS
.panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
color: var(--foreground);
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.steps {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
padding-bottom: 10px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.stepPill {
|
|
display: inline-flex;
|
|
min-width: 0;
|
|
align-items: center;
|
|
gap: 5px;
|
|
padding: 3px 8px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 999px;
|
|
color: var(--muted-foreground);
|
|
}
|
|
|
|
.stepPillActive {
|
|
border-color: var(--agent-blue-500);
|
|
color: var(--agent-blue-500);
|
|
}
|
|
|
|
.stepPillDone {
|
|
color: var(--foreground);
|
|
}
|
|
|
|
.stepNumber {
|
|
display: inline-flex;
|
|
width: 16px;
|
|
height: 16px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 50%;
|
|
background: var(--muted);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.stepLabel {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.body {
|
|
min-height: 220px;
|
|
}
|
|
|
|
.text {
|
|
margin: 0 0 8px;
|
|
color: var(--foreground);
|
|
}
|
|
|
|
.muted {
|
|
color: var(--muted-foreground);
|
|
}
|
|
|
|
.options {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.option {
|
|
display: flex;
|
|
width: 100%;
|
|
min-width: 0;
|
|
align-items: flex-start;
|
|
padding: 8px;
|
|
border: 1px solid transparent;
|
|
border-radius: 6px;
|
|
color: var(--foreground);
|
|
background: transparent;
|
|
font: inherit;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.option:hover,
|
|
.optionActive {
|
|
background: var(--secondary);
|
|
}
|
|
|
|
.optionActive .label {
|
|
color: var(--agent-blue-500);
|
|
}
|
|
|
|
.optionText {
|
|
min-width: 0;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.label {
|
|
display: flex;
|
|
min-width: 0;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--foreground);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.description {
|
|
margin-top: 3px;
|
|
color: var(--muted-foreground);
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.input {
|
|
width: 100%;
|
|
margin-top: 8px;
|
|
padding: 8px 10px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
color: var(--foreground);
|
|
background: var(--background);
|
|
font: inherit;
|
|
}
|
|
|
|
.input:focus {
|
|
border-color: var(--agent-blue-500);
|
|
outline: none;
|
|
}
|
|
|
|
.preview {
|
|
max-height: 260px;
|
|
overflow: auto;
|
|
margin-top: 8px;
|
|
padding: 8px;
|
|
border-radius: 6px;
|
|
color: var(--muted-foreground);
|
|
background: var(--background);
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.error {
|
|
color: var(--error-color, #ef4444);
|
|
}
|
|
|
|
.link {
|
|
display: inline-block;
|
|
margin-top: 8px;
|
|
color: var(--link-color, var(--agent-blue-500));
|
|
text-decoration: none;
|
|
}
|
|
|
|
.link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.terms {
|
|
margin-top: 10px;
|
|
padding: 8px;
|
|
border-radius: 6px;
|
|
background: var(--background);
|
|
color: var(--muted-foreground);
|
|
}
|
|
|
|
.actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
padding-top: 10px;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
.actionButton {
|
|
padding: 5px 10px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
color: var(--foreground);
|
|
background: var(--background);
|
|
font: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.actionButton:hover:not(:disabled) {
|
|
background: var(--secondary);
|
|
}
|
|
|
|
.actionButton:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.45;
|
|
}
|