poprawki do SRJP

This commit is contained in:
2024-01-06 14:10:59 +01:00
parent cd5f489df7
commit 2348277b95
+11 -11
View File
@@ -283,12 +283,6 @@ export default defineComponent({
) )
.reverse(); .reverse();
} }
// timetableOuterRoutes() {
// // for (let i = 0; i < this.scheduleStops.length; i++) {}
// return [];
// }
}, },
methods: { methods: {
@@ -307,6 +301,8 @@ $confirmedClr: #4ae24a;
$stoppedClr: #f55f31; $stoppedClr: #f55f31;
$haltClr: #f8bb36; $haltClr: #f8bb36;
$blinkAnim: 0.5s ease-in-out alternate infinite blink;
@keyframes blink { @keyframes blink {
from { from {
border-color: $barClr; border-color: $barClr;
@@ -371,12 +367,12 @@ $haltClr: #f8bb36;
&[data-minor-stop-active='true'] { &[data-minor-stop-active='true'] {
.progress > .line { .progress > .line {
animation: 0.5s ease-in-out alternate infinite blink; animation: $blinkAnim;
} }
& + div { & + div {
.progress > .line_node-top { .progress > .line_node-top {
animation: 0.5s ease-in-out alternate infinite blink; animation: $blinkAnim;
} }
} }
} }
@@ -384,12 +380,16 @@ $haltClr: #f8bb36;
// Last confirmed outpost / checkpoint // Last confirmed outpost / checkpoint
&[data-last-confirmed='true'] { &[data-last-confirmed='true'] {
.progress > .line_connection { .progress > .line_connection {
animation: 0.5s ease-in-out alternate infinite blink; animation: $blinkAnim;
}
.progress > .line_node-bottom {
animation: $blinkAnim;
} }
& + div { & + div {
.progress > .line_node-top { .progress > .line_node-top {
animation: 0.5s ease-in-out alternate infinite blink; animation: $blinkAnim;
} }
} }
} }
@@ -416,7 +416,7 @@ $haltClr: #f8bb36;
} }
} }
// Track count node lines // Unused so far
&[data-track-count-departure='2'] { &[data-track-count-departure='2'] {
.progress > .line { .progress > .line {
width: 6px; width: 6px;