station board: make 'now' marker easier to distinguish

This commit is contained in:
Birte Kristina Friesel 2023-08-27 21:33:06 +02:00
parent f4d71b4d9f
commit 155ac555f1
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA
3 changed files with 9 additions and 4 deletions

View file

@ -71,3 +71,8 @@ ul.suggestions {
padding-bottom: 0.5rem;
}
}
table.departures tr.now td {
padding-top: 2em;
padding-bottom: 2em;
}

View file

@ -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>

View file

@ -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>