46 lines
1.7 KiB
CSS
46 lines
1.7 KiB
CSS
/* Chat 内受限执行摘要卡片:只展示 Runtime/Adapter 已归约的公开步骤。 */
|
||
.execution-progress-card {
|
||
justify-self: start;
|
||
width: min(100%, 32rem);
|
||
border: 1px solid #577563;
|
||
border-radius: .85rem;
|
||
background: #182820;
|
||
color: #cde3d5;
|
||
}
|
||
|
||
.execution-progress-card summary {
|
||
display: flex;
|
||
align-items: baseline;
|
||
justify-content: space-between;
|
||
gap: .8rem;
|
||
padding: .72rem .85rem;
|
||
cursor: pointer;
|
||
list-style: none;
|
||
}
|
||
|
||
.execution-progress-card summary::-webkit-details-marker { display: none; }
|
||
.execution-progress-card summary::before { content: "›"; font-size: 1.2rem; color: #a9dfc4; transition: transform .15s ease; }
|
||
.execution-progress-card[open] summary::before { transform: rotate(90deg); }
|
||
.execution-progress-card[data-status="running"] summary::before { content: "◌"; transform: none; }
|
||
.execution-progress-heading strong { font-size: .9rem; }
|
||
.execution-progress-duration { color: #9cbbaa; white-space: nowrap; }
|
||
|
||
.execution-progress-stages {
|
||
display: grid;
|
||
gap: .34rem;
|
||
margin: 0;
|
||
padding: 0 .9rem .85rem 2rem;
|
||
color: #b9d1c2;
|
||
font-size: .82rem;
|
||
}
|
||
|
||
.execution-progress-stages li::marker { color: #85caa2; }
|
||
.execution-progress-stages li[data-status="completed"] { color: #d5f0df; }
|
||
.execution-progress-stages li[data-status="running"] { color: #d7e6a4; }
|
||
.execution-progress-card[data-status="failed"] { border-color: #82625e; }
|
||
.execution-progress-card[data-status="failed"] .execution-progress-stages li[data-status="failed"] { color: #ffb2aa; }
|
||
|
||
/* A trace belongs to the final Agent turn, not to the global message stream. */
|
||
.message-agent-content { display: grid; gap: .45rem; min-width: 0; }
|
||
.message-agent-content > .execution-progress-card { width: min(100%, 32rem); }
|