236 lines
4.1 KiB
CSS
236 lines
4.1 KiB
CSS
.agent-card {
|
|
background: var(--surface-raised);
|
|
border: 1px solid var(--border);
|
|
border-radius: 14px;
|
|
margin-bottom: 16px;
|
|
overflow: hidden;
|
|
box-shadow: var(--shadow-card);
|
|
}
|
|
|
|
.agent-card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
padding: 14px 16px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--surface-hover);
|
|
}
|
|
|
|
.agent-card-name {
|
|
font-weight: 700;
|
|
font-size: 14px;
|
|
color: var(--text);
|
|
}
|
|
|
|
.agent-card-badges {
|
|
display: flex;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
margin-left: auto;
|
|
}
|
|
|
|
/* Card sections */
|
|
.agent-card-section {
|
|
padding: 12px 14px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.agent-card-section:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.agent-card-section-title {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.6px;
|
|
color: var(--text-muted);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
/* Streaming card highlight */
|
|
.agent-card-streaming {
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 0 3px var(--accent-soft);
|
|
}
|
|
|
|
/* Streaming badge */
|
|
.badge-streaming {
|
|
background: var(--accent-soft);
|
|
color: var(--accent);
|
|
border: 1px solid var(--accent-soft-strong);
|
|
border-radius: 4px;
|
|
padding: 1px 6px;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
animation: pulse-badge 1.5s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes pulse-badge {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.5; }
|
|
}
|
|
|
|
/* Streaming plain-text area */
|
|
.streaming-text {
|
|
font-size: 13px;
|
|
color: var(--text);
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
/* Blinking cursor */
|
|
.streaming-cursor {
|
|
display: inline-block;
|
|
width: 2px;
|
|
height: 0.9em;
|
|
background: var(--accent);
|
|
margin-left: 2px;
|
|
vertical-align: text-bottom;
|
|
animation: blink-cursor 0.9s step-end infinite;
|
|
}
|
|
|
|
@keyframes blink-cursor {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0; }
|
|
}
|
|
|
|
/* Content */
|
|
.agent-card-content-text {
|
|
font-size: 13px;
|
|
color: var(--text);
|
|
}
|
|
|
|
/* Thinking section */
|
|
.agent-card-thinking-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
background: transparent;
|
|
border: none;
|
|
padding: 0;
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.agent-card-thinking-toggle:hover {
|
|
color: var(--text);
|
|
}
|
|
|
|
.agent-card-thinking-text {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
background: rgba(139, 148, 158, 0.06);
|
|
border-left: 2px solid var(--border);
|
|
padding: 8px 12px;
|
|
border-radius: 0 4px 4px 0;
|
|
}
|
|
|
|
.agent-card-thinking-text .markdown-body {
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
font-style: italic;
|
|
}
|
|
|
|
.agent-card-thinking-text .markdown-body strong {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Dimension output */
|
|
.dim-output-grid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.dim-output-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.dim-output-key {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: var(--accent);
|
|
}
|
|
|
|
.dim-output-value {
|
|
font-size: 13px;
|
|
color: var(--text);
|
|
}
|
|
|
|
/* Retrieval */
|
|
.retrieval-source-group {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.retrieval-source-group:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.retrieval-query-label {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
color: var(--text-muted);
|
|
margin-bottom: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.retrieval-adopted-badge {
|
|
background: rgba(63, 185, 80, 0.15);
|
|
color: var(--green);
|
|
border-radius: 3px;
|
|
padding: 1px 5px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.retrieval-not-adopted-badge {
|
|
background: rgba(139, 148, 158, 0.1);
|
|
color: var(--text-muted);
|
|
border-radius: 3px;
|
|
padding: 1px 5px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.retrieval-item {
|
|
display: flex;
|
|
gap: 6px;
|
|
margin-bottom: 4px;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.retrieval-item-num {
|
|
flex-shrink: 0;
|
|
background: var(--accent-soft);
|
|
color: var(--accent);
|
|
border-radius: 3px;
|
|
padding: 0 4px;
|
|
font-size: 10px;
|
|
font-family: monospace;
|
|
line-height: 18px;
|
|
margin-top: 1px;
|
|
}
|
|
|
|
.retrieval-item-text {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
line-height: 1.5;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.retrieval-source-label {
|
|
font-size: 10px;
|
|
color: var(--text-muted);
|
|
opacity: 0.7;
|
|
margin-left: 4px;
|
|
}
|