From a0814e4836e3555a46fdb71e64defa974cbdfc30 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Sat, 09 Feb 2019 14:54:11 +0000 Subject: [PATCH] l10n: Change "tram" to "vehicle" as bus schedules are also available --- map.css | 41 +++++++++++++++++++++++++++++++++++------ 1 files changed, 35 insertions(+), 6 deletions(-) diff --git a/map.css b/map.css index d68458b..29178f4 100644 --- a/map.css +++ b/map.css @@ -25,13 +25,12 @@ font-size: 14px; position: absolute; - width: 300px; - right: -315px; + width: 350px; + right: -365px; top: 0; bottom: 0; - transition: right .4s; - transition: width .4s; + transition: right .4s, width .4s; opacity: .85; @@ -44,7 +43,7 @@ @media (max-width: 600px) { #popup { - width: 90%; + width: 80%; right: -100%; } @@ -53,10 +52,15 @@ } } -#popup .close { +.close { float: right; cursor: pointer; font-size: 20px; + padding: 0px 10px; +} +#fail .close { + font-size: inherit; + height: 1em; } #popup .type { padding-bottom: 0; @@ -126,6 +130,31 @@ .ol-zoom { top: 2.2em; } +#track { + top: 6em; + left: 0.5em; +} +.ol-touch #track { + top: 7em; +} + +.ol-control button svg * { + stroke: white; + stroke-width: 5%; + fill: none; +} +.ol-control button svg .fill { + fill: white; +} +.ol-control button.clicked { + background-color: black; +} +.ol-control button.clicked:hover, .ol-control button.clicked:active { + background-color: rgba(0,0,0,.5); +} +.ol-control button.hidden { + display: none; +} a { color: #337ab7; -- Gitblit v1.9.1