mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-07-19 14:04:06 +00:00
* fix(web-shell): improve disconnected composer handling * fix(web-shell): keep disconnected placeholder unchanged --------- Co-authored-by: ytahdn <ytahdn@gmail.com>
72 lines
1.3 KiB
CSS
72 lines
1.3 KiB
CSS
.host {
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 12px;
|
|
z-index: 30;
|
|
display: flex;
|
|
width: min(420px, calc(100% - 24px));
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.toast {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 28px;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-height: 40px;
|
|
padding: 9px 8px 9px 12px;
|
|
border: 1px solid color-mix(in srgb, var(--foreground) 14%, var(--border));
|
|
border-left-width: 4px;
|
|
border-radius: var(--radius);
|
|
background-color: var(--muted);
|
|
color: var(--foreground);
|
|
box-shadow:
|
|
0 12px 32px rgba(0, 0, 0, 0.34),
|
|
inset 0 0 0 1px rgba(255, 255, 255, 0.04);
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.message {
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
font-family: var(--font-sans);
|
|
font-size: 13px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.close {
|
|
width: 28px;
|
|
height: 28px;
|
|
border: 0;
|
|
border-radius: 4px;
|
|
background: transparent;
|
|
color: var(--muted-foreground);
|
|
cursor: pointer;
|
|
font: inherit;
|
|
line-height: 1;
|
|
}
|
|
|
|
.close:hover,
|
|
.close:focus-visible {
|
|
background: var(--subtle-bg-strong);
|
|
color: var(--foreground);
|
|
outline: none;
|
|
}
|
|
|
|
.info {
|
|
border-left-color: var(--agent-blue-500);
|
|
}
|
|
|
|
.success {
|
|
border-left-color: var(--success-color);
|
|
}
|
|
|
|
.warning {
|
|
border-left-color: var(--warning-color);
|
|
}
|
|
|
|
.error {
|
|
border-left-color: var(--error-color);
|
|
}
|