summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-05-25 11:10:24 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2025-05-25 11:10:24 +0200
commit629eff2f03aa9357c57149f331771ac34dd4a018 (patch)
treee66e00f8a86890356d28f157e943ab7ff61a44a3
parent08d77279a5af8a600f2938794aa2019b59f6e3e5 (diff)
status card: add delimiter between main and supplementary content
-rw-r--r--sass/src/common/local.scss5
-rw-r--r--templates/_public_status_card.html.ep2
2 files changed, 6 insertions, 1 deletions
diff --git a/sass/src/common/local.scss b/sass/src/common/local.scss
index bffe9a6..a3789e2 100644
--- a/sass/src/common/local.scss
+++ b/sass/src/common/local.scss
@@ -275,6 +275,11 @@ ul.route-history > li {
}
}
+.status-card-progress-annot {
+ padding-bottom: 2ex;
+ border-bottom: 2px dashed #808080;
+}
+
@media screen and (max-width: 600px) {
.collection.departures li {
diff --git a/templates/_public_status_card.html.ep b/templates/_public_status_card.html.ep
index e8b6fbb..5cda2f0 100644
--- a/templates/_public_status_card.html.ep
+++ b/templates/_public_status_card.html.ep
@@ -64,7 +64,7 @@
<div class="determinate" style="width: <%= sprintf('%.2f', 100 * ($journey->{journey_completion} // 0)); %>%;"></div>
</div>
</div>
- <div>
+ <div class="status-card-progress-annot">
<div style="float: left;">
<b><%= $journey->{dep_name} %></b><br/>
<b><%= $journey->{real_departure}->strftime('%H:%M') %></b>