diff --git a/sass/src/common/local.scss b/sass/src/common/local.scss index a8024749283bb543e86b8e3b47f59f49c363bb4f..4c52486179a5c7159015a329238729a4e00c891e 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 5b1a057833435c8429b17f92db52894e82230b0d..b737c05785c0b187d94531f6c1a3373341e23760 100644 --- a/templates/_departures_hafas.html.ep +++ b/templates/_departures_hafas.html.ep @@ -1,4 +1,4 @@ -<table class="striped"> +<table class="striped departures"> <tbody> % 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; - <tr> + <tr class="now"> <td> </td> <td> diff --git a/templates/_departures_iris.html.ep b/templates/_departures_iris.html.ep index 45b4e462670176b094d6827a5b159379a2422534..161d049db793bf0d123819d6d279e1990bc318ff 100644 --- a/templates/_departures_iris.html.ep +++ b/templates/_departures_iris.html.ep @@ -1,4 +1,4 @@ -<table class="striped"> +<table class="striped departures"> <tbody> % 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; - <tr> + <tr class="now"> <td> </td> <td>