diff --git a/src/components/StationsView/StationCard.vue b/src/components/StationsView/StationCard.vue
index c474be8..63b6046 100644
--- a/src/components/StationsView/StationCard.vue
+++ b/src/components/StationsView/StationCard.vue
@@ -222,8 +222,11 @@ export default class StationCard extends styleMixin {
margin: 0.5em 0;
}
-.station-card {
- font-size: calc(0.5rem + 0.35vw);
+.card {
+ padding: 2em;
+ text-align: center;
+
+ font-size: calc(0.5rem + 0.4vw);
max-width: 800px;
@include bigScreen {
@@ -234,11 +237,6 @@ export default class StationCard extends styleMixin {
font-size: 0.8em;
width: 100%;
}
-}
-
-.card {
- padding: 2em;
- text-align: center;
user-select: none;
-moz-user-select: none;
diff --git a/src/components/TrainsView/TrainTable.vue b/src/components/TrainsView/TrainTable.vue
index e873b9c..83c36e2 100644
--- a/src/components/TrainsView/TrainTable.vue
+++ b/src/components/TrainsView/TrainTable.vue
@@ -50,7 +50,10 @@
:class="{'online': train.online}"
>{{train.online ? "ONLINE" : "OFFLINE"}}
-
+
@@ -157,7 +160,7 @@ export default class TrainTable extends Vue {
routeIcon: string = require("@/assets/icon-route.svg");
changeScheduleShowState(timetableId: number) {
- this.showedSchedule = timetableId;
+ this.showedSchedule = this.showedSchedule === timetableId ? 0 : timetableId;
}
onImageError(e: Event) {
@@ -176,7 +179,7 @@ export default class TrainTable extends Vue {
}
changeFocusedTrain(trainNo: number) {
- this.$emit('changeFocusedTrain', trainNo.toString());
+ // this.$emit('changeFocusedTrain', trainNo.toString());
}
}
@@ -276,10 +279,11 @@ export default class TrainTable extends Vue {
button {
margin-left: 10px;
- background: #144e75;
- border-radius: 1em;
+ border-radius: 0.7em;
padding: 0.2em 0.5em;
font-size: 0.85em;
+
+ border: 1px solid white;
}
}
}