Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

modify zindex for image snapshot vs smart handoff area select

Ed Platoc7613d0d6c45
diff --git a/web/css/image.css b/web/css/image.css
index 363f71453..e279ecc7d 100644
--- a/web/css/image.css
+++ b/web/css/image.css
@@ -79,7 +79,7 @@
.wv-image-coords {
position: absolute;
- z-index: 500;
+ z-index: 4;
white-space: pre;
color: #fff;
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
diff --git a/web/css/sidebar.css b/web/css/sidebar.css
index 329e7dab1..3079fc014 100644
--- a/web/css/sidebar.css
+++ b/web/css/sidebar.css
@@ -6,7 +6,7 @@
}
.products-holder-case {
position: absolute;
- z-index: 2;
+ z-index: 3;
min-width: 286px;
width: 286px;
background: transparent;
@@ -65,7 +65,7 @@
border-bottom: 1px solid transparent;
border-top-right-radius: 5px;
border-top-left-radius: 5px;
- z-index: 1;
+ z-index: 3;
-webkit-box-sizing: border-box;
-o-box-sizing: border-box;
box-sizing: border-box;
diff --git a/web/css/timeline.css b/web/css/timeline.css
index 68028dca6..14a104016 100644
--- a/web/css/timeline.css
+++ b/web/css/timeline.css
@@ -5,7 +5,7 @@ button:focus {
#timeline {
left: 0;
- z-index: 2;
+ z-index: 3;
}
.timeline-inner {
diff --git a/web/js/components/util/image-crop.js b/web/js/components/util/image-crop.js
index c161e2e9e..3442dabae 100644
--- a/web/js/components/util/image-crop.js
+++ b/web/js/components/util/image-crop.js
@@ -101,7 +101,7 @@ Crop.defaultProps = {
width: 30,
x: 20,
y: 10,
- zIndex: 10,
+ zIndex: 3,
};
Crop.propTypes = {
onChange: PropTypes.func.isRequired,
diff --git a/web/js/containers/sidebar/smart-handoff.js b/web/js/containers/sidebar/smart-handoff.js
index 0deaeceae..478b222c9 100644
--- a/web/js/containers/sidebar/smart-handoff.js
+++ b/web/js/containers/sidebar/smart-handoff.js
@@ -325,11 +325,13 @@ class SmartHandoff extends Component {
left: x,
top: y2 + 5,
width: x2 - x,
+ zIndex: 2,
}}
topRightStyle={{
left: x,
top: y - 20,
width: x2 - x,
+ zIndex: 2,
}}
coordinates={coordinates}
showCoordinates