diff options
-rw-r--r-- | public/default.css | 31 | ||||
-rw-r--r-- | templates/clean.html.ep | 5 |
2 files changed, 5 insertions, 31 deletions
diff --git a/public/default.css b/public/default.css index 0021c38..e6f7ecd 100644 --- a/public/default.css +++ b/public/default.css @@ -108,42 +108,19 @@ div.displayclean li .info { } div.displayclean li .moreinfo { - position:fixed; - top:0em; - left:0em; - right:0em; - bottom:0em; - z-index: 4; - display: none; -} - -div.displayclean li .moreinfo-bgbox { - display: block; - position: absolute; - top:0em; - left:0em; - right:0em; - bottom:0em; - background-color: black; - z-index: 5; - opacity: 0.8; -} - -div.displayclean li .moreinfo-inner { - position:absolute; color:#000000; font-size:2.1em; + position:fixed; top:1em; left:1em; right:1em; min-height: 1em; max-height: 90%; background-color: white; - border: 0.2em solid black; - z-index: 6; + border: 0.2em inset #666666; + z-index: 5; + display: none; overflow: auto; - display: block; - opacity: 1; } div.displayclean li .collapsed-moreinfo { diff --git a/templates/clean.html.ep b/templates/clean.html.ep index f53b90b..61ee6d6 100644 --- a/templates/clean.html.ep +++ b/templates/clean.html.ep @@ -50,8 +50,6 @@ </span> % } <span class="moreinfo"> - <div class="moreinfo-bgbox"></div> - <span class="moreinfo-inner"> <div class="mheader"> <span class="train-line"><%= $departure->{train_type} // q{???} %></span><!-- --><span class="train-line"><%= $departure->{train_line} // q{} %></span> @@ -140,8 +138,7 @@ % } </ul> % } - </span> <!-- moreinfo-inner --> - </span> <!-- moreinfo --> + </span> % if ($departure->{info} and length $departure->{info}) { <span class="info"> %= $departure->{info} |