Loading sass/app.scss +14 −16 Original line number Diff line number Diff line Loading @@ -507,9 +507,10 @@ div.app li.cancelled { background-color: $cancelled-bg-color; } div.app li .countdown { div.app li .platform { background-color: transparent; font-size: 3em; font-weight: bold; position: absolute; right: 5px; bottom: 2px; Loading @@ -517,6 +518,10 @@ div.app li .countdown { color: $fg; } div.app li .changed-platform { color: $info-color; } div.app li .header { color:$fg; font-size:2em; Loading @@ -531,38 +536,31 @@ div.app li .head { border-bottom-width:0; } div.app li .countdown .delay { div.app li .time .delay { font-size:1em; color: $delay-color; background-color: transparent; padding-right:7px; padding-right: 1ex; } div.app li .countdown .undelay { div.app li .time .undelay { font-size:1em; color: $undelay-color; padding-right:7px; padding-right: 1ex; } div.app li .countdown .delaynorm { div.app li .time .delaynorm { font-size:0.9em; color: $delaynorm-color; padding-right:7px; padding-right: 1ex; } div.app li .countdown .undelaynorm { div.app li .time .undelaynorm { font-size:0.9em; color: $undelaynorm-color; padding-right:7px; padding-right: 1ex; } div.app li .countdown .platform { font-weight: bold; } div.app li .countdown .changed-platform { color: $info-color; } div.app li .time { background-color: transparent; Loading templates/app.html.ep +30 −32 Original line number Diff line number Diff line Loading @@ -94,26 +94,6 @@ % } <span class="time <%= ($show_realtime and $departure->{delay} and not $departure->{is_cancelled}) ? 'delayed' : q{} %>"> % if (param('detailed')) { % my $arrow = '→'; % if (not $departure->{sched_arrival}) { % $arrow = '↦'; % } % elsif (not $departure->{sched_departure}) { % $arrow = '⇥'; % } % if ($show_realtime) { %= ($departure->{arrival} // q{}) . $arrow . ($departure->{departure} // q{}) % } % else { %= ($departure->{sched_arrival} // q{}) . $arrow . ($departure->{sched_departure} // q{}) % } % } % else { %= $departure->{time} % } </span> <span class="countdown"> % if ($departure->{delay} and not $departure->{is_cancelled}) { % my $aria_delay = sprintf("Verspätung %d Minuten", $departure->{delay}); % if ($show_realtime) { Loading @@ -133,6 +113,25 @@ % } % } % } % if (param('detailed')) { % my $arrow = '→'; % if (not $departure->{sched_arrival}) { % $arrow = '↦'; % } % elsif (not $departure->{sched_departure}) { % $arrow = '⇥'; % } % if ($show_realtime) { %= ($departure->{arrival} // q{}) . $arrow . ($departure->{departure} // q{}) % } % else { %= ($departure->{sched_arrival} // q{}) . $arrow . ($departure->{sched_departure} // q{}) % } % } % else { %= $departure->{time} % } </span> % if (($departure->{scheduled_platform} and $departure->{platform} and % $departure->{scheduled_platform} ne $departure->{platform}) % or $departure->{changed_platform}) { Loading @@ -143,7 +142,6 @@ % } %= $departure->{platform} </span> </span> % if ($departure->{info} and length $departure->{info}) { <span class="info"> %= $departure->{info} Loading Loading
sass/app.scss +14 −16 Original line number Diff line number Diff line Loading @@ -507,9 +507,10 @@ div.app li.cancelled { background-color: $cancelled-bg-color; } div.app li .countdown { div.app li .platform { background-color: transparent; font-size: 3em; font-weight: bold; position: absolute; right: 5px; bottom: 2px; Loading @@ -517,6 +518,10 @@ div.app li .countdown { color: $fg; } div.app li .changed-platform { color: $info-color; } div.app li .header { color:$fg; font-size:2em; Loading @@ -531,38 +536,31 @@ div.app li .head { border-bottom-width:0; } div.app li .countdown .delay { div.app li .time .delay { font-size:1em; color: $delay-color; background-color: transparent; padding-right:7px; padding-right: 1ex; } div.app li .countdown .undelay { div.app li .time .undelay { font-size:1em; color: $undelay-color; padding-right:7px; padding-right: 1ex; } div.app li .countdown .delaynorm { div.app li .time .delaynorm { font-size:0.9em; color: $delaynorm-color; padding-right:7px; padding-right: 1ex; } div.app li .countdown .undelaynorm { div.app li .time .undelaynorm { font-size:0.9em; color: $undelaynorm-color; padding-right:7px; padding-right: 1ex; } div.app li .countdown .platform { font-weight: bold; } div.app li .countdown .changed-platform { color: $info-color; } div.app li .time { background-color: transparent; Loading
templates/app.html.ep +30 −32 Original line number Diff line number Diff line Loading @@ -94,26 +94,6 @@ % } <span class="time <%= ($show_realtime and $departure->{delay} and not $departure->{is_cancelled}) ? 'delayed' : q{} %>"> % if (param('detailed')) { % my $arrow = '→'; % if (not $departure->{sched_arrival}) { % $arrow = '↦'; % } % elsif (not $departure->{sched_departure}) { % $arrow = '⇥'; % } % if ($show_realtime) { %= ($departure->{arrival} // q{}) . $arrow . ($departure->{departure} // q{}) % } % else { %= ($departure->{sched_arrival} // q{}) . $arrow . ($departure->{sched_departure} // q{}) % } % } % else { %= $departure->{time} % } </span> <span class="countdown"> % if ($departure->{delay} and not $departure->{is_cancelled}) { % my $aria_delay = sprintf("Verspätung %d Minuten", $departure->{delay}); % if ($show_realtime) { Loading @@ -133,6 +113,25 @@ % } % } % } % if (param('detailed')) { % my $arrow = '→'; % if (not $departure->{sched_arrival}) { % $arrow = '↦'; % } % elsif (not $departure->{sched_departure}) { % $arrow = '⇥'; % } % if ($show_realtime) { %= ($departure->{arrival} // q{}) . $arrow . ($departure->{departure} // q{}) % } % else { %= ($departure->{sched_arrival} // q{}) . $arrow . ($departure->{sched_departure} // q{}) % } % } % else { %= $departure->{time} % } </span> % if (($departure->{scheduled_platform} and $departure->{platform} and % $departure->{scheduled_platform} ne $departure->{platform}) % or $departure->{changed_platform}) { Loading @@ -143,7 +142,6 @@ % } %= $departure->{platform} </span> </span> % if ($departure->{info} and length $departure->{info}) { <span class="info"> %= $departure->{info} Loading