X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/6822e50fe57fc234acb32d989eded6f113b8189d..8201c7f46cbb253fe5f502bc4c398c5133f01bfe:/website/css/search.css diff --git a/website/css/search.css b/website/css/search.css index 55a6f9f5..1f139fe4 100644 --- a/website/css/search.css +++ b/website/css/search.css @@ -1,16 +1,16 @@ - -form { +.top-bar { width: 100%; padding: 1em 15px; } -form #q { - min-width: 500px; + +.top-bar #q { + max-width: 500px; } @media (max-width: 850px) { -form #q { - min-width: 400px; -} + form #q { + min-width: 400px; + } } form .checkbox-inline { margin-left: 10px; @@ -26,6 +26,12 @@ form label { right: 0 } +#switch-coords { + font-size: 0.8em; + font-weight: bold; + cursor: pointer; +} + .sidebar { width: 25%; padding: 15px; @@ -37,7 +43,7 @@ form label { #map-wrapper { position: relative; - min-height: 700px; + min-height: 500px; width: 75%; padding-right: 20px; display: inline-block; @@ -45,12 +51,13 @@ form label { } #map { - height: 100%; - min-height: 700px; + height: 90%; + min-height: 500px; background:#eee; } #map-position { + display: none; position: absolute; top: 0; right: 20px; @@ -58,7 +65,11 @@ form label { color: #333; font-size: 11px; background-color: rgba(255, 255, 255, 0.7); - z-index: 100; + z-index: 500; +} + +#map-position-close { + text-align: right; } .result { @@ -136,6 +147,17 @@ footer p { width: 100%; } .search-button-group { - display: inline + display: inline; } } + +.search-button-group { + margin-top: 3px; + box-sizing: content-box; + margin-bottom: 3px; +} + +label { + font-weight: normal; +} +