Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

UI theme tweaks

ZachTRiceff28815d6005
diff --git a/web/css/image.css b/web/css/image.css
index 886df2a4c..528d33c1e 100644
--- a/web/css/image.css
+++ b/web/css/image.css
@@ -1,3 +1,11 @@
+.wv-image {
+ color: #fff;
+}
+
+.wv-image .wv-re-pick-wrapper {
+ color: #fff;
+}
+
.wv-image .ui-dialog-content {
padding: 0 10px;
}
@@ -6,12 +14,14 @@
width: 6em;
margin-right: 1em;
}
+
.wv-image-download-grid {
display: flex;
margin-top: 0.5em;
flex-wrap: wrap;
width: 100%;
}
+
.wv-image-download-grid .grid-child {
font-weight: 400;
font-size: 10px;
@@ -20,9 +30,11 @@
border: 0;
flex: 0 45%;
}
+
.wv-image-download-grid .grid-head {
font-size: 12px;
}
+
.wv-image-download-grid .grid-child.wv-image-dimensions {
display: flex;
align-items: center;
@@ -42,6 +54,7 @@
.wv-image-download-grid .wv-image-max-size.wv-image-size-invalid {
border-left: none;
}
+
.wv-image-download-grid button span {
padding: 0.2em 1em;
font-weight: 700;
diff --git a/web/css/jquery-ui-override.css b/web/css/jquery-ui-override.css
index 13559f1ec..2a7d6f0a6 100644
--- a/web/css/jquery-ui-override.css
+++ b/web/css/jquery-ui-override.css
@@ -50,6 +50,10 @@ a.ui-button.ui-state-default.ui-state-hover {
margin-left: -7px;
}
+.ui-widget.ui-widget-content {
+ border: 0;
+}
+
.ui-widget-content {
background: rgb(40, 40, 40);
border: 0;
@@ -65,7 +69,12 @@ a.ui-button.ui-state-default.ui-state-hover {
z-index: 600;
}
+.ui-dialog .ui-dialog-titlebar {
+ border: 0;
+}
+
.ui-dialog .ui-dialog-content {
+ color: #fff;
background-image: none;
padding-top: 15px;
padding-bottom: 15px;
@@ -169,6 +178,7 @@ label {
}
.ui-widget-header {
+ color: #fff;
background: rgb(40, 40, 40);
}
@@ -222,6 +232,22 @@ label {
background: none;
}
+.ui-visual-focus {
+ -webkit-box-shadow: none;
+ box-shadow: none;
+}
+
+.ui-button.ui-state-active:hover,
+.ui-button:active,
+.ui-state-active,
+.ui-widget-content .ui-state-active,
+.ui-widget-header .ui-state-active,
+a.ui-button:active {
+ font-weight: 300;
+ border: 0;
+ background: transparent;
+}
+
/* Counter intuitive override: All OpenLayers overlays get the
ol-selectable class added automatically, but we don't want map markers
or dateline overlays to be selectable. */
diff --git a/web/css/layers.css b/web/css/layers.css
index 8a9a1372d..0be26addf 100644
--- a/web/css/layers.css
+++ b/web/css/layers.css
@@ -279,6 +279,10 @@
border-bottom: 3px solid #00457b;
}
+.layer-modal-content .categories-nav input {
+ display: none;
+}
+
.layer-modal-content .categories-nav label {
color: #383838;
font-family: "Open Sans", sans-serif;
diff --git a/web/css/link.css b/web/css/link.css
index 3dd87c723..4de0c7d98 100644
--- a/web/css/link.css
+++ b/web/css/link.css
@@ -103,11 +103,18 @@
}
#wv-link-shorten {
+ position: relative;
margin-top: 15px;
width: 100%;
color: #fff;
}
+#wv-link-shorten label {
+ position: relative;
+ top: -3px;
+ margin-left: 4px;
+}
+
#social-share {
padding-top: 12px;
display: -webkit-box;
diff --git a/web/css/map.css b/web/css/map.css
index 85aa4b034..9ffa2272e 100644
--- a/web/css/map.css
+++ b/web/css/map.css
@@ -26,7 +26,7 @@
}
.wv-map-zoom .fa {
- padding: 1em;
+ padding: 1.2em;
display: block;
line-height: normal;
}
@@ -50,7 +50,9 @@
}
.wv-map-reset-rotation {
- top: 300px;
+ top: 296px;
+ border: 1px solid #333;
+ height: 54px;
}
.wv-map-rotate-left {
diff --git a/web/css/mobile.css b/web/css/mobile.css
index 930fcb4a9..8b335d685 100644
--- a/web/css/mobile.css
+++ b/web/css/mobile.css
@@ -103,8 +103,18 @@
margin-bottom: 15px;
}
- #categories-nav label span {
+ #categories-nav label {
font-size: 1em;
+ position: relative;
+ padding-top: 4px;
+ }
+
+ .button-label-scientific {
+ top: -2px;
+ }
+
+ .layer-modal-content .categories-nav input {
+ display: block;
}
#selected-category .ui-tabs-panel li.measurement-settings-item {
diff --git a/web/css/toolbar.css b/web/css/toolbar.css
index aef705587..0dd31db76 100644
--- a/web/css/toolbar.css
+++ b/web/css/toolbar.css
@@ -42,8 +42,15 @@
}
.wv-menu .ui-menu .ui-menu-item a {
+ position: relative;
border: 0;
margin: 0;
+ text-decoration: none;
+ display: block;
+ padding: 2px 0.4em 2px 2em;
+ line-height: 1.5;
+ min-height: 0;
+ font-weight: 400;
}
.wv-menu .ui-menu .ui-menu-item .ui-state-active,
diff --git a/web/js/map/rotation.js b/web/js/map/rotation.js
index a6c596f1f..4d1f5f27d 100644
--- a/web/js/map/rotation.js
+++ b/web/js/map/rotation.js
@@ -50,7 +50,7 @@ export function MapRotate(ui, models, map) {
var $resetButton = $('<button></button>')
.addClass('wv-map-reset-rotation wv-map-zoom')
.attr('title', 'Click to reset')
- .attr('style', 'width: 43px');
+ .attr('style', 'width: 45px');
$rotateLeftButton.append($lefticon);
$rotateRightButton.append($righticon);