Interactive interface for browsing global, full-resolution satellite imagery
clean up / break up styles
Jason Kent3d4e434e3385
diff --git a/web/css/layer-categories.css b/web/css/layer-categories.cssnew file mode 100644index 000000000..a8c754669--- /dev/null+++ b/web/css/layer-categories.css@@ -0,0 +1,241 @@+/* Categories view */+.layer-modal-content .categories-nav {+ margin: auto;+ max-width: 960px;+ padding-top: 5px;+ & .nav-item {+ height: 31px;+ line-height: 35px;+ margin: 0 8px 0 0;+ color: #383838;+ background: #fff;+ }+ & .active {+ background: #00457b;+ color: #fff;+ }+ & .nav-link {+ font-family: 'Open Sans', sans-serif;+ font-size: 16px;+ font-weight: 300;+ text-transform: capitalize;+ border: 0;+ background: 0;+ height: 30px;+ line-height: 30px;+ padding: 1px 15px;+ vertical-align: middle;+ float: left;+ }+ & .category-breadcrumb {+ height: 30px;+ line-height: 30px;+ font-family: 'Open Sans', sans-serif;+ font-weight: 300;+ font-size: 16px;+ color: #000;+ & a,+ & a:link,+ & a:visited {+ color: #00f;+ }+ }+}++.category-background-cover {+ min-height: 230px;+ background: rgba(0, 0, 0, 0.4);+}++.layer-category {+ cursor: pointer;+ background-color: #333;+ width: 310px;+ height: 230px;+ overflow: hidden;+ margin-bottom: 10px;++ & h3 {+ font-size: 18px;+ line-height: 18px;++ & .layer-category-name {+ display: block;+ width: 100%;+ line-height: 20px;+ padding: 10px;+ color: #fff;+ background: rgba(51, 51, 51, 0.6);+ }+ & .layer-category-name:hover {+ background: rgba(255, 255, 255, 0.6);+ }+ }++ & .layer-category-item {+ list-style: none;+ & .layer-category-name {+ display: block;+ padding: 7px 10px;+ width: 100%;+ color: #fff;+ white-space: nowrap;+ text-overflow: ellipsis;+ overflow: hidden;+ box-sizing: border-box;+ -moz-box-sizing: border-box;+ -webkit-box-sizing: border-box;+ -o-box-sizing: border-box;+ }+ & .layer-category-name:hover {+ background: rgba(255, 255, 255, 0.6);+ }+ }+}++.measurement-row {+ & .measure-row-contents {+ display: flex;+ flex-wrap: wrap;+ margin: 5px -1px 0 0;+ & .source-metadata {+ padding: 5px;+ & h1, h2, h3, h4, h5 {+ color: #333;+ }+ & p {+ color: #444;+ }+ }+ }+ & .source-tabs {+ width: 35%;+ padding-left: 4px;+ }+ & .tab-content {+ width: 65%;+ background: #eee;+ }+ h3.source-orbits-title {+ color: #444;+ font-weight: 700;+ padding: 10px 5px;+ }+}++.measurement-row .measurement-row-header {+ padding: 5px 8px;+ position: relative;+ cursor: pointer;+ min-height: 44px;+ & .arrow-icon {+ color: #d54e21;+ width: 30px;+ height: 30px;+ opacity: 0.8;+ font-size: 26px;+ position: absolute;+ right: 12px;+ top: 50%;+ transform: translateY(-50%);+ }+}++.measurement-row .source-nav-item {+ cursor: pointer;+ font-family: 'Open Sans', sans-serif;+ font-size: 13px;+ font-weight: 300;+ padding: 8px 6px;+ &.active {+ padding-left: 4px;+ border-left: 4px solid #d54e21;+ border-right: transparent;+ margin-right: -3px;+ color: #000;+ background: #eee;+ &:hover {+ color: #000;+ background: #eee;+ cursor: default;+ }+ }+ &:hover {+ color: #eee;+ background: #504d4d;+ }+ & .nav-link {+ padding: 0;+ }+}++.measurement-row .source-metadata.overflow {+ height: 300px;+ overflow: hidden;+}++.measurement-row .source-sub-group .list-group-item {+ background: transparent;+ border-color: transparent;+ padding: 6px 5px 6px 10px;+ cursor: pointer;++ &:hover {+ color: #333;+ background: #ddd;+ }+ & .wv-checkbox {+ color: #fff;+ font: 400 13px/13px 'Open Sans', sans-serif;+ display: inline;++ & label {+ display: inline;+ color: #333;+ padding-left: 5px;+ font-size: 12px;+ pointer-events: none;+ }+ }+ &.unavailable {+ & svg.svg-inline--fa {+ display: inline;+ color: #999;+ margin: 0 0 0 2px;+ }+ & .wv-checkbox label {+ color: #999;+ }+ }+}++.layers-all .metadata-more,+.measurement-row .metadata-more {+ display: block;+ height: 22px;+ background: #333;+ border-top: 2px solid #d54e21;+ box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.35);+}++.layers-all .metadata-more:hover,+.layer-modal-content .measurement-row .metadata-more:hover {+ cursor: pointer;+}++.layers-all .metadata-more .ellipsis,+.measurement-row .ellipsis {+ display: block;+ height: 20px;+ background: #d54e21 none repeat scroll 0 0;+ color: #fff;+ line-height: 7px;+ margin: 0 auto;+ font-size: 22px;+ text-align: center;+ font-weight: 800;+ width: 60px;+ &.up {+ line-height: 23px;+ }+}diff --git a/web/css/layers.css b/web/css/layers.cssindex a93d61d6d..2113d3bd1 100644--- a/web/css/layers.css+++ b/web/css/layers.css@@ -1,164 +1,12 @@-.layer-modal .ui-dialog-content,-.layer-modal .ui-dialog-titlebar,-.layer-modal .ui-widget-content,-.layer-modal .ui-widget-header {- background: none;- border: 0;-}--.layer-modal-dialog,-.layer-modal-dialog.ui-dialog {- background: rgb(220, 220, 220);- z-index: 10200;-}--.layer-modal-content div,-.layer-modal-content h1,-.layer-modal-content h2,-.layer-modal-content h3,-.layer-modal-content h4,-.layer-modal-content p,-.layer-modal-content span {- font-family: 'Open Sans', sans-serif;- font-weight: 300;- color: #383838;-}--.no-titlebar .ui-dialog-titlebar {- display: none;-}--/* Tile layout */-.layer-modal-dialog .layer-modal {- padding-left: 10px;- padding-right: 0;- padding-top: 0;- overflow: hidden;-}.layer-modal-content {- position: relative;- min-height: 400px;-}--.stamp {- cursor: pointer;- position: absolute;-}--.layer-category {- cursor: pointer;- background-color: #333;- width: 310px;- height: 230px;- overflow: hidden;- margin-bottom: 10px;-- & h3 {- font-size: 18px;- line-height: 18px;-- & .layer-category-name {- display: block;- width: 100%;- line-height: 20px;- padding: 10px;- color: #fff;- background: rgba(51, 51, 51, 0.6);- }- & .layer-category-name:hover {- background: rgba(255, 255, 255, 0.6);- }- }-- & .layer-category-item {- list-style: none;- & .layer-category-name {- display: block;- padding: 7px 10px;- width: 100%;- color: #fff;- white-space: nowrap;- text-overflow: ellipsis;- overflow: hidden;- box-sizing: border-box;- -moz-box-sizing: border-box;- -webkit-box-sizing: border-box;- -o-box-sizing: border-box;- }- & .layer-category-name:hover {- background: rgba(255, 255, 255, 0.6);- }+ & div, & h1, & h2, & h3, & h4, & p, & span {+ font-family: 'Open Sans', sans-serif;+ font-weight: 300;+ color: #383838;}}-.category-background-cover {- min-height: 230px;- background: rgba(0, 0, 0, 0.4);-}--/* Categories view */--.layer-modal-content .categories-nav {- margin: auto;- max-width: 960px;- padding-top: 5px;-}--.layer-modal-content .categories-nav .nav-item {- height: 31px;- line-height: 35px;- margin: 0 8px 0 0;- color: #383838;- background: #fff;-}--.layer-modal-content .categories-nav .active {- background: #00457b;- color: #fff;-}--.layer-modal-content .categories-nav .nav-link {- font-family: 'Open Sans', sans-serif;- font-size: 16px;- font-weight: 300;- text-transform: capitalize;- border: 0;- background: 0;- height: 30px;- line-height: 30px;- padding: 1px 15px;- vertical-align: middle;- float: left;-}--.button-input-scientific {- border: 0;- clip: rect(0 0 0 0);- height: 1px;- margin: -1px;- overflow: hidden;- padding: 0;- position: absolute;- width: 1px;-}--/* Measurement accordion view */-.layer-modal-content .category-breadcrumb {- height: 30px;- line-height: 30px;- font-family: 'Open Sans', sans-serif;- font-weight: 300;- font-size: 16px;- color: #000;-}--.layer-modal-content .category-breadcrumb a,-.layer-modal-content .category-breadcrumb a:link,-.layer-modal-content .category-breadcrumb a:visited {- color: #00f;-}-.layers-all .layers-all-layer {margin-top: 5px;padding: 0 0 0.5em 1.2em;@@ -218,12 +66,6 @@margin-top: 0;}-.layers-all .layers-all-layer .layers-all-layer-icon {- position: absolute;- top: 50%;- left: auto;- right: 1.2em;-}.layers-all-layer .nav-item {color: #fff;}@@ -244,7 +86,6 @@.layers-all-header > h3 {font-size: 15px;}-.layers-all-header > h4 {color: #ccc;margin: 3px 0 5px;@@ -255,7 +96,6 @@margin: 3px 0 6px 5px;font-size: 15px;}-.layers-all .layers-all-layer h5 {color: #888;font-size: 12px;@@ -303,9 +143,6 @@.layer-date-range .layer-date-ranges-button:not([href]):not([tabindex]):hover {color: #9df;}-.layer-info-modal .layer-metadata {- padding-right: 10px;-}.layer-description .layer-title,.layer-modal-content .source-metadata h1,@@ -313,13 +150,7 @@.layer-modal-content .source-metadata h3,.layer-modal-content .source-metadata h4,.layer-modal-content .source-metadata h5,-.layer-modal-content .source-metadata h6,-.layer-description .layer-metadata h1,-.layer-description .layer-metadata h2,-.layer-description .layer-metadata h3,-.layer-description .layer-metadata h4,-.layer-description .layer-metadata h5,-.layer-description .layer-metadata h6 {+.layer-modal-content .source-metadata h6 {color: #ddd;font-weight: 700;}@@ -343,11 +174,6 @@margin-top: 4px;}-.layer-description .layer-metadata h3,-.layer-description .layer-metadata h4 {- margin-bottom: 5px;-}-/* Layer search rows */.layer-list-container .layers-all-header {cursor: pointer;@@ -438,349 +264,18 @@color: #ccc;}-.measurement-row {- & .measure-row-contents {- display: flex;- flex-wrap: wrap;- margin: 5px -1px 0 0;- & .source-metadata {- padding: 5px;- & h1, h2, h3, h4, h5 {- color: #333;- }- & p {- color: #444;- }- }- }- & .source-tabs {- width: 35%;- padding-left: 4px;- }- & .tab-content {- width: 65%;- background: #eee;- }- h3.source-orbits-title {- color: #444;- font-weight: 700;- padding: 10px 5px;- }-}--.measurement-row .measurement-row-header {- padding: 5px 8px;- position: relative;- cursor: pointer;- min-height: 44px;- & .arrow-icon {- color: #d54e21;- width: 30px;- height: 30px;- opacity: 0.8;- font-size: 26px;- position: absolute;- right: 12px;- top: 50%;- transform: translateY(-50%);- }-}--.measurement-row .source-nav-item {- cursor: pointer;- font-family: 'Open Sans', sans-serif;- font-size: 13px;- font-weight: 300;- padding: 8px 6px;- &.active {- padding-left: 4px;- border-left: 4px solid #d54e21;- border-right: transparent;- margin-right: -3px;- color: #000;- background: #eee;- &:hover {- color: #000;- background: #eee;- cursor: default;- }- }- &:hover {- color: #eee;- background: #504d4d;- }- & .nav-link {- padding: 0;- }-}--.measurement-row .source-metadata.overflow {- height: 300px;- overflow: hidden;-}--.measurement-row .source-sub-group .list-group-item {- background: transparent;- border-color: transparent;- padding: 6px 5px 6px 10px;- cursor: pointer;-- &:hover {- color: #333;- background: #ddd;- }- & .wv-checkbox {- color: #fff;- font: 400 13px/13px 'Open Sans', sans-serif;- display: inline;-- & label {- display: inline;- color: #333;- padding-left: 5px;- font-size: 12px;- pointer-events: none;- }- }- &.unavailable {- & svg.svg-inline--fa {- display: inline;- color: #999;- margin: 0 0 0 2px;- }- & .wv-checkbox label {- color: #999;- }- }-}--.layers-all .metadata-more,-.measurement-row .metadata-more {- display: block;- height: 22px;- background: #333;- border-top: 2px solid #d54e21;- box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.35);-}--.layers-all .metadata-more:hover,-.layer-modal-content .measurement-row .metadata-more:hover {- cursor: pointer;-}--.layers-all .metadata-more .ellipsis,-.measurement-row .ellipsis {- display: block;- height: 20px;- background: #d54e21 none repeat scroll 0 0;- color: #fff;- line-height: 7px;- margin: 0 auto;- font-size: 22px;- text-align: center;- font-weight: 800;- width: 60px;- &.up {- line-height: 23px;- }-}--.layer-info-settings-modal {- margin-left: auto;- margin-right: auto;- top: 0;- left: 298px;- right: auto;- bottom: auto;- border-radius: 6px;- position: absolute;- width: 500px;-}--.layer-settings-modal .modal-title {- font-size: 15px;-}--.layer-settings-modal,-.layer-settings-modal .close {- color: #fff;-}--.layer-settings-modal .modal-content {- background: #282828;- width: 300px;-}--.layer-settings-modal .nav-item {- width: 100%;- border: 1px solid transparent;- border-top-left-radius: 5px;- border-top-right-radius: 5px;-}--.layer-settings-modal .nav-item.dual {- width: 136px;-}--.layer-settings-modal .nav-item:hover {- border: 1px solid #fff;-}--.layer-settings-modal .nav-link {- border: none;-}--.layer-settings-modal .nav-item.active {- background: #fff;- border-color: #fff;- color: #000;-}--.layer-settings-modal .tab-content {- padding: 5px;- background: #484848;-}--.layer-settings-modal .settings-component {- margin-bottom: 14px;- padding: 0 4px;-}--.layer-settings-modal .tab-content .layer-threshold-select {- margin-top: 10px;-}--.layer-settings-modal .layer-threshold-select {- height: 58px;-}--.layer-settings-modal .tab-content .wv-palette-selector {- width: 266px;-}--/** inline-block extra spacing */-.wv-palette-selector .wv-checkbox input {- margin-left: 6px;-}--.layer-settings-modal .tab-content .noUi-target {- margin: 10px 18px;-}--.layer-settings-modal .wv-header {- font-size: 14px;- margin-bottom: 8px;-}--.layer-opacity-select .wv-header {- margin-top: 0;-}--.layer-orbit-tracks .wv-checkbox {- margin: 10px 0 10px 10px;- & label {- display: inline;- text-transform: capitalize;- margin-left: 5px;- }-}--.layer-settings-modal .wv-header.wv-color-palette-label {- margin-bottom: 0.5em;-}--.tab-content .wv-palette-selector-row label {- margin-left: 3px;-}--.layer-settings-modal .wv-label {- color: #fff;- width: 100%;- position: relative;-}--.layer-settings-modal .wv-label-opacity {- text-align: right;-}--.layer-settings-modal .wv-label-range {- color: #fff;-}--.layer-settings-modal .wv-label-range-min {- float: left;-}--.layer-settings-modal .wv-label-range-max {- float: right;-}--.layer-settings-modal .wv-palette-squash {- float: right;- margin-top: -26px;-}--/* Layers Info */-.sidebar-panel li.item a.wv-layers-info {- color: #333;- text-align: center;-}--.sidebar-panel li.item a.wv-layers-info .wv-layers-info-icon {- border-color: #333;-}--.sidebar-panel li.item a.wv-layers-info.disabled {- color: #aaa;-}--.sidebar-panel li.item a.wv-layers-info.disabled .wv-layers-info-icon {- border-color: #aaa;-}--.sidebar-panel li.item a.wv-layers-info.disabled:hover {- cursor: no-drop;- background-color: transparent;-}--.sidebar-panel li.layer-hidden a.wv-layers-info {- color: #999;-}--.sidebar-panel li.layer-hidden a.wv-layers-info .wv-layers-info-icon {- border-color: #999;-}--.sidebar-panel li.layer-hidden a.wv-layers-info.disabled {- color: #666;-}--.sidebar-panel li.layer-hidden a.wv-layers-info.disabled .wv-layers-info-icon {- border-color: #666;-}--.sidebar-panel li.item a {- color: #22a;-}--.category-width .layer-modal-content {- height: calc(100vh - 135px);-}--.browse-search-width .layer-modal-content {- height: calc(100vh - 155px);-}-.custom-layer-dialog {margin: 5px auto;& .modal-content {height: 100%;}-&.category-width {width: 978px;max-width: 95%;+ & .layer-modal-content {+ height: calc(100vh - 135px);+ }& .modal-body {padding: 0 0 0 10px;overflow-y: auto;@@ -792,6 +287,11 @@&.browse-search-width {width: 98%;max-width: 1200px;+ & .layer-modal-content {+ height: calc(100vh - 155px);+ display: flex;+ flex-direction: column;+ }& .product-outter-list-case {width: 100%;padding: 5px 2px;@@ -814,128 +314,11 @@& .modal-title {width: 100%;}- & .back-button {- margin-right: 10px;- }& .modal-body {padding: 0;}}-.layer-search {- & .dropdown {- margin-right: 10px;- }- & .dropdown-menu {- padding: 0;- box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.5);- }- & .filter-button {- background-color: #d54e21;- border-color: #b55a3c;- margin-right: 10px;- }-}--.layer-bread-crumb .breadcrumb {- margin-bottom: 0;- background-color: #fff;- margin-right: 10px;-}--@media (min-width: 1024px) {- .search-layers-container {- & div.layer-list-detail-container {- flex-direction: row;- }- & div.layer-list-container {- max-width: 460px;- }- }-}--/* Need at least 1024px to fit three category boxes inline */-@media (max-width: 1023px) {- .custom-layer-dialog.category-width {- width: 658px;- & .modal-body {- padding: 0 0 0 6px;- }- }- .custom-layer-dialog {- &.browse-search-width {- width: 95%;- max-width: 800px;- }- }- .layer-list-container {- background-image: linear-gradient(360deg, #aaa, #ddd 15%);- }- .layer-detail-container.search {- flex: 2;- height: 65%;- border-top: 2px solid #d54e21;- padding: 4px 0 0 2px;- background-image: linear-gradient(#aaa, #ddd 15%);- }-}--/* Mobile Styles Begin Here */-@media (max-width: 768px) {- .modal-content {- border-radius: 0;- border: none;- }- .modal-header {- padding: 5px 10px;- }- .layer-modal-content {- padding: 0;- height: calc(100vh - 70px);- }- .layer-modal-content > .results-text {- font-size: 12px !important;- }- .custom-layer-dialog {- &.browse-search-width, &.category-width {- width: 100%;- height: 100%;- max-width: 100%;- margin: 0;- }- & .product-outter-list-case {- width: 100%;- padding: 0 10px 0 0;- }- }- .layer-category {- width: 100%;- }- .category-background-cover {- background-size: cover;- }- .layer-modal-content .categories-nav .nav-link {- font-size: 11px;- padding: 1px 7px;- margin: 0 12px 0 0;- }- .layers-all-layer .search-row .wv-checkbox {- left: 4px;- &::before {- font-size: 20px;- line-height: 25px;- height: 30px;- width: 30px;- }- }- .layer-detail-container.search {- height: 65%;- border-top: 5px solid #d54e21;- padding-left: 2px;- background-image: linear-gradient(#aaa, #ddd 15%);- }-}-.search-layers-container {height: 100%;display: flex;@@ -1078,69 +461,138 @@text-align: center;font-weight: 300;}- a.remove-filters {- color: #007bff;- margin-left: 5px;- }}-.header-filter-container {- padding: 8px 0 0;- .header-filters {- width: 200px;- position: absolute;+.modal-header {+ & .header-filter-container {+ padding: 8px 0 0;+ & .results-text {+ text-align: right;+ font-size: 13px;+ font-weight: 500;+ & span {+ margin-left: 5px;+ color: #777;+ }+ }}- .results-text {- text-align: right;- font-size: 13px;- font-weight: 500;- & span {- margin-left: 5px;- color: #777;+ & .filter-tooltip {+ & .display-date {+ font-size: 14px;+ font-family: monospace;+ margin: 5px;}}+ & .layer-search {+ & .filter-button {+ background-color: #d54e21;+ border-color: #b55a3c;+ margin-right: 10px;+ }+ & .clear-filters {+ padding: 2px 8px;+ margin-right: 10px;+ }+ }+ & .back-button {+ margin-right: 10px;+ }+ & .layer-bread-crumb .breadcrumb {+ margin-bottom: 0;+ background-color: #fff;+ margin-right: 10px;+ }}-.layer-filters-container {- & .filter-controls {- min-height: 90px;- min-width: 230px;- background-color: #333;- color: #eee;- padding: 10px;- & h3 {- color: #ddd;- font-size: 17px;- line-height: 100%;- font-family: 'Open Sans', sans-serif;- font-weight: 300;- margin: 0 0 20px;- }- & .custom-control {- display: inline;- margin-top: 10px;- & .custom-control-label {- color: #eee;- padding: 2px;- }+@media (min-width: 1024px) {+ .search-layers-container {+ & div.layer-list-detail-container {+ flex-direction: row;}- & svg.svg-inline--fa {- color: #eee;- padding: 2px;- margin-left: 6px;+ & div.layer-list-container {+ max-width: 460px;}}}-.filter-tooltip {- & .display-date {- font-size: 14px;- font-family: monospace;- margin: 5px;+/* Need at least 1024px to fit three category boxes inline */+@media (max-width: 1023px) {+ .custom-layer-dialog.category-width {+ width: 658px;+ & .modal-body {+ padding: 0 0 0 6px;+ }+ }+ .custom-layer-dialog {+ &.browse-search-width {+ width: 95%;+ max-width: 800px;+ }+ }+ .layer-list-container {+ background-image: linear-gradient(360deg, #aaa, #ddd 15%);+ }+ .layer-detail-container.search {+ flex: 2;+ height: 65%;+ border-top: 2px solid #d54e21;+ padding: 4px 0 0 2px;+ background-image: linear-gradient(#aaa, #ddd 15%);}}-.clear-filters {- padding: 2px 8px;- margin-right: 10px;+/* Mobile Styles Begin Here */+@media (max-width: 768px) {+ .modal-content {+ border-radius: 0;+ border: none;+ }+ .modal-header {+ padding: 5px 10px;+ }+ .layer-modal-content > .results-text {+ font-size: 12px !important;+ }+ .custom-layer-dialog {+ &.browse-search-width, &.category-width {+ width: 100%;+ height: 100%;+ max-width: 100%;+ margin: 0;+ }+ &.browse-search-width .layer-modal-content {+ padding: 0;+ height: calc(100vh - 70px);+ }+ & .product-outter-list-case {+ width: 100%;+ padding: 0 10px 0 0;+ }+ }+ .layer-category {+ width: 100%;+ }+ .category-background-cover {+ background-size: cover;+ }+ .layer-modal-content .categories-nav .nav-link {+ font-size: 11px;+ padding: 1px 7px;+ margin: 0 12px 0 0;+ }+ .layers-all-layer .search-row .wv-checkbox {+ left: 4px;+ &::before {+ font-size: 20px;+ line-height: 25px;+ height: 30px;+ width: 30px;+ }+ }+ .layer-detail-container.search {++ border-top: 5px solid #d54e21;+ padding-left: 2px;+ background-image: linear-gradient(#aaa, #ddd 15%);+ }}diff --git a/web/css/sidebar-panel.css b/web/css/sidebar-panel.cssindex 8dfd946d0..c1d67577b 100644--- a/web/css/sidebar-panel.css+++ b/web/css/sidebar-panel.css@@ -190,6 +190,25 @@ li.item ul.palette li {overflow: hidden;}+.layer-info-modal .layer-metadata {+ padding-right: 10px;+}++.layer-description .layer-metadata h3,+.layer-description .layer-metadata h4 {+ margin-bottom: 5px;+}++.layer-description .layer-metadata h1,+.layer-description .layer-metadata h2,+.layer-description .layer-metadata h3,+.layer-description .layer-metadata h4,+.layer-description .layer-metadata h5,+.layer-description .layer-metadata h6 {+ color: #ddd;+ font-weight: 700;+}+img.sidebar-panel-item-img {display: block;}diff --git a/web/css/sidebar.css b/web/css/sidebar.cssindex 9c517b0c7..7a5c40008 100644--- a/web/css/sidebar.css+++ b/web/css/sidebar.css@@ -183,3 +183,181 @@ footer .compare-toggle-button {background: #d54e21;background-image: none;}++/* Layers Info */+.sidebar-panel li.item a.wv-layers-info {+ color: #333;+ text-align: center;+}++.sidebar-panel li.item a.wv-layers-info .wv-layers-info-icon {+ border-color: #333;+}++.sidebar-panel li.item a.wv-layers-info.disabled {+ color: #aaa;+}++.sidebar-panel li.item a.wv-layers-info.disabled .wv-layers-info-icon {+ border-color: #aaa;+}++.sidebar-panel li.item a.wv-layers-info.disabled:hover {+ cursor: no-drop;+ background-color: transparent;+}++.sidebar-panel li.layer-hidden a.wv-layers-info {+ color: #999;+}++.sidebar-panel li.layer-hidden a.wv-layers-info .wv-layers-info-icon {+ border-color: #999;+}++.sidebar-panel li.layer-hidden a.wv-layers-info.disabled {+ color: #666;+}++.sidebar-panel li.layer-hidden a.wv-layers-info.disabled .wv-layers-info-icon {+ border-color: #666;+}++.sidebar-panel li.item a {+ color: #22a;+}++.layer-settings-modal .modal-title {+ font-size: 15px;+}++.layer-settings-modal,+.layer-settings-modal .close {+ color: #fff;+}++.layer-settings-modal .modal-content {+ background: #282828;+ width: 300px;+}++.layer-settings-modal .nav-item {+ width: 100%;+ border: 1px solid transparent;+ border-top-left-radius: 5px;+ border-top-right-radius: 5px;+}++.layer-settings-modal .nav-item.dual {+ width: 136px;+}++.layer-settings-modal .nav-item:hover {+ border: 1px solid #fff;+}++.layer-settings-modal .nav-link {+ border: none;+}++.layer-settings-modal .nav-item.active {+ background: #fff;+ border-color: #fff;+ color: #000;+}++.layer-settings-modal .tab-content {+ padding: 5px;+ background: #484848;+}++.layer-settings-modal .settings-component {+ margin-bottom: 14px;+ padding: 0 4px;+}++.layer-settings-modal .tab-content .layer-threshold-select {+ margin-top: 10px;+}++.layer-settings-modal .layer-threshold-select {+ height: 58px;+}++.layer-settings-modal .tab-content .wv-palette-selector {+ width: 266px;+}++.layer-settings-modal .wv-label {+ color: #fff;+ width: 100%;+ position: relative;+}++.layer-settings-modal .wv-label-opacity {+ text-align: right;+}++.layer-settings-modal .wv-label-range {+ color: #fff;+}++.layer-settings-modal .wv-label-range-min {+ float: left;+}++.layer-settings-modal .wv-label-range-max {+ float: right;+}++.layer-settings-modal .wv-palette-squash {+ float: right;+ margin-top: -26px;+}++/** inline-block extra spacing */+.wv-palette-selector .wv-checkbox input {+ margin-left: 6px;+}++.layer-settings-modal .tab-content .noUi-target {+ margin: 10px 18px;+}++.layer-settings-modal .wv-header {+ font-size: 14px;+ margin-bottom: 8px;+}++.layer-opacity-select .wv-header {+ margin-top: 0;+}++.layer-orbit-tracks .wv-checkbox {+ margin: 10px 0 10px 10px;+ & label {+ display: inline;+ text-transform: capitalize;+ margin-left: 5px;+ }+}++.layer-settings-modal .wv-header.wv-color-palette-label {+ margin-bottom: 0.5em;+}++.tab-content .wv-palette-selector-row label {+ margin-left: 3px;+}++.layer-info-settings-modal {+ margin-left: auto;+ margin-right: auto;+ top: 0;+ left: 298px;+ right: auto;+ bottom: auto;+ border-radius: 6px;+ position: absolute;+ width: 500px;+}diff --git a/web/js/app.js b/web/js/app.jsindex 771e2dd2b..7371d1cb1 100644--- a/web/js/app.js+++ b/web/js/app.js@@ -68,6 +68,7 @@ import '../css/events.css';import '../css/dataDownload.css';import '../css/sidebar.css';import '../css/layers.css';+import '../css/layer-categories.css';import '../css/scrollbar.css';import '../css/switch.css';import '../css/timeline.css';