refactor: Streamline map destruction logic, remove redundant map resizing calls, and format CSS keyframe rules.

This commit is contained in:
danielimad
2026-03-04 00:15:12 +04:00
parent 8805b0cf3e
commit d44ab97f54
3 changed files with 28 additions and 16 deletions

View File

@@ -12511,8 +12511,15 @@ a.prediction-link:hover {
}
@keyframes globe-beta-pulse {
0%, 100% { box-shadow: 0 0 6px rgba(0, 229, 255, 0.3), 0 0 20px rgba(0, 229, 255, 0.15), inset 0 0 8px rgba(0, 229, 255, 0.05); }
50% { box-shadow: 0 0 10px rgba(0, 229, 255, 0.5), 0 0 30px rgba(0, 229, 255, 0.25), inset 0 0 12px rgba(0, 229, 255, 0.1); }
0%,
100% {
box-shadow: 0 0 6px rgba(0, 229, 255, 0.3), 0 0 20px rgba(0, 229, 255, 0.15), inset 0 0 8px rgba(0, 229, 255, 0.05);
}
50% {
box-shadow: 0 0 10px rgba(0, 229, 255, 0.5), 0 0 30px rgba(0, 229, 255, 0.25), inset 0 0 12px rgba(0, 229, 255, 0.1);
}
}
/* deck.gl Controls */
@@ -16552,6 +16559,7 @@ body.has-breaking-alert .panels-grid {
-webkit-box-orient: vertical;
overflow: hidden;
}
/* ─── Globe Map Styles ──────────────────────────────────────────────────────── */
.globe-mode {
@@ -16560,7 +16568,18 @@ body.has-breaking-alert .panels-grid {
}
@keyframes globe-pulse {
0% { transform: scale(1); opacity: 0.6; }
70% { transform: scale(2.5); opacity: 0; }
100% { transform: scale(2.5); opacity: 0; }
}
0% {
transform: scale(1);
opacity: 0.6;
}
70% {
transform: scale(2.5);
opacity: 0;
}
100% {
transform: scale(2.5);
opacity: 0;
}
}