mirror of
https://github.com/smittix/intercept.git
synced 2026-04-26 07:40:01 -07:00
feat(bluetooth): CSS animated radar sweep with trailing glow arc
Replaces the requestAnimationFrame loop in proximity-radar.js with a CSS @keyframes rotation on .bt-radar-sweep, mirroring the WiFi radar pattern. Adds two trailing arc paths for a glow effect and updates setPaused() to toggle animationPlayState instead of the rAF flag. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -4408,6 +4408,17 @@ header h1 .tagline {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/* Bluetooth radar — CSS sweep animation (replaces rAF loop in proximity-radar.js) */
|
||||
.bt-radar-sweep {
|
||||
transform-origin: 140px 140px;
|
||||
animation: bt-radar-rotate 3s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes bt-radar-rotate {
|
||||
from { transform: rotate(0deg); }
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
/* Bluetooth Device Detail Panel */
|
||||
.bt-detail-panel {
|
||||
background: var(--bg-tertiary);
|
||||
|
||||
Reference in New Issue
Block a user