aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/components/stop/StopMapModal.css
blob: f024b382bd4c4aeed54e42bba2421acc2d35f6ae (plain)
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
/* Stop map modal container */
.stop-map-modal {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--background-color);
}

.stop-map-modal__map-container {
  width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
}

/* Map floating controls */
.map-modal-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;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.center-btn:hover {
  background: color-mix(
    in oklab,
    var(--background-color, #fff) 75%,
    transparent
  );
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.center-btn:active {
  transform: scale(0.95);
}