Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

share dialog style revisions, compare controls lower and min anim widget lower in embed

Ed Plato88e1a6ed96ad
diff --git a/web/css/embed.css b/web/css/embed.css
index 45c800dae..71e35b81f 100644
--- a/web/css/embed.css
+++ b/web/css/embed.css
@@ -41,9 +41,8 @@
}
.embed-mode {
- #wv-toolbar {
- display: none;
- }
+
+ /* SIDEBAR */
#productsHolder {
width: 125px !important;
}
@@ -107,21 +106,38 @@
}
}
- #wv-measure-button {
- display: none;
+ /* COMPARE */
+ .ab-swipe-dragger {
+ bottom: 132px;
+ }
+ .ab-swipe-line .ab-swipe-span {
+ bottom: 119px;
+ }
+ .ab-slider-case {
+ bottom: 74px;
}
+ /* COORDS/SCALE */
#ol-coords-case {
bottom: 8px;
}
-
.wv-map-scale-imperial {
bottom: 50px;
right: 12px;
}
-
.wv-map-scale-metric {
bottom: 68px;
right: 12px;
}
+
+ /* MISC */
+ #wv-toolbar {
+ display: none;
+ }
+ #wv-measure-button {
+ display: none;
+ }
+ .wv-animation-widget-wrapper.minimized {
+ bottom: 64px;
+ }
}
diff --git a/web/css/link.css b/web/css/link.css
index 65de55f38..eb336ced4 100644
--- a/web/css/link.css
+++ b/web/css/link.css
@@ -103,6 +103,7 @@
}
.social-share {
+ padding-top: 10px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
@@ -153,21 +154,30 @@
}
.share-nav-container {
+ .input-group {
+ padding-top: 10px;
+ }
.share-tab-link {
p {
- padding: 10px 0 21px;
+ padding: 20px 1px;
}
}
.share-tab-embed {
p {
- padding: 10px 0 5px;
+ padding: 10px 1px;
}
}
.share-tab-social {
p {
- padding: 10px 0 5px;
+ padding: 10px 1px;
}
}
+ & .nav-item {
+ flex: 1;
+ }
+ & .nav-link {
+ padding: 6px;
+ }
a:not(.share-embed-doc-link) {
color: #fff;
@@ -187,6 +197,6 @@
.wv-checkbox {
position: absolute;
right: 12px;
- top: 55px;
+ bottom: 14px;
}
}
diff --git a/web/js/containers/share.js b/web/js/containers/share.js
index d70e358c1..9f3bb57b0 100644
--- a/web/js/containers/share.js
+++ b/web/js/containers/share.js
@@ -233,6 +233,7 @@ class ShareLinkContainer extends Component {
<TabPane tabId="link" className="share-tab-link">
{activeTab === 'link' && (
<>
+ {this.renderInputGroup(value, 'link')}
<p>
Copy URL to share link.
</p>
@@ -244,7 +245,7 @@ class ShareLinkContainer extends Component {
checked={isShort}
disabled={!shortLink.isLoading}
/>
- {this.renderInputGroup(value, 'link')}
+ {/* {this.renderInputGroup(value, 'link')} */}
</>
)}
</TabPane>
@@ -262,6 +263,7 @@ class ShareLinkContainer extends Component {
<TabPane tabId="embed" className="share-tab-embed">
{activeTab === 'embed' && (
<>
+ {this.renderInputGroup(embedIframeHTMLCode, 'embed')}
<p>
Embed Worldview in your website. See our
{' '}
@@ -269,7 +271,7 @@ class ShareLinkContainer extends Component {
{' '}
for a guide.
</p>
- {this.renderInputGroup(embedIframeHTMLCode, 'embed')}
+ {/* {this.renderInputGroup(embedIframeHTMLCode, 'embed')} */}
</>
)}
</TabPane>
@@ -285,10 +287,10 @@ class ShareLinkContainer extends Component {
<TabPane tabId="social" className="share-tab-social">
{activeTab === 'social' && (
<>
+ <ShareLinks onClick={this.onLinkClick} />
<p>
Share Worldview on social media.
</p>
- <ShareLinks onClick={this.onLinkClick} />
</>
)}
</TabPane>