From 155ac555f17fbacd084ca2317708c0d25b7e5477 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 27 Aug 2023 21:33:06 +0200 Subject: station board: make 'now' marker easier to distinguish --- sass/src/common/local.scss | 5 +++++ templates/_departures_hafas.html.ep | 4 ++-- templates/_departures_iris.html.ep | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/sass/src/common/local.scss b/sass/src/common/local.scss index a802474..4c52486 100644 --- a/sass/src/common/local.scss +++ b/sass/src/common/local.scss @@ -71,3 +71,8 @@ ul.suggestions { padding-bottom: 0.5rem; } } + +table.departures tr.now td { + padding-top: 2em; + padding-bottom: 2em; +} diff --git a/templates/_departures_hafas.html.ep b/templates/_departures_hafas.html.ep index 5b1a057..b737c05 100644 --- a/templates/_departures_hafas.html.ep +++ b/templates/_departures_hafas.html.ep @@ -1,4 +1,4 @@ - +
% my $orientation_bar_shown = param('train'); % my $now_epoch = now()->epoch; @@ -11,7 +11,7 @@ % } % if (not $orientation_bar_shown and $result->datetime->epoch < $now_epoch) { % $orientation_bar_shown = 1; - +
diff --git a/templates/_departures_iris.html.ep b/templates/_departures_iris.html.ep index 45b4e46..161d049 100644 --- a/templates/_departures_iris.html.ep +++ b/templates/_departures_iris.html.ep @@ -1,4 +1,4 @@ - +
% my $orientation_bar_shown = param('train'); % my $now_epoch = now()->epoch; @@ -11,7 +11,7 @@ % } % if (not $orientation_bar_shown and $result->departure->epoch < $now_epoch) { % $orientation_bar_shown = 1; - +
-- cgit v1.2.3