diff --git a/static/css/index.css b/static/css/index.css index 59be380..82b2464 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -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); diff --git a/static/js/components/proximity-radar.js b/static/js/components/proximity-radar.js index c08f338..7f71cbd 100644 --- a/static/js/components/proximity-radar.js +++ b/static/js/components/proximity-radar.js @@ -73,6 +73,9 @@ const ProximityRadar = (function() { + + + @@ -94,10 +97,15 @@ const ProximityRadar = (function() { }).join('')} - - + + + + + +