chore: added scenery offline icon in active train schedule; icon improvements

This commit is contained in:
2025-01-28 14:23:57 +01:00
parent c66ff8feed
commit 17bda9e6e7
7 changed files with 26 additions and 13 deletions
+10 -5
View File
@@ -4,7 +4,16 @@
:data-minor="stop.isSBL || (stop.nameRaw.endsWith(', po') && !stop.duration)"
>
<router-link v-if="/(, podg$|<strong>)/.test(stop.nameHtml)" :to="sceneryHref">
<b class="stop-name">{{ stop.nameRaw }}</b>
<b class="stop-name"
><i
v-if="!stop.isSceneryOnline"
class="fa-solid fa-ban"
data-tooltip-type="BaseTooltip"
:data-tooltip-content="$t('app.tooltip-scenery-offline')"
style="margin-right: 0.25rem; color: salmon"
></i>
{{ stop.nameRaw }}
</b>
</router-link>
<span v-else class="stop-name">{{ stop.nameRaw }}</span>
@@ -118,10 +127,6 @@ s {
&.misc {
background: gray;
}
i {
display: none;
}
}
.date {