Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

added styling for landscape-mobile views of rotation icons

Benjamin5191319d7fe3
diff --git a/web/css/wv.map.css b/web/css/wv.map.css
index ef05f2e9d..96c4d0304 100644
--- a/web/css/wv.map.css
+++ b/web/css/wv.map.css
@@ -78,6 +78,35 @@
border-bottom-left-radius:10px;
border-bottom-right-radius:10px;
}
+/*
+ * Rotation icons in
+ * mobile landscape
+ * views
+*/
+@media only screen
+and (max-device-width : 740px)
+and (orientation : landscape) {
+ .wv-map-reset-rotation { /* Place reset button between zoom buttons */
+ top: auto;
+ bottom: 5px;
+ right: 53px;
+ }
+
+ .wv-map-rotate-left {
+ top: auto;
+ bottom: 5px;
+ border-bottom-left-radius:10px;
+ border-top-right-radius:0;
+ right: 96px;
+ }
+
+ .wv-map-rotate-right {
+ top: auto;
+ bottom: 5px;
+ border-top-right-radius:10px;
+ border-bottom-left-radius:0;
+ }
+}
.wv-map-scale-imperial {
position: absolute;