diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-06-03 08:33:24 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-06-03 08:33:24 +0200 |
commit | b4639aae450ad4bb3783a540d0d5a556e5736fef (patch) | |
tree | 208c1265bb858192900a9f384ff7a468692ef9ff | |
parent | 45834b125140146f980216f925e524c2a1a13de6 (diff) |
Revert "playing around with opacity"
This reverts commit 45834b125140146f980216f925e524c2a1a13de6.
-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} |