The connection is a light on the agent's icon instead of a "live" badge, the model and the effort are one badge, the context badge has an icon, subagents and a new bash tasks badge are an icon and a count, and an agent's tab shows a drag grip on hover. It also removes two things the overhaul replaces: the cost badge, and the "split" badge with its menu in group panes (splitting is by dragging a tab, or from the subagents list).
47 lines
1.1 KiB
CSS
47 lines
1.1 KiB
CSS
.ui-conn-dot {
|
|
display: inline-block;
|
|
width: 0.65em;
|
|
height: 0.65em;
|
|
flex: none;
|
|
border-radius: 50%;
|
|
background: var(--muted);
|
|
box-shadow: 0 0 0 2px color-mix(in srgb, var(--bg) 70%, transparent);
|
|
}
|
|
.ui-conn-dot-open {
|
|
background: var(--green);
|
|
box-shadow:
|
|
0 0 0 2px color-mix(in srgb, var(--bg) 70%, transparent),
|
|
0 0 6px var(--green);
|
|
}
|
|
.ui-conn-dot-connecting,
|
|
.ui-conn-dot-reconnecting {
|
|
background: var(--amber);
|
|
}
|
|
.ui-conn-dot-closed {
|
|
background: var(--red);
|
|
}
|
|
/* On the corner of the icon: the light sits half over its bottom-right edge. */
|
|
.ui-live-icon {
|
|
position: relative;
|
|
display: inline-flex;
|
|
}
|
|
.ui-conn-dot-on-icon {
|
|
position: absolute;
|
|
right: -0.2em;
|
|
bottom: -0.2em;
|
|
}
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
.ui-conn-dot-connecting,
|
|
.ui-conn-dot-reconnecting {
|
|
animation: ui-conn-dot-pulse 1.2s ease-in-out infinite;
|
|
}
|
|
}
|
|
@keyframes ui-conn-dot-pulse {
|
|
50% {
|
|
opacity: 0.45;
|
|
}
|
|
}
|
|
/* Alone in a terminal's top corner, with room around it. */
|
|
.ui-agent-term-preview-controls .ui-conn-dot:not(.ui-conn-dot-on-icon) {
|
|
margin: 0.55em 0 0 0.55em;
|
|
}
|