From 7769477508037837fca1467a3d93b53ccf6953f2 Mon Sep 17 00:00:00 2001 From: Spythere Date: Tue, 20 Aug 2024 00:14:44 +0200 Subject: [PATCH] chore: station stats styling --- src/components/StationsView/StationStats.vue | 43 ++++++++++++-------- src/components/TrainsView/TrainStats.vue | 21 +++------- src/styles/badge.scss | 11 +++++ src/styles/global.scss | 1 + 4 files changed, 45 insertions(+), 31 deletions(-) diff --git a/src/components/StationsView/StationStats.vue b/src/components/StationsView/StationStats.vue index fbd88e8..e195f0d 100644 --- a/src/components/StationsView/StationStats.vue +++ b/src/components/StationsView/StationStats.vue @@ -22,10 +22,10 @@
-
-
- {{ $t('station-stats.u-factor') }} +
-
+ +
  • {{ $t('station-stats.avg-timetable-count') }} {{ avgTimetableCount.toFixed(2) }} -
  • -
    + +
  • {{ $t('station-stats.single-track-count') }} {{ trackCount.oneWay }} ({{ trackCount.oneWayElectric }} ⚡) -
  • -
    + +
  • {{ $t('station-stats.double-track-count') }} {{ trackCount.twoWay }} ({{ trackCount.twoWayElectric }} ⚡) -
  • -
    + +
  • {{ $t('station-stats.cross-sceneries') }} {{ trackCount.crossTrack }} ({{ trackCount.crossTrackElectric }} ⚡) -
  • -
    + +
  • {{ $t('station-stats.open-spawns') }} {{ spawnCount.passenger }} - PAS / {{ spawnCount.freight }} - TOW / {{ spawnCount.loco }} - LUZ / {{ spawnCount.all }} - ALL -
  • -
    + +
    @@ -191,6 +191,7 @@ export default defineComponent({