From db7a25b19f8e8b1fbe89fd65d312ad78ffa9aa35 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 8 Aug 2016 18:09:17 +0200 Subject: less ugly regional and IC/ICE train style --- public/static/default.css | 18 ++++++++---------- templates/clean.html.ep | 2 +- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/public/static/default.css b/public/static/default.css index 8714d27..37ffe59 100644 --- a/public/static/default.css +++ b/public/static/default.css @@ -31,12 +31,13 @@ div.displayclean > ul > li { } div.displayclean li .line { - color:#FFFFFF; - background-color:#666666; font-size: 2.9em; position:absolute; - top:7px; + bottom:5px; left:2px; + max-width: 6em; + max-height: 3ex; + overflow: hidden; } div.displayclean li .line .trainno { @@ -63,24 +64,22 @@ div.displayclean li .sbahn { font-weight:bold; color:#FFFFFF; background-color:#006E10; - -webkit-border-radius: 30px; - -moz-border-radius: 30px; border-radius: 30px; padding:3px 6px 2px 6px; } div.displayclean li .bahn { font-weight:bold; - color:#FFFFFF; - background-color:#666666; + border-radius: 5px; padding:3px 5px 2px 5px; + background-color: #eeeeee; } div.displayclean li .fern { font-weight:bold; - color:#FFFFFF; - background-color:#995555; + border-radius: 5px; padding:3px 5px 2px 5px; + background-color: #ffdddd; } div.displayclean li .route { @@ -116,7 +115,6 @@ div.displayclean li .moreinfo { bottom:0em; background-color: white; z-index: 5; - display: none; overflow: auto; } diff --git a/templates/clean.html.ep b/templates/clean.html.ep index c917490..6f5c010 100644 --- a/templates/clean.html.ep +++ b/templates/clean.html.ep @@ -54,7 +54,7 @@ % } % } -
+