Interactive interface for browsing global, full-resolution satellite imagery
Replace image download table with flexbox #123
Benjaminfbe1fd0a02f4
diff --git a/web/css/button.css b/web/css/button.cssindex 7cb5b3086..a19937c6e 100644--- a/web/css/button.css+++ b/web/css/button.css@@ -21,6 +21,10 @@.wv-button.red {background: #d54e21;}+.wv-button.black {+ background: #212121;+ border-color: #666;+}.wv-button:hover {border-color: #eee;background-color: #eee;@@ -29,3 +33,13 @@cursor: pointer;}+.wv-button:disabled {+ opacity: .35;+ background-image: none;+ border: 1px solid #666;+ background-color: #555;+ border-radius: 0;+ color: #eee;+ cursor: not-allowed;+}+diff --git a/web/css/image.css b/web/css/image.cssindex 83a559e08..2eb9b1f14 100644--- a/web/css/image.css+++ b/web/css/image.css@@ -6,43 +6,44 @@width: 6em;margin-right: 1em;}--.wv-image-header {- padding: 0.5em 0 0;- font-size: 12px;- font-weight: 400;-}--.wv-image-download {- margin-top: 0.5em;+.wv-image-download-grid {+ display: flex;+ margin-top: .5em;+ flex-wrap: wrap;width: 100%;- border-collapse: collapse;}--.wv-image-download th {+.wv-image-download-grid .grid-child {+ border: 1px solid rgba(0, 0, 0, 0);font-weight: 400;- font-size: 12px;+ font-size: 10px;text-align: center;- padding: 0.1em;+ padding: 0.1em 0;+ border: 0;+ flex: 0 50%;+}+.wv-image-download-grid .grid-head {+ font-size: 12px;+}+.wv-image-download-grid .grid-child.wv-image-dimensions {+ display: flex;+ align-items: center;+ justify-content: center;}-.wv-image-download td {- border: 1px solid rgba(0, 0, 0, 0);+.wv-image-header {+ padding: 0.5em 0 0;+ font-size: 12px;font-weight: 400;- font-size: 10px;- text-align: center;- padding: 0.1em;- width: 50%;}-.wv-image-download td.wv-image-size-invalid {+.wv-image-download-grid .wv-image-size-invalid {border: 1px solid #faa;}-#wv-image-download-button .ui-button-text {+.wv-image-download-grid button span {+ padding: .2em 1em;font-weight: 700;font-size: 12px;- padding: 0.2em 1em;}.wv-image-coords {