@motionstudies/web 0.1.0-alpha.3 → 0.1.0-alpha.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/README.md +247 -2
  2. package/components/AirportBoard.d.ts +27 -0
  3. package/components/AirportBoard.js +28 -0
  4. package/components/AirportHeroCard.d.ts +60 -0
  5. package/components/AirportHeroCard.js +31 -0
  6. package/components/BusStopHeroCard.d.ts +37 -0
  7. package/components/BusStopHeroCard.js +14 -0
  8. package/components/DotMatrixBoard.d.ts +31 -0
  9. package/components/DotMatrixBoard.js +84 -0
  10. package/components/LazyButtonTooltips.d.ts +2 -0
  11. package/components/LazyButtonTooltips.js +8 -0
  12. package/components/NetworkVehicleHeroCard.d.ts +13 -0
  13. package/components/NetworkVehicleHeroCard.js +13 -0
  14. package/components/RailStationHeroCard.d.ts +46 -0
  15. package/components/RailStationHeroCard.js +20 -0
  16. package/components/SbbDepartureBoard.d.ts +26 -0
  17. package/components/SbbDepartureBoard.js +29 -0
  18. package/components/SplitFlapBoard.d.ts +25 -0
  19. package/components/SplitFlapBoard.js +58 -0
  20. package/components/StudyTimeline.d.ts +25 -0
  21. package/components/StudyTimeline.js +14 -0
  22. package/components/TimelineScrubber.d.ts +19 -0
  23. package/components/TimelineScrubber.js +26 -0
  24. package/components/TransportHeroBoard.d.ts +28 -0
  25. package/components/TransportHeroBoard.js +15 -0
  26. package/components/VehicleHeroCard.d.ts +51 -0
  27. package/components/VehicleHeroCard.js +21 -0
  28. package/components/airport-hero-card.css +68 -0
  29. package/components/dot-matrix-board.css +49 -0
  30. package/components/dot-matrix-font.d.ts +2 -0
  31. package/components/dot-matrix-font.js +61 -0
  32. package/components/sbb-departure-board.css +49 -0
  33. package/components/split-flap-board.css +45 -0
  34. package/components/study-timeline.css +8 -0
  35. package/components/timeline-scrubber.css +16 -0
  36. package/components/transport-hero-cards.css +39 -0
  37. package/components/vehicle-hero-card.css +64 -0
  38. package/fonts/DM-Mono-OFL.txt +93 -0
  39. package/fonts/Inter-OFL.txt +93 -0
  40. package/fonts/dm-mono-latin-300.woff2 +0 -0
  41. package/fonts/dm-mono-latin-400.woff2 +0 -0
  42. package/fonts/dm-mono-latin-500.woff2 +0 -0
  43. package/fonts/dm-mono-latin-ext-300.woff2 +0 -0
  44. package/fonts/dm-mono-latin-ext-400.woff2 +0 -0
  45. package/fonts/dm-mono-latin-ext-500.woff2 +0 -0
  46. package/fonts/inter-cyrillic-400-600.woff2 +0 -0
  47. package/fonts/inter-cyrillic-ext-400-600.woff2 +0 -0
  48. package/fonts/inter-greek-400-600.woff2 +0 -0
  49. package/fonts/inter-greek-ext-400-600.woff2 +0 -0
  50. package/fonts/inter-latin-400-600.woff2 +0 -0
  51. package/fonts/inter-latin-ext-400-600.woff2 +0 -0
  52. package/fonts/inter-vietnamese-400-600.woff2 +0 -0
  53. package/fonts.css +105 -0
  54. package/mount-motion-study.d.ts +7 -2
  55. package/mount-motion-study.js +2 -2
  56. package/package.json +94 -3
  57. package/study-layout.css +65 -0
  58. package/use-airport-feed.d.ts +9 -0
  59. package/use-airport-feed.js +72 -0
  60. package/use-browser-location.d.ts +13 -0
  61. package/use-browser-location.js +39 -0
  62. package/use-json-asset.d.ts +9 -0
  63. package/use-json-asset.js +45 -0
  64. package/use-now-clock.d.ts +11 -0
  65. package/use-now-clock.js +45 -0
  66. package/use-pattern-network-day.d.ts +17 -0
  67. package/use-pattern-network-day.js +41 -0
  68. package/use-progressive-air-day.d.ts +1 -0
  69. package/use-progressive-chunks.d.ts +3 -0
  70. package/use-progressive-chunks.js +13 -4
  71. package/use-progressive-network-day.d.ts +1 -0
  72. package/use-progressive-road-study.d.ts +1 -0
  73. package/use-transition-value.d.ts +12 -0
  74. package/use-transition-value.js +46 -0
@@ -0,0 +1,68 @@
1
+ @import './split-flap-board.css';
2
+
3
+ .ms-airport-hero { --airport-accent: #edc96b; container-type: inline-size; color: #f0ecdd; background: linear-gradient(125deg, #292d27, #191d19 65%); border: 1px solid #4b4d40; border-radius: 12px; padding: clamp(16px, 3vw, 30px); box-shadow: 0 20px 60px #0003; font-family: ui-sans-serif, system-ui, sans-serif; min-width: 0; }
4
+ .ms-airport-hero__masthead { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
5
+ .ms-airport-hero__eyebrow { color: var(--airport-accent); text-transform: uppercase; font-size: 10px; letter-spacing: .18em; }
6
+ .ms-airport-hero__eyebrow > span { font-size: 18px; margin-right: 6px; }
7
+ .ms-airport-hero__date { color: #bebfac; font: 11px/1.5 ui-monospace, monospace; letter-spacing: .06em; }
8
+ .ms-airport-hero__identity { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px 24px; padding: 18px 0 20px; }
9
+ .ms-airport-hero__code { color: var(--airport-accent); font-size: clamp(54px, 10cqi, 82px); font-weight: 650; line-height: .95; letter-spacing: -.065em; }
10
+ .ms-airport-hero__identity h2 { max-width: 300px; color: #f0ecdd; font: 400 clamp(20px, 3.3cqi, 27px)/1.15 ui-sans-serif, system-ui, sans-serif; letter-spacing: -.025em; margin: 0; overflow-wrap: anywhere; }
11
+ .ms-airport-hero__clock { padding-left: 24px; border-left: 1px solid #797c6155; text-align: right; }
12
+ .ms-airport-hero__clock-label { display: block; color: #bebfac; font-size: 10px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
13
+ .ms-airport-hero__clock-value { display: block; margin-top: 4px; color: #f0ecdd; font: 400 42px/1.1 ui-monospace, monospace; font-variant-numeric: tabular-nums; letter-spacing: -.06em; white-space: nowrap; }
14
+ .ms-airport-hero__board-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 20px; border-bottom: 1px solid #4b4d40; margin-bottom: 14px; }
15
+ .ms-airport-hero__directions { display: flex; gap: 22px; }
16
+ .ms-airport-hero__directions button { min-height: 44px; padding: 10px 0 12px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: #b8baaa; font: 500 13px/1.4 ui-sans-serif, system-ui, sans-serif; cursor: pointer; }
17
+ .ms-airport-hero__directions button[aria-pressed='true'] { color: var(--airport-accent); border-bottom-color: var(--airport-accent); }
18
+ .ms-airport-hero__directions button:hover { color: #f0ecdd; }
19
+ .ms-airport-hero__window { color: #bebfac; font: 11px/1.5 ui-monospace, monospace; font-variant-numeric: tabular-nums; margin: 8px 0; }
20
+ .ms-airport-hero button:focus-visible { outline: 2px solid var(--airport-accent); outline-offset: 4px; }
21
+ .ms-airport-hero .ms-flap { font-size: 17px; }
22
+ .ms-airport-hero .ms-split-flap-board__table th { color: #c4c3b0; font-size: 11px; letter-spacing: .12em; padding-bottom: 5px; }
23
+ .ms-airport-hero__message { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 30px 0; margin: 0; font-size: 14px; color: #c5c7b6; }
24
+ .ms-airport-hero__message button { background: #30352a; border: 1px solid #666b50; border-radius: 4px; color: var(--airport-accent); padding: 6px 12px; font: inherit; cursor: pointer; }
25
+ .ms-airport-hero__note { color: #b8baaa; font-size: 11px; line-height: 1.6; margin-top: 14px; }
26
+ @container (max-width: 600px) {
27
+ .ms-airport-hero__identity { grid-template-columns: auto minmax(0, 1fr); gap: 16px; }
28
+ .ms-airport-hero__clock { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 0 0; border-left: 0; border-top: 1px solid #797c6155; text-align: left; }
29
+ .ms-airport-hero__clock-value { margin-top: 0; font-size: 32px; }
30
+ }
31
+ @container (max-width: 440px) {
32
+ .ms-airport-hero__board-header { gap: 4px; }
33
+ .ms-airport-hero__directions { width: 100%; gap: 20px; }
34
+ .ms-airport-hero__window { margin: 6px 0 10px; }
35
+ }
36
+ .ms-airport-board__modes { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; color: #b8baaa; font: 12px/1.5 ui-sans-serif, system-ui, sans-serif; }
37
+ .ms-airport-board__modes button, .ms-airport-board__unavailable button { min-height: 44px; padding: 8px 16px; border: 1px solid #4b4d40; border-radius: 6px; color: #f0ecdd; background: #1d211c; font: inherit; cursor: pointer; }
38
+ .ms-airport-board__modes button[aria-pressed='true'] { border-color: #edc96b; color: #edc96b; }
39
+ .ms-airport-board__modes button:disabled { opacity: .5; cursor: default; }
40
+ .ms-airport-board__modes button:focus-visible, .ms-airport-board__unavailable button:focus-visible { outline: 2px solid #edc96b; outline-offset: 3px; }
41
+ .ms-airport-board__unavailable { padding: 28px; border: 1px solid #4b4d40; border-radius: 12px; color: #f0ecdd; background: #1d211c; font: 14px/1.6 ui-sans-serif, system-ui, sans-serif; }
42
+ .ms-airport-board__detail { color: #b8baaa; font: 13px/1.6 ui-sans-serif, system-ui, sans-serif; overflow-wrap: anywhere; }
43
+
44
+ /* Shared compact presentation, responsive to card width rather than the window. */
45
+ .ms-airport-hero[data-density='compact'] { padding: 12px; }
46
+ .ms-airport-hero[data-density='compact'] .ms-airport-hero__identity { padding: 8px 0; gap: 12px; }
47
+ .ms-airport-hero[data-density='compact'] .ms-airport-hero__code { font-size: 40px; }
48
+ .ms-airport-hero[data-density='compact'] .ms-airport-hero__identity h2 { font-size: 20px; }
49
+ .ms-airport-hero[data-density='compact'] .ms-airport-hero__clock-value { font-size: 28px; }
50
+ .ms-airport-hero[data-density='compact'] .ms-airport-hero__directions { margin-bottom: 8px; }
51
+ .ms-airport-hero[data-density='compact'] .ms-airport-hero__directions button { padding: 6px 0 8px; }
52
+ .ms-airport-hero[data-density='compact'] .ms-airport-hero__window { margin-bottom: 8px; }
53
+ .ms-airport-hero[data-density='compact'] .ms-split-flap-board { padding: 6px 8px 8px; }
54
+ .ms-airport-hero[data-density='compact'] .ms-split-flap-board__table { border-spacing: 0 4px; }
55
+ .ms-airport-hero[data-density='compact'] .ms-split-flap-board__select { min-height: 28px; }
56
+ .ms-airport-hero[data-density='compact'] .ms-flap { font-size: 13px; }
57
+ .ms-airport-hero[data-density='compact'] .ms-airport-hero__note { margin-top: 8px; font-size: 10px; line-height: 1.4; }
58
+ .ms-airport-hero[data-density='compact'] .ms-airport-hero__note a { color: inherit; }
59
+ @container (min-width: 441px) {
60
+ .ms-airport-hero[data-density='compact'] .ms-airport-hero__identity { grid-template-columns: auto minmax(0, 1fr) auto; }
61
+ .ms-airport-hero[data-density='compact'] .ms-airport-hero__clock { grid-column: auto; display: block; padding: 0 0 0 12px; border-top: 0; border-left: 1px solid #797c6155; text-align: right; }
62
+ }
63
+ @container (max-width: 440px) {
64
+ .ms-airport-hero[data-density='compact'] .ms-airport-hero__identity h2 { font-size: 16px; }
65
+ }
66
+ @media (pointer: coarse) {
67
+ .ms-airport-hero[data-density='compact'] .ms-split-flap-board__select { min-height: 44px; }
68
+ }
@@ -0,0 +1,49 @@
1
+ .ms-dot-matrix-board {
2
+ --matrix-ink: #ffb340;
3
+ --matrix-unlit: #3c2b1260;
4
+ box-sizing: border-box;
5
+ display: flex;
6
+ flex-direction: column;
7
+ width: 100%;
8
+ height: 320px;
9
+ min-width: 0;
10
+ min-height: 0;
11
+ padding: 16px;
12
+ color: var(--matrix-ink);
13
+ background: linear-gradient(115deg, #222523, #111412 60%);
14
+ border: 1px solid #3c403b;
15
+ border-radius: 5px;
16
+ box-shadow: inset 0 1px #ffffff12, 0 8px 24px #0003;
17
+ }
18
+ .ms-dot-matrix-board * { box-sizing: border-box; }
19
+ .ms-dot-matrix-board__head { display: flex; flex: 0 0 28px; color: #c7c9c1; font: 500 12px/20px ui-sans-serif, system-ui, sans-serif; }
20
+ .ms-dot-matrix-board__head > span { padding: 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
21
+ .ms-dot-matrix-board__screen { flex: 1; position: relative; min-height: 0; min-width: 0; background: #080b09; box-shadow: inset 0 2px 8px #000; overflow: hidden; }
22
+ .ms-dot-matrix-board table { table-layout: fixed; width: 100%; height: 100%; border-collapse: collapse; text-align: left; }
23
+ .ms-dot-matrix-board td { padding: 0 8px; border-bottom: 1px solid #b4ad7d12; overflow: hidden; }
24
+ .ms-dot-matrix-board tr:last-child td { border-bottom: 0; }
25
+ .ms-matrix-text { display: block; position: relative; width: 100%; }
26
+ .ms-matrix-text svg { display: block; width: 100%; height: var(--matrix-text-height); filter: drop-shadow(0 0 2px #ff9e292e); }
27
+ .ms-matrix-text__unlit { color: var(--matrix-unlit); }
28
+ .ms-matrix-text pattern circle { fill: var(--matrix-unlit); }
29
+ .ms-dot-matrix-board [data-tone='accent'] td:last-child { color: #ffd895; }
30
+ .ms-dot-matrix-board [data-tone='warning'] td:last-child { color: #ff8060; }
31
+ .ms-dot-matrix-board [data-selected] { background: #ffb34016; box-shadow: inset 2px 0 var(--matrix-ink); }
32
+ .ms-dot-matrix-board button { display: block; width: 100%; padding: 0; border: 0; border-radius: 0; background: none; color: inherit; cursor: pointer; font: inherit; }
33
+ .ms-dot-matrix-board button:hover { color: #ffe2ac; }
34
+ .ms-dot-matrix-board button:focus-visible { outline: 2px solid var(--matrix-ink); outline-offset: 3px; }
35
+ .ms-dot-matrix-board__message { position: absolute; inset: 0; display: grid; place-content: center; padding: 16px; overflow: auto; text-align: center; color: var(--matrix-ink); font: 15px/1.6 ui-monospace, monospace; background: #080b09e8; }
36
+ .ms-dot-matrix-board__footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex: 0 0 38px; min-width: 0; padding: 8px; }
37
+ .ms-dot-matrix-board__footer > .ms-matrix-text { width: 60%; min-width: 0; }
38
+ .ms-dot-matrix-board__footer svg { height: 18px; }
39
+ .ms-dot-matrix-board__clock { width: 34%; max-width: 160px; margin-left: auto; min-width: 0; }
40
+ .ms-dot-matrix-board__clock svg { height: 22px; }
41
+ .ms-dot-matrix-board__detail td { padding-left: 20px; }
42
+ .ms-dot-matrix-board[data-variant='uk-rail'] { --matrix-ink: #f6cd46; --matrix-unlit: #51400c60; border-radius: 2px; border: 1px solid #333431; background: #10120f; box-shadow: inset 0 0 0 5px #191b18, 0 12px 32px #0004; padding: 20px; }
43
+ .ms-dot-matrix-board[data-variant='uk-rail'] .ms-dot-matrix-board__head { flex-basis: 42px; align-items: center; color: var(--matrix-ink); background: #0a0c08; border-bottom: 5px solid #10120f; }
44
+ .ms-dot-matrix-board[data-variant='uk-rail'] .ms-dot-matrix-board__head svg { height: 18px; }
45
+ .ms-dot-matrix-board[data-variant='uk-rail'] .ms-dot-matrix-board__heading svg { height: 24px; }
46
+ .ms-dot-matrix-board[data-variant='uk-rail'] td { border-color: #10120f; border-bottom-width: 3px; background: #c7a53208; }
47
+ .ms-dot-matrix-board[data-variant='uk-rail'] [data-tone] td:last-child { color: var(--matrix-ink); }
48
+ .ms-dot-matrix-board[data-variant='uk-rail'] .ms-dot-matrix-board__footer { color: var(--matrix-ink); background: #0a0c08; border-top: 5px solid #10120f; }
49
+ .ms-matrix-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@@ -0,0 +1,2 @@
1
+ /** Unsupported scripts retain their original text through the SVG text fallback. */
2
+ export declare function matrixPath(value: string): string | undefined;
@@ -0,0 +1,61 @@
1
+ // Original 5 × 7 bitmap alphabet. Each integer is one row, most significant bit first.
2
+ const glyphs = {
3
+ a: [0, 0, 14, 1, 15, 17, 15], b: [16, 16, 30, 17, 17, 17, 30],
4
+ c: [0, 0, 14, 16, 16, 17, 14], d: [1, 1, 15, 17, 17, 17, 15],
5
+ e: [0, 0, 14, 17, 31, 16, 14], f: [6, 9, 8, 28, 8, 8, 8],
6
+ g: [0, 15, 17, 17, 15, 1, 14], h: [16, 16, 30, 17, 17, 17, 17],
7
+ i: [4, 0, 12, 4, 4, 4, 14], j: [2, 0, 6, 2, 2, 18, 12],
8
+ k: [16, 16, 18, 20, 24, 20, 18], l: [12, 4, 4, 4, 4, 4, 14],
9
+ m: [0, 0, 26, 21, 21, 21, 21], n: [0, 0, 30, 17, 17, 17, 17],
10
+ o: [0, 0, 14, 17, 17, 17, 14], p: [0, 0, 30, 17, 30, 16, 16],
11
+ q: [0, 0, 15, 17, 15, 1, 1], r: [0, 0, 22, 25, 16, 16, 16],
12
+ s: [0, 0, 15, 16, 14, 1, 30], t: [8, 8, 28, 8, 8, 9, 6],
13
+ u: [0, 0, 17, 17, 17, 19, 13], v: [0, 0, 17, 17, 17, 10, 4],
14
+ w: [0, 0, 17, 17, 21, 21, 10], x: [0, 0, 17, 10, 4, 10, 17],
15
+ y: [0, 0, 17, 17, 15, 1, 14], z: [0, 0, 31, 2, 4, 8, 31],
16
+ '·': [0, 0, 0, 4, 0, 0, 0],
17
+ ' ': [0, 0, 0, 0, 0, 0, 0],
18
+ A: [14, 17, 17, 31, 17, 17, 17], B: [30, 17, 17, 30, 17, 17, 30],
19
+ C: [14, 17, 16, 16, 16, 17, 14], D: [30, 17, 17, 17, 17, 17, 30],
20
+ E: [31, 16, 16, 30, 16, 16, 31], F: [31, 16, 16, 30, 16, 16, 16],
21
+ G: [14, 17, 16, 23, 17, 17, 15], H: [17, 17, 17, 31, 17, 17, 17],
22
+ I: [14, 4, 4, 4, 4, 4, 14], J: [7, 2, 2, 2, 2, 18, 12],
23
+ K: [17, 18, 20, 24, 20, 18, 17], L: [16, 16, 16, 16, 16, 16, 31],
24
+ M: [17, 27, 21, 21, 17, 17, 17], N: [17, 25, 21, 19, 17, 17, 17],
25
+ O: [14, 17, 17, 17, 17, 17, 14], P: [30, 17, 17, 30, 16, 16, 16],
26
+ Q: [14, 17, 17, 17, 21, 18, 13], R: [30, 17, 17, 30, 20, 18, 17],
27
+ S: [15, 16, 16, 14, 1, 1, 30], T: [31, 4, 4, 4, 4, 4, 4],
28
+ U: [17, 17, 17, 17, 17, 17, 14], V: [17, 17, 17, 17, 17, 10, 4],
29
+ W: [17, 17, 17, 21, 21, 21, 10], X: [17, 17, 10, 4, 10, 17, 17],
30
+ Y: [17, 17, 10, 4, 4, 4, 4], Z: [31, 1, 2, 4, 8, 16, 31],
31
+ '0': [14, 17, 19, 21, 25, 17, 14], '1': [4, 12, 4, 4, 4, 4, 14],
32
+ '2': [14, 17, 1, 2, 4, 8, 31], '3': [30, 1, 1, 14, 1, 1, 30],
33
+ '4': [2, 6, 10, 18, 31, 2, 2], '5': [31, 16, 16, 30, 1, 1, 30],
34
+ '6': [14, 16, 16, 30, 17, 17, 14], '7': [31, 1, 2, 4, 8, 8, 8],
35
+ '8': [14, 17, 17, 14, 17, 17, 14], '9': [14, 17, 17, 15, 1, 1, 14],
36
+ '-': [0, 0, 0, 31, 0, 0, 0], '—': [0, 0, 0, 31, 0, 0, 0],
37
+ '.': [0, 0, 0, 0, 0, 12, 12], '…': [0, 0, 0, 0, 0, 0, 21],
38
+ ':': [0, 12, 12, 0, 12, 12, 0], '/': [1, 1, 2, 4, 8, 16, 16],
39
+ '+': [0, 4, 4, 31, 4, 4, 0], '&': [12, 18, 20, 8, 21, 18, 13],
40
+ "'": [4, 4, 8, 0, 0, 0, 0], '’': [4, 4, 8, 0, 0, 0, 0],
41
+ '(': [2, 4, 8, 8, 8, 4, 2], ')': [8, 4, 2, 2, 2, 4, 8],
42
+ '!': [4, 4, 4, 4, 4, 0, 4], '?': [14, 17, 1, 2, 4, 0, 4],
43
+ };
44
+ /** Unsupported scripts retain their original text through the SVG text fallback. */
45
+ export function matrixPath(value) {
46
+ let path = '';
47
+ for (const [index, character] of Array.from(value).entries()) {
48
+ const glyph = glyphs[character];
49
+ if (!glyph)
50
+ return undefined;
51
+ glyph.forEach((bits, y) => {
52
+ for (let x = 0; x < 5; x++) {
53
+ if (bits & (1 << (4 - x))) {
54
+ const cx = index * 6 + x + .5;
55
+ path += `M${cx - .36},${y + .5}a.36,.36 0 1,0 .72,0a.36,.36 0 1,0 -.72,0`;
56
+ }
57
+ }
58
+ });
59
+ }
60
+ return path;
61
+ }
@@ -0,0 +1,49 @@
1
+ .ms-sbb-board { --sbb-blue: #122b65; display: flex; flex-direction: column; min-width: 0; min-height: 0; width: 100%; background: var(--sbb-blue); color: #fff; border: 1px solid #5873a1; border-radius: 2px; font-family: Arial, Helvetica, sans-serif; container-type: inline-size; }
2
+ .ms-sbb-board__title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 20px 12px; flex-shrink: 0; }
3
+ .ms-sbb-board__title strong { font-size: clamp(20px, 4cqi, 30px); font-weight: 500; }
4
+ .ms-sbb-board__clock { font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
5
+ .ms-sbb-board__table { display: flex; flex-direction: column; flex: 1; min-height: 0; }
6
+ .ms-sbb-board__columns, .ms-sbb-board__row { display: grid; grid-template-columns: minmax(58px, .9fr) minmax(62px, .9fr) minmax(0, 4fr) minmax(48px, .6fr); column-gap: 14px; padding: 0 20px; }
7
+ .ms-sbb-board__columns { padding-bottom: 8px; font-size: 11px; color: #ccd8ef; border-bottom: 1px solid #7790b8; }
8
+ .ms-sbb-board__columns > :last-child { text-align: right; }
9
+ .ms-sbb-board__columns > div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
10
+ .ms-sbb-board__body { flex: 1; min-height: 0; position: relative; }
11
+ .ms-sbb-board__rows { display: grid; grid-template-rows: repeat(var(--sbb-row-count), minmax(0, 1fr)); height: 100%; }
12
+ .ms-sbb-board__row { border-bottom: 1px solid #637fa655; align-items: center; font-size: var(--sbb-font-size); line-height: 1.15; min-height: 0; }
13
+ .ms-sbb-board__row:nth-child(even) { background: #ffffff05; }
14
+ .ms-sbb-board__row > [role='cell'] { min-width: 0; max-height: 100%; overflow: hidden; }
15
+ .ms-sbb-board__row > [role='cell']:last-child { text-align: right; }
16
+ .ms-sbb-board__service { display: inline-block; max-width: 100%; padding: .12em .25em; font-size: .78em; font-weight: 700; border-radius: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
17
+ .ms-sbb-board__service[data-category='intercity'], .ms-sbb-board__service[data-category='international'] { background: #fff; color: #c90016; font-style: italic; }
18
+ .ms-sbb-board__service[data-category='regional'] { border: 1px solid #fff; }
19
+ .ms-sbb-board__service[data-category='suburban'] { background: #fff; color: #122b65; }
20
+ .ms-sbb-board__time { display: block; font-weight: 600; font-variant-numeric: tabular-nums; }
21
+ .ms-sbb-board__destination, .ms-sbb-board__details, .ms-sbb-board__expected, .ms-sbb-board__sector, .ms-sbb-board__platform { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
22
+ .ms-sbb-board__destination { font-weight: 600; }
23
+ .ms-sbb-board__details { margin-top: .2em; color: #d6e0f4; font-size: var(--sbb-detail-size); font-weight: 400; }
24
+ .ms-sbb-board__expected, .ms-sbb-board__sector { margin-top: .2em; font-size: var(--sbb-detail-size); font-weight: 400; }
25
+ .ms-sbb-board__row[data-tone='warning'] .ms-sbb-board__expected { color: #ffdc69; font-weight: 700; }
26
+ .ms-sbb-board__platform { font-size: 1.2em; font-weight: 600; }
27
+ .ms-sbb-board button { display: block; width: 100%; text-align: left; border: 0; border-radius: 0; padding: 0; color: inherit; background: none; font: inherit; cursor: pointer; }
28
+ .ms-sbb-board button:hover .ms-sbb-board__destination { text-decoration: underline; }
29
+ .ms-sbb-board button:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
30
+ .ms-sbb-board__row[data-selected] { background: #ffffff20; box-shadow: inset 3px 0 #fff; }
31
+ .ms-sbb-board__message { position: absolute; inset: 0; display: grid; place-content: center; padding: 16px; overflow: auto; background: var(--sbb-blue); font-size: 14px; line-height: 1.5; text-align: center; }
32
+ .ms-sbb-board__footer { padding: 10px 20px; font-size: 11px; color: #d6e0f4; flex-shrink: 0; }
33
+ @container (max-width: 480px) {
34
+ .ms-sbb-board__columns, .ms-sbb-board__row { grid-template-columns: 44px 46px minmax(0, 1fr) 36px; column-gap: 8px; padding-left: 10px; padding-right: 10px; }
35
+ .ms-sbb-board__title { padding: 12px 10px; }
36
+ .ms-sbb-board__clock { font-size: 14px; }
37
+ .ms-sbb-board__row { font-size: min(var(--sbb-font-size), 15px); }
38
+ }
39
+ @container (max-width: 360px) {
40
+ .ms-sbb-board__columns, .ms-sbb-board__row { grid-template-columns: 46px minmax(0, 1fr) 32px; grid-template-rows: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: 8px; }
41
+ .ms-sbb-board__columns > :nth-child(1), .ms-sbb-board__row > :nth-child(1) { grid-column: 1; grid-row: 2; align-self: start; }
42
+ .ms-sbb-board__columns > :nth-child(2), .ms-sbb-board__row > :nth-child(2) { grid-column: 1; grid-row: 1; align-self: end; }
43
+ .ms-sbb-board__columns > :nth-child(3), .ms-sbb-board__row > :nth-child(3) { grid-column: 2; grid-row: 1 / 3; }
44
+ .ms-sbb-board__columns > :nth-child(4), .ms-sbb-board__row > :nth-child(4) { grid-column: 3; grid-row: 1 / 3; }
45
+ .ms-sbb-board__columns { align-items: center; font-size: 10px; line-height: 1.2; }
46
+ .ms-sbb-board__service { font-size: .7em; }
47
+ .ms-sbb-board__expected { font-size: min(var(--sbb-detail-size), 10px); margin-top: 0; }
48
+ .ms-sbb-board__title { flex-wrap: wrap; gap: 4px 12px; }
49
+ }
@@ -0,0 +1,45 @@
1
+ .ms-split-flap-board {
2
+ --board-ink: #eee9d7;
3
+ --board-accent: var(--airport-accent, #edc96b);
4
+ color: var(--board-ink);
5
+ background: #111311;
6
+ padding: 10px 14px 18px;
7
+ border: 1px solid #383a32;
8
+ border-radius: 5px;
9
+ box-shadow: inset 0 2px 10px #0008, 0 2px 0 #ffffff08;
10
+ min-width: 0;
11
+ }
12
+ .ms-split-flap-board *, .ms-airport-hero * { box-sizing: border-box; }
13
+ .ms-split-flap-board__scroll { position: relative; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #656454 #171917; padding: 4px 1px 8px; }
14
+ .ms-split-flap-board__table { border-collapse: separate; border-spacing: 0 7px; width: 100%; text-align: left; }
15
+ .ms-split-flap-board__table th { color: #aaa996; font: 500 10px/1.5 ui-sans-serif, system-ui, sans-serif; text-transform: uppercase; letter-spacing: .14em; padding: 0 12px 3px 0; }
16
+ .ms-split-flap-board__table td { padding: 0 12px 0 0; }
17
+ .ms-split-flap-board__table :is(th, td):last-child { padding-right: 0; }
18
+ .ms-flap-text { position: relative; display: inline-block; vertical-align: middle; }
19
+ .ms-flap-text__tiles { display: flex; gap: 2px; white-space: pre; }
20
+ .ms-flap { position: relative; display: block; width: .72em; height: 1.65em; perspective: 100px; font: 600 15px/1.65 ui-monospace, 'SFMono-Regular', Consolas, monospace; }
21
+ .ms-flap__face { position: relative; display: block; height: 100%; text-align: center; background: linear-gradient(#30332e 49%, #1d201c 50%); border-radius: 2px; box-shadow: inset 0 1px #ffffff16, 0 1px 2px #000; animation: ms-flap-turn 135ms ease-in-out 5 backwards; animation-delay: calc(var(--flap-delay) * .75); }
22
+ .ms-flap__drum { position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: ms-flap-reveal 675ms step-end both; animation-delay: calc(var(--flap-delay) * .75); }
23
+ .ms-flap__drum::before { content: 'A'; animation: ms-flap-characters 1440ms step-end both; animation-delay: calc(var(--flap-phase) * .75); }
24
+ .ms-split-flap-board[data-loading] .ms-flap__face { animation: ms-flap-turn 240ms ease-in-out infinite; animation-delay: var(--flap-motion-phase); }
25
+ .ms-split-flap-board[data-loading] .ms-flap__drum { animation: none; }
26
+ .ms-split-flap-board[data-loading] .ms-flap__drum::before { animation-duration: 1920ms; animation-delay: var(--flap-phase); animation-iteration-count: infinite; }
27
+ .ms-flap::after { content: ''; position: absolute; top: 50%; left: 0; right: 0; border-top: 1px solid #080a08; box-shadow: 0 1px #ffffff09; pointer-events: none; }
28
+ .ms-split-flap-board__table [data-tone='accent'] td:last-child { color: var(--board-accent); }
29
+ .ms-split-flap-board__table [data-tone='warning'] td:last-child { color: #ffb185; }
30
+ .ms-split-flap-board__table [data-selected] .ms-flap__face { box-shadow: inset 0 -2px var(--board-accent); }
31
+ .ms-split-flap-board__select { display: block; padding: 0; border: 0; border-radius: 2px; color: inherit; background: none; cursor: pointer; }
32
+ .ms-split-flap-board__select:hover { color: var(--board-accent); }
33
+ .ms-split-flap-board :focus-visible { outline: 2px solid var(--board-accent); outline-offset: 3px; }
34
+ .ms-split-flap-board__loading { margin: 8px 0 0; color: #bbbbaa; font: 12px/1.5 ui-sans-serif, system-ui, sans-serif; }
35
+ .ms-board-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
36
+ @keyframes ms-flap-turn { 0% { transform: rotateX(-80deg); } 65%, 100% { transform: rotateX(0); } }
37
+ @keyframes ms-flap-reveal { 0% { visibility: visible; } 100% { visibility: hidden; } }
38
+ @keyframes ms-flap-characters {
39
+ 0% { content: 'A'; } 12.5% { content: 'E'; } 25% { content: 'K'; } 37.5% { content: 'N'; }
40
+ 50% { content: 'R'; } 62.5% { content: 'S'; } 75% { content: '2'; } 87.5%, 100% { content: '7'; }
41
+ }
42
+ @media (prefers-reduced-motion: reduce) {
43
+ .ms-split-flap-board .ms-flap .ms-flap__face, .ms-split-flap-board .ms-flap .ms-flap__drum, .ms-split-flap-board .ms-flap .ms-flap__drum::before { animation: none; }
44
+ .ms-split-flap-board .ms-flap__drum { display: none; }
45
+ }
@@ -0,0 +1,8 @@
1
+ @import "./timeline-scrubber.css";
2
+ .ms-study-timeline{--ms-timeline-ink:#dce7eb;--ms-timeline-muted:#8ba3af;--ms-timeline-accent:#e2bc7c;--ms-timeline-chart:#668b9e;--ms-timeline-height:48px;min-width:0;color:var(--ms-timeline-ink);font:10px/1.5 ui-monospace,monospace}
3
+ .ms-study-timeline__heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-height:20px}.ms-study-timeline__reading{white-space:nowrap;color:var(--ms-timeline-accent);font-variant-numeric:tabular-nums}
4
+ .ms-study-timeline__plot{position:relative;height:calc(var(--ms-timeline-height) + 44px);margin-top:4px;isolation:isolate}.ms-study-timeline__graph{position:absolute;inset:4px 22px 22px;border-bottom:1px solid var(--ms-timeline-muted);pointer-events:none}.ms-study-timeline svg{display:block;width:100%;height:100%;overflow:visible}.ms-study-timeline rect{fill:var(--ms-timeline-chart)}.ms-study-timeline polyline,.ms-study-timeline line{fill:none;stroke:var(--ms-timeline-chart);stroke-width:1.5;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}
5
+ .ms-study-timeline__cursor{position:absolute;top:0;bottom:-1px;width:1px;background:var(--ms-timeline-accent);transform:translateX(-.5px)}
6
+ .ms-study-timeline__ticks{display:flex;justify-content:space-between;gap:8px;padding:0 22px;font-size:9px;font-variant-numeric:tabular-nums;color:var(--ms-timeline-muted)}.ms-study-timeline__footnote{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 14px;margin-top:8px;font-size:9px;color:var(--ms-timeline-muted)}.ms-study-timeline__footnote>span:last-child{margin-left:auto}.ms-study-timeline__empty{position:absolute;inset:0;display:grid;place-items:center;color:var(--ms-timeline-muted);font-size:10px}.ms-study-timeline[data-disabled] input{cursor:default}
7
+ @media(max-width:480px){.ms-study-timeline__heading{gap:4px;flex-wrap:wrap;font-size:9px}.ms-study-timeline__ticks,.ms-study-timeline__footnote{font-size:8px}}
8
+ @media(forced-colors:active){.ms-study-timeline{--ms-timeline-ink:CanvasText;--ms-timeline-muted:CanvasText;--ms-timeline-accent:Highlight;--ms-timeline-chart:CanvasText}}
@@ -0,0 +1,16 @@
1
+ .ms-timeline-scrubber{position:relative;min-width:44px;min-height:44px;direction:ltr;isolation:isolate}
2
+ .ms-timeline-scrubber__rail{position:absolute;left:22px;right:22px;bottom:calc(22px - var(--ms-timeline-track-height,8px)/2);height:var(--ms-timeline-track-height,8px);border-radius:999px;background:var(--ms-timeline-track,#334650);box-shadow:inset 0 0 0 1px var(--ms-timeline-track-border,#627780);pointer-events:none}
3
+ .ms-timeline-scrubber__fill{position:absolute;inset:0 auto 0 0;width:var(--ms-timeline-position);border-radius:inherit;background:var(--ms-timeline-accent,#acc9b9)}
4
+ .ms-timeline-scrubber__thumb{position:absolute;left:var(--ms-timeline-position);top:50%;width:var(--ms-timeline-marker-size,20px);height:var(--ms-timeline-marker-size,20px);box-sizing:border-box;border:2px solid var(--ms-timeline-accent,#acc9b9);border-radius:50%;background:var(--ms-timeline-accent,#acc9b9);transform:translate(-50%,-50%);box-shadow:0 0 0 var(--ms-timeline-halo-width,3px) var(--ms-timeline-halo,#0c172080)}
5
+ .ms-timeline-scrubber input[type=range]{position:absolute;inset:0;display:block;box-sizing:border-box;width:100%;height:100%;min-height:44px;margin:0;padding:0;border:0;opacity:0;cursor:grab;touch-action:pan-y;appearance:none;-webkit-appearance:none;direction:ltr}
6
+ .ms-timeline-scrubber input[type=range]:active{cursor:grabbing}
7
+ .ms-timeline-scrubber input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;box-sizing:border-box;width:44px;height:44px;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none}
8
+ .ms-timeline-scrubber input[type=range]::-moz-range-thumb{width:44px;height:44px;box-sizing:border-box;border:0;border-radius:0}
9
+ .ms-timeline-scrubber:focus-within{outline:2px solid var(--ms-timeline-accent,#acc9b9);outline-offset:2px;border-radius:4px}
10
+ .ms-timeline-scrubber[data-disabled]{opacity:.55}.ms-timeline-scrubber[data-disabled] input{cursor:default}
11
+ @media(forced-colors:active){.ms-timeline-scrubber{--ms-timeline-accent:Highlight;--ms-timeline-track:Canvas;--ms-timeline-track-border:CanvasText;--ms-timeline-halo:Canvas}.ms-timeline-scrubber__rail{border:1px solid CanvasText;box-sizing:border-box}.ms-timeline-scrubber__fill,.ms-timeline-scrubber__thumb{forced-color-adjust:none}}
12
+
13
+ .ms-timeline-scrubber input[type=range]::-webkit-slider-runnable-track{height:44px;border:0;background:transparent}
14
+ .ms-timeline-scrubber input[type=range]::-moz-range-track{height:44px;border:0;background:transparent}
15
+
16
+ .ms-timeline-scrubber input[type=range]:disabled{opacity:0;cursor:default}
@@ -0,0 +1,39 @@
1
+ @import './dot-matrix-board.css';
2
+ @import './split-flap-board.css';
3
+ @import './sbb-departure-board.css';
4
+
5
+ .ms-bus-stop-hero, .ms-rail-station-hero { box-sizing: border-box; min-width: 0; container-type: inline-size; padding: clamp(12px, 4%, 24px); font-family: ui-sans-serif, system-ui, sans-serif; }
6
+ .ms-bus-stop-hero *, .ms-rail-station-hero * { box-sizing: border-box; }
7
+ .ms-bus-stop-hero { color: #e8ebe2; background: #2b3532; border: 1px solid #56645d; border-radius: 6px; }
8
+ .ms-bus-stop-hero__identity { display: flex; align-items: center; gap: 18px; padding: 4px 0 24px; }
9
+ .ms-bus-stop-hero__identity > div { min-width: 0; }
10
+ .ms-bus-stop-hero__identity p { margin: 0; color: #b9c7be; font-size: 12px; line-height: 1.6; }
11
+ .ms-bus-stop-hero__identity h2 { margin: 4px 0; font-size: clamp(24px, 5cqi, 40px); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; overflow-wrap: anywhere; }
12
+ .ms-bus-stop-hero__symbol { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 58px; background: #dfe7d9; color: #2b3532; border-radius: 2px; }
13
+ .ms-bus-stop-hero__symbol svg { width: 32px; fill: none; stroke: currentColor; stroke-width: 2; }
14
+ .ms-bus-stop-hero__code { margin-left: auto; text-align: right; flex-shrink: 0; }
15
+ .ms-bus-stop-hero__code span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
16
+ .ms-bus-stop-hero__code strong { font-size: 28px; line-height: 1.2; font-weight: 500; }
17
+ .ms-rail-station-hero { color: #f3f0e3; background: linear-gradient(120deg, #1d272c, #11191d); border: 1px solid #425057; border-top: 4px solid #d0b874; border-radius: 3px; }
18
+ .ms-rail-station-hero__masthead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; color: #c9c8b9; font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }
19
+ .ms-rail-station-hero__masthead strong { padding: 4px 7px; border: 1px solid #5a605b; font: 500 12px/1.2 ui-monospace, monospace; }
20
+ .ms-rail-station-hero__identity { display: flex; align-items: center; gap: 18px; padding: 20px 0 24px; }
21
+ .ms-rail-station-hero__identity > span { flex-shrink: 0; width: 42px; color: #e4d7b2; }
22
+ .ms-rail-station-hero__identity svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 3; }
23
+ .ms-rail-station-hero__identity h2 { margin: 0; font-size: clamp(25px, 5cqi, 42px); line-height: 1.1; letter-spacing: -.035em; font-weight: 500; overflow-wrap: anywhere; }
24
+ .ms-rail-station-hero[data-presentation='sbb'] { background: #0c1730; border-color: #405375; border-top: 4px solid #eb001b; }
25
+ .ms-rail-station-hero[data-presentation='sbb'] .ms-rail-station-hero__identity > span { width: 44px; height: 40px; padding: 5px; color: #fff; background: #d70019; }
26
+ .ms-rail-station-hero[data-presentation='sbb'] .ms-rail-station-hero__masthead { color: #b7c6e0; }
27
+ .ms-transport-hero__note { margin-top: 16px; color: #b8c0b9; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
28
+ .ms-transport-hero__error { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; min-height: 140px; padding: 24px; background: #111713; color: #ece8d6; }
29
+ .ms-transport-hero__error button { min-height: 40px; padding: 8px 16px; font: inherit; background: #29352c; color: inherit; border: 1px solid #627465; border-radius: 3px; cursor: pointer; }
30
+ .ms-transport-hero__error button:focus-visible { outline: 2px solid #f6cd46; outline-offset: 3px; }
31
+ .ms-transport-hero__flap { overflow: auto; min-width: 0; }
32
+ .ms-transport-hero__flap-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 12px 0; font: 12px/1.5 ui-monospace, monospace; color: #d8d6c1; }
33
+ @container (max-width: 440px) {
34
+ .ms-bus-stop-hero__identity, .ms-rail-station-hero__identity { gap: 12px; }
35
+ .ms-bus-stop-hero__symbol { width: 36px; height: 46px; }
36
+ .ms-rail-station-hero__identity > span { width: 32px; }
37
+ .ms-bus-stop-hero__code strong { font-size: 20px; }
38
+ .ms-rail-station-hero .ms-dot-matrix-board { padding: 12px 8px; }
39
+ }
@@ -0,0 +1,64 @@
1
+ .ms-vehicle-hero {
2
+ --vehicle-bg: #101820; --vehicle-panel: #070b10; --vehicle-ink: #f1b94f;
3
+ --vehicle-text: #f4f4ed; --vehicle-muted: #a9b2ba; --vehicle-line: #33404b;
4
+ --vehicle-badge: #183b55; --vehicle-badge-ink: #fff;
5
+ container-type: inline-size; width: 100%; min-width: 0; overflow: hidden;
6
+ border: 1px solid var(--vehicle-line); border-radius: 8px;
7
+ background: var(--vehicle-bg); color: var(--vehicle-text); font: 16px/1.4 Arial, Helvetica, sans-serif;
8
+ }
9
+ .ms-vehicle-hero, .ms-vehicle-hero * { box-sizing: border-box; }
10
+ .ms-vehicle-hero[data-presentation="uk-bus"] {
11
+ --vehicle-bg: #1a201d; --vehicle-panel: #080d09; --vehicle-ink: #ffbd59;
12
+ --vehicle-badge: #ffbd59; --vehicle-badge-ink: #10150e; --vehicle-line: #3c473d;
13
+ }
14
+ .ms-vehicle-hero[data-presentation="sbb"] {
15
+ --vehicle-bg: #fff; --vehicle-panel: #123579; --vehicle-ink: #fff; --vehicle-text: #162846;
16
+ --vehicle-muted: #54647c; --vehicle-line: #d5dce6; --vehicle-badge: #eb0000; --vehicle-badge-ink: #fff;
17
+ border-radius: 2px;
18
+ }
19
+ .ms-vehicle-hero[data-presentation="yellow-bus"] {
20
+ --vehicle-bg: #fffcf3; --vehicle-panel: #ffdc00; --vehicle-ink: #202318; --vehicle-text: #202318;
21
+ --vehicle-muted: #62624e; --vehicle-line: #d9d5bd; --vehicle-badge: #202318; --vehicle-badge-ink: #ffdc00;
22
+ border-radius: 2px;
23
+ }
24
+ .ms-vehicle-hero__masthead { display: flex; justify-content: space-between; gap: 12px; padding: 15px 24px; color: var(--vehicle-muted); font-size: 12px; font-variant-numeric: tabular-nums; border-bottom: 1px solid var(--vehicle-line); }
25
+ .ms-vehicle-hero__masthead span { overflow-wrap: anywhere; }
26
+ .ms-vehicle-hero__identity { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 20px; padding: 28px 24px; }
27
+ .ms-vehicle-hero__service { background: var(--vehicle-badge); color: var(--vehicle-badge-ink); font-size: clamp(22px, 6cqi, 36px); padding: 8px 12px; line-height: 1.1; max-width: 160px; overflow-wrap: anywhere; }
28
+ .ms-vehicle-hero__eyebrow { margin: 0 0 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
29
+ .ms-vehicle-hero__identity h2 { margin: 0; font-size: clamp(24px, 5.5cqi, 38px); line-height: 1.12; letter-spacing: -.035em; overflow-wrap: anywhere; font-weight: 600; }
30
+ .ms-vehicle-hero__description { color: var(--vehicle-muted); font-size: 13px; margin: 10px 0 0; overflow-wrap: anywhere; }
31
+ .ms-vehicle-hero__status { margin: 0 24px 20px; padding: 9px 12px; border-left: 3px solid var(--vehicle-muted); font-size: 13px; overflow-wrap: anywhere; }
32
+ .ms-vehicle-hero__status[data-tone="warning"] { border-color: #c87d00; background: #ffe6ae; color: #493000; }
33
+ .ms-vehicle-hero__next { background: var(--vehicle-panel); color: var(--vehicle-ink); padding: 20px 24px 24px; }
34
+ .ms-vehicle-hero__next .ms-vehicle-hero__stop-name { font-size: clamp(23px, 5cqi, 34px); line-height: 1.16; }
35
+ .ms-vehicle-hero[data-presentation^="uk-"] .ms-vehicle-hero__next { font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; }
36
+ .ms-vehicle-hero__stop { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 8px 0; min-width: 0; width: 100%; text-align: left; color: inherit; font: inherit; }
37
+ .ms-vehicle-hero button.ms-vehicle-hero__stop { border: 0; border-radius: 0; background: none; cursor: pointer; }
38
+ .ms-vehicle-hero button.ms-vehicle-hero__stop:hover { box-shadow: 0 1px currentColor; }
39
+ .ms-vehicle-hero button.ms-vehicle-hero__stop[aria-pressed="true"] { box-shadow: 0 2px currentColor; }
40
+ .ms-vehicle-hero button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
41
+ .ms-vehicle-hero__stop-name { min-width: 0; overflow-wrap: anywhere; font-size: 17px; font-weight: 600; }
42
+ .ms-vehicle-hero__stop small, .ms-vehicle-hero__detail { display: block; font: 12px/1.5 Arial, Helvetica, sans-serif; margin-top: 5px; }
43
+ .ms-vehicle-hero__timing { flex-shrink: 0; max-width: 40%; text-align: right; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
44
+ .ms-vehicle-hero__timing strong { font-size: 16px; font-weight: 500; }
45
+ .ms-vehicle-hero__following { padding: 24px; }
46
+ .ms-vehicle-hero__following > p { color: var(--vehicle-muted); }
47
+ .ms-vehicle-hero__following ol { list-style: none; padding: 0 0 0 20px; margin: 14px 0 0; }
48
+ .ms-vehicle-hero__following li { position: relative; padding: 2px 0 14px 14px; border-left: 2px solid var(--vehicle-line); }
49
+ .ms-vehicle-hero__following li:last-child { padding-bottom: 0; border-color: transparent; }
50
+ .ms-vehicle-hero__following li:last-child::after { content: ''; position: absolute; left: -2px; top: 0; width: 2px; height: 18px; background: var(--vehicle-line); }
51
+ .ms-vehicle-hero__following li::before { content: ''; position: absolute; width: 9px; height: 9px; border: 2px solid var(--vehicle-text); background: var(--vehicle-bg); border-radius: 50%; left: -5.5px; top: 18px; }
52
+ .ms-vehicle-hero__following li[data-terminus]::before { background: var(--vehicle-text); }
53
+ .ms-vehicle-hero__message { padding: 28px 24px; min-height: 120px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; overflow-wrap: anywhere; }
54
+ .ms-vehicle-hero__message button { padding: 8px 12px; border: 1px solid currentColor; color: inherit; background: transparent; font: inherit; cursor: pointer; }
55
+ .ms-vehicle-hero__note { padding: 16px 24px; border-top: 1px solid var(--vehicle-line); color: var(--vehicle-muted); font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
56
+ @container (max-width: 360px) {
57
+ .ms-vehicle-hero__identity { gap: 12px; padding: 22px 16px; }
58
+ .ms-vehicle-hero__service { max-width: 100px; padding: 8px; }
59
+ .ms-vehicle-hero__masthead, .ms-vehicle-hero__next, .ms-vehicle-hero__following, .ms-vehicle-hero__note, .ms-vehicle-hero__message { padding-left: 16px; padding-right: 16px; }
60
+ .ms-vehicle-hero__status { margin-left: 16px; margin-right: 16px; }
61
+ .ms-vehicle-hero__stop { gap: 10px; }
62
+ .ms-vehicle-hero__next .ms-vehicle-hero__stop { flex-wrap: wrap; }
63
+ .ms-vehicle-hero__next .ms-vehicle-hero__timing { max-width: 100%; text-align: left; }
64
+ }
@@ -0,0 +1,93 @@
1
+ Copyright 2020 The DM Mono Project Authors (https://www.github.com/googlefonts/dm-mono)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ http://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -0,0 +1,93 @@
1
+ Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ http://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
Binary file
Binary file
Binary file