From d80109132d362199e6d9e370d5f54bd0d6554126 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Thu, 29 Jul 2021 22:40:29 +0000 Subject: [PATCH] [map] Allow zero-prefixed stop identifiers (fix for bus stops) --- map.css | 47 ++++++++++++++++++++++++++++++++++------------- 1 files changed, 34 insertions(+), 13 deletions(-) diff --git a/map.css b/map.css index db4693f..c7ea862 100644 --- a/map.css +++ b/map.css @@ -17,6 +17,19 @@ right: auto; } +.close, .hide { + float: right; + cursor: pointer; + font-size: 1.5em; + padding-left: 1em; + color: black; +} +#fail .close { + font-size: inherit; + height: 1em; + color: black; +} + .panel { opacity: .85; color: black; @@ -37,9 +50,9 @@ .panel.expanded { right: 0; } - .panel .hide { display: none; + padding: 0px 1em; } .panel.enabled .hide { display: block; @@ -76,17 +89,6 @@ right: 80%; margin-right: 10px; } -} - -.close, .hide { - float: right; - cursor: pointer; - font-size: 20px; - padding: 0px 10px; -} -#fail .close { - font-size: inherit; - height: 1em; } .panel .type { padding-bottom: 0; @@ -140,6 +142,25 @@ } .panel table .vehicleInfo { float: right; +} + +.post-nav { + display: flex; + flex-wrap: wrap; +} +.post-nav > * { + flex-basis: 0; + flex-grow: 1; +} + +.left { + text-align: left; +} +.center { + text-align: center; +} +.right { + text-align: right; } .icon, .icon-loc, .icon-pin, .icon-zoom { @@ -220,7 +241,7 @@ display: none; } -a { +a, .close:hover, .hide:hover { color: #337ab7; text-decoration: none; cursor: pointer; -- Gitblit v1.9.1