From 493d9f816cf6176291af4d78a80eaab04e583a51 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 18 Aug 2016 15:45:10 +0200 Subject: merge dbf moreinfo stylesheet --- public/static/infoscreen.css | 15 +++++++++++---- templates/infoscreen.html.ep | 2 ++ 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/public/static/infoscreen.css b/public/static/infoscreen.css index 46df7d2..0663bf7 100644 --- a/public/static/infoscreen.css +++ b/public/static/infoscreen.css @@ -134,11 +134,8 @@ div.displayclean li .moreinfo { font-size:2.1em; position:fixed; top:0em; - padding-top: 1em; left:0em; - padding-left: 1em; right:0em; - padding-right: 1em; bottom:0em; background-color: white; z-index: 5; @@ -156,8 +153,18 @@ div.displayclean li .expanded-moreinfo { div.displayclean li .moreinfo .mheader { text-align: center; - background-color: #dddddd; font-size: 120%; + padding-top: 0.5em; + padding-bottom: 0.5em; + padding-left: 1em; + padding-right: 1em; + border-bottom: 0.1em dashed #cccccc; +} + +div.displayclean li .moreinfo .mfooter { + padding-top: 1em; + padding-left: 1em; + padding-right: 1em; } div.displayclean li .moreinfo tr.routepre { diff --git a/templates/infoscreen.html.ep b/templates/infoscreen.html.ep index 880180f..023560f 100644 --- a/templates/infoscreen.html.ep +++ b/templates/infoscreen.html.ep @@ -67,6 +67,7 @@ % } +
% if ($departure->isa('Travel::Status::DE::EFA::Result')) { Fahrplan: @@ -136,6 +137,7 @@ % }
% } +
% if ($departure->can('route_interesting') and $departure->route_interesting) { -- cgit v1.2.3