From f1d0a1f3849971be805924915a4ace7fecc55bda Mon Sep 17 00:00:00 2001 From: bobzel Date: Wed, 8 Dec 2021 22:22:43 -0500 Subject: tried to simplify the mapbox ui. --- src/client/views/nodes/MapBox/MapBox.scss | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) (limited to 'src/client/views/nodes/MapBox/MapBox.scss') diff --git a/src/client/views/nodes/MapBox/MapBox.scss b/src/client/views/nodes/MapBox/MapBox.scss index 1714fcaa9..854da5ed2 100644 --- a/src/client/views/nodes/MapBox/MapBox.scss +++ b/src/client/views/nodes/MapBox/MapBox.scss @@ -4,9 +4,6 @@ height: 100%; overflow: hidden; display: flex; - > div { - position: unset !important; // when the sidebar filter flys out, this prevents the map from extending outside the document box - } .mapBox-infoWindow { background-color: white; @@ -56,7 +53,6 @@ } .mapBox-sidebar-handle { - position: absolute !important; top: 0; //top: calc(50% - 17.5px); // use this to center vertically -- make sure it looks okay for slide views width: 10px; @@ -66,4 +62,26 @@ border-radius: 20px; cursor:grabbing; } + .mapBox-addMarker { + left: 50%; + margin-left: 120px; + right: unset !important; + margin-top: -10; + height: max-content; + } + .searchbox { + display:none; + } + .mapBox-addMarker { + display:none; + } +} + +.mapBox:hover { + .mapBox-addMarker { + display:block; + } + .searchbox { + display :block; + } } -- cgit v1.2.3-70-g09d2