aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/MapBox/MapBox.scss
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-12-08 22:22:43 -0500
committerbobzel <zzzman@gmail.com>2021-12-08 22:22:43 -0500
commitf1d0a1f3849971be805924915a4ace7fecc55bda (patch)
tree2076e0285c42f407c9ddc00908335255522aee69 /src/client/views/nodes/MapBox/MapBox.scss
parent639eb465369f89dc541dfbeeaed34dfe133a8810 (diff)
tried to simplify the mapbox ui.
Diffstat (limited to 'src/client/views/nodes/MapBox/MapBox.scss')
-rw-r--r--src/client/views/nodes/MapBox/MapBox.scss26
1 files changed, 22 insertions, 4 deletions
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;
+ }
}