summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-08-08 18:09:17 +0200
committerDaniel Friesel <derf@finalrewind.org>2016-08-08 18:09:17 +0200
commitdb7a25b19f8e8b1fbe89fd65d312ad78ffa9aa35 (patch)
tree023c74b7a4841be327fabf83b606298fcf4e7713
parent13c52f896bfb5474386e32e563125363117d068c (diff)
less ugly regional and IC/ICE train style
-rw-r--r--public/static/default.css18
-rw-r--r--templates/clean.html.ep2
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 @@
% }
</div>
% }
- <div class="moreinfo">
+ <div class="moreinfo collapsed-moreinfo">
<div class="mheader">
<div>
% if ($departure->{train_no} or $departure->{train_line}) {