Interactive interface for browsing global, full-resolution satellite imagery
Update sidebar styles #985
Benjamin King879e19a5f33d
diff --git a/web/css/products.css b/web/css/products.cssindex 5cc6fca22..0cc0a663f 100644--- a/web/css/products.css+++ b/web/css/products.css@@ -86,7 +86,7 @@height: 20px;vertical-align: text-bottom;background: url("../images/icon-sprite.svg") transparent 0 -10px;- margin: 0 5px 0 0;+ margin: 0 4px 0 0;}/***********************************Icons***********************************/diff --git a/web/css/sidebar-panel.css b/web/css/sidebar-panel.cssindex b4dcbd757..b066c476a 100644--- a/web/css/sidebar-panel.css+++ b/web/css/sidebar-panel.css@@ -41,7 +41,7 @@ a.staticLayers:not([href]):not([tabindex]):hover {a.staticLayers::after {position: absolute;- content: '';+ content: "";height: 20px;width: 20px;background: url("../images/icon-sprite.svg") -180px -10px;@@ -107,18 +107,10 @@ a.atexpand {background: none;padding: 1px 3px;font-size: 0.9em;- margin-top: 0;- margin-left: 0;+ margin: 5px 0;text-transform: uppercase;}-.sidebar-panel div,-.sidebar-panel ul {- display: block;- width: 100%;- margin: 0 auto;-}-.sidebar-panel .category {overflow: hidden;}@@ -261,7 +253,8 @@ img.hideReg {.productsitem a.hdanchor.hideReg i {width: 21px;height: 12px;- background: url('../images/wv.layers/show-hide.png?v=@BUILD_NONCE@') no-repeat 0 0 transparent;+ background: url("../images/wv.layers/show-hide.png?v=@BUILD_NONCE@") no-repeat+ 0 0 transparent;position: absolute;top: 50%;margin-top: -6px;@@ -307,7 +300,8 @@ img.hideReg {}i.wv-layers-options-icon {- background: url('../images/wv.layers/show-hide.png?v=@BUILD_NONCE@') no-repeat 0 -24px;+ background: url("../images/wv.layers/show-hide.png?v=@BUILD_NONCE@") no-repeat+ 0 -24px;width: 12px;height: 12px;position: absolute;@@ -378,7 +372,8 @@ i.wv-layers-options-icon {}.productsitem a.button.close i {- background: url('../images/wv.layers/show-hide.png?v=@BUILD_NONCE@') no-repeat 0 -24px;+ background: url("../images/wv.layers/show-hide.png?v=@BUILD_NONCE@") no-repeat+ 0 -24px;width: 12px;height: 12px;pointer-events: none;diff --git a/web/css/sidebar.css b/web/css/sidebar.cssindex d0dc60cc8..c05c7518a 100644--- a/web/css/sidebar.css+++ b/web/css/sidebar.css@@ -1,41 +1,101 @@#productsHolder {- border: 1px solid #333;+ border-bottom: 1px solid #333;border-bottom-left-radius: 5px;border-bottom-right-radius: 5px;position: absolute;z-index: 2;min-width: 286px;width: 286px;- background: rgba(40, 40, 40, 0.85);+ background: transparent;left: 10px;- top: 68px;+ top: 65px;-webkit-box-sizing: border-box;-o-box-sizing: border-box;box-sizing: border-box;padding: 0;+ border-top: none;}-#productsHolder .layer-container {box-sizing: border-box;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;-o-box-sizing: border-box;- padding: 5px 0 0;position: relative;border: 1px solid transparent;}-+#productsHolder .main-nav {+ background: rgba(40, 40, 40, 0.85);+}+#productsHolder > .tab-content {+ background: rgba(40, 40, 40, 0.85);+ margin-top: 10px;+}+#wv-logo {+ border-bottom: none;+}#productsHolder ul#overlays {margin-bottom: 10px;}+.nav-tabs {+ border-bottom: 3px solid #00457b;+}+#productsHolder .nav-tabs .disabled {+ cursor: not-allowed;+ color: white;+ opacity: 0.5;+}++.tab-content .nav-tabs {+ border-bottom: 3px solid #dee2e6;+}+.nav-item {+ color: white;+}+.nav-item .active {+ cursor: pointer;+}+/* override bootstrap styles */+.tab-content .ab-tabs-case .nav-item .active {+ color: #495057;+}+.nav-item .sidebar-tab.active {+ background: #00457b;+ border-color: #00457b;+ color: white;+}#productsHolder footer {- bottom: 0;- padding: 2px 5px 5px;- position: absolute;+ padding: 5px;background-color: transparent;+ position: relative;+}+footer .product-buttons {+ padding: 5px;+ height: 37px;+ width: initial;+}+footer .layers-add {+ position: absolute;+ left: 5px;+}+footer .compare-toggle-button {+ position: absolute;+ right: 5px;}+.wv-ab-mode-selection-case {+ margin: 5px;+}+.wv-ab-mode-selection-case > div {+ margin-left: 10px;+}+.wv-ab-mode-selection-case > div,+.wv-ab-mode-selection-case h3 {+ display: inline-block;+}+.wv-ab-mode-selection-case {+ color: white;+}#productsHolder footer p {color: #ccc;margin: 3px 0 8px;