mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-26 17:09:28 +08:00
- Replace native <input type="number"> in popover width settings with CustomNumberInput stepper and hide native number spinbuttons globally - Eliminate single/multi-select option reflow on open by removing scale(0.985) GPU layer teardown in anim-popover-in, floating .scrollbar-rail without flex width squeeze, and reconciling options before unhiding .select-menu - Gate Model Context Settings behind a persistent risk consent mask (contextWindowRiskAccepted, default false and re-locked on factory reset)
55 lines
773 B
CSS
55 lines
773 B
CSS
/*
|
|
* Fast, hardware-accelerated transitions (120ms-160ms) with zero sluggish bounce.
|
|
*/
|
|
|
|
@keyframes anim-spin {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@keyframes anim-pulse-dot {
|
|
0%,
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
opacity: 0.22;
|
|
}
|
|
}
|
|
|
|
@keyframes anim-view-fade {
|
|
from {
|
|
opacity: 0;
|
|
transform: translate3d(0, 3px, 0);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translate3d(0, 0, 0);
|
|
}
|
|
}
|
|
|
|
@keyframes anim-popover-in {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.view-pane {
|
|
animation: anim-view-fade var(--dur-fast) var(--ease-fast);
|
|
}
|
|
|
|
.is-spinning .svg-icon {
|
|
animation: anim-spin 520ms linear infinite;
|
|
}
|
|
|
|
.is-pulsing {
|
|
animation: anim-pulse-dot 950ms ease-in-out infinite;
|
|
}
|