aboutsummaryrefslogtreecommitdiff
path: root/src/components/StopItem.css
blob: 9feb2d1d829cef608a085402d9e6eb65ef8ed37c (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
/* Stop Item Styling */

.stop-notes {
  font-size: 0.85rem;
  font-style: italic;
  color: #666;
  margin: 2px 0;
}

.stop-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.amenity-tag {
  font-size: 0.75rem;
  background-color: #e8f4f8;
  color: #0078d4;
  border-radius: 4px;
  padding: 2px 6px;
  display: inline-block;
}

/* Different colors for different amenity types */
.amenity-tag[data-amenity="shelter"] {
  background-color: #e3f1df;
  color: #107c41;
}

.amenity-tag[data-amenity="bench"] {
  background-color: #f0e8fc;
  color: #5c2e91;
}

.amenity-tag[data-amenity="real-time display"] {
  background-color: #fff4ce;
  color: #986f0b;
}

/* When there are alternate names available, show an indicator */
.has-alternate-names {
  position: relative;
}

.has-alternate-names::after {
  content: "⋯";
  position: absolute;
  right: -15px;
  top: 0;
  color: #0078d4;
  font-weight: bold;
}