feat(agent): refine ready state actions
This commit is contained in:
@@ -368,6 +368,20 @@ input:focus-visible {
|
||||
background: var(--surface-reading);
|
||||
}
|
||||
|
||||
.agent-ready-orbit,
|
||||
.agent-ready-core {
|
||||
transform-box: fill-box;
|
||||
transform-origin: center;
|
||||
}
|
||||
|
||||
.agent-ready-orbit {
|
||||
animation: agent-ready-orbit 9s linear infinite;
|
||||
}
|
||||
|
||||
.agent-ready-core {
|
||||
animation: agent-ready-core 2.8s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.agent-panel-icon-button {
|
||||
border: 1px solid var(--surface-divider);
|
||||
background: var(--surface-control);
|
||||
@@ -664,6 +678,25 @@ input:focus-visible {
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes agent-ready-orbit {
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes agent-ready-core {
|
||||
0%,
|
||||
100% {
|
||||
opacity: 0.72;
|
||||
transform: scale(0.94);
|
||||
}
|
||||
|
||||
50% {
|
||||
opacity: 1;
|
||||
transform: scale(1.04);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.agent-panel-enter,
|
||||
.agent-panel-collapse,
|
||||
@@ -699,6 +732,13 @@ input:focus-visible {
|
||||
opacity: 1;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.agent-ready-orbit,
|
||||
.agent-ready-core {
|
||||
animation: none;
|
||||
opacity: 1;
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
|
||||
.maplibregl-ctrl-group {
|
||||
|
||||
Reference in New Issue
Block a user