diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2025-04-20 19:07:29 +0200 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2025-04-20 19:07:29 +0200 |
| commit | 340865ad234f974ec4c0afcbfb6ff06f50a11b2f (patch) | |
| tree | 06b6a76b6dfc535f9091990eaaec82b50d5f851e /src/components/StopItem.css | |
| parent | 32bc4914759845516de2b7592b05afb3c3cc5c42 (diff) | |
Load stops from local data files
Diffstat (limited to 'src/components/StopItem.css')
| -rw-r--r-- | src/components/StopItem.css | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/src/components/StopItem.css b/src/components/StopItem.css new file mode 100644 index 0000000..9feb2d1 --- /dev/null +++ b/src/components/StopItem.css @@ -0,0 +1,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; +}
\ No newline at end of file |
