1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
/* Stop map container */
.stop-map-container {
width: 100%;
height: 300px;
overflow: hidden;
border: 1px solid var(--border-color);
margin-block-start: 0;
flex-shrink: 0;
position: relative;
}
@media (max-width: 640px) {
.stop-map-container {
height: 30vh;
}
}
/* Floating controls */
.map-floating-controls {
position: absolute;
left: 8px;
top: 8px;
display: flex;
gap: 8px;
z-index: 2;
}
.center-btn {
appearance: none;
border: 1px solid rgba(0,0,0,0.15);
background: color-mix(in oklab, var(--background-color, #fff) 85%, transparent);
color: var(--text-primary, #111);
padding: 6px;
border-radius: 6px;
font-size: 12px;
line-height: 1;
box-shadow: 0 1px 2px rgba(0,0,0,0.15);
cursor: pointer;
}
/* User location dot */
.user-dot {
position: relative;
width: 22px;
height: 22px;
}
.user-dot__core {
position: absolute;
left: 50%;
top: 50%;
width: 10px;
height: 10px;
margin-left: -5px;
margin-top: -5px;
background: #2a6df4;
border: 2px solid #fff;
border-radius: 50%;
box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.user-dot__pulse {
position: absolute;
left: 50%;
top: 50%;
width: 22px;
height: 22px;
margin-left: -11px;
margin-top: -11px;
border-radius: 50%;
background: rgba(42, 109, 244, 0.25);
animation: userPulse 1.8s ease-out infinite;
}
@keyframes userPulse {
0% { transform: scale(0.6); opacity: 0.8; }
70% { transform: scale(1.2); opacity: 0.15; }
100% { transform: scale(1.4); opacity: 0; }
}
|