Interactive interface for browsing global, full-resolution satellite imagery
@use "variables";
.layer-modal-content {
& div,
& h1,
& h2,
& h3,
& h4,
& p,
& span {
font-family: "Public Sans", sans-serif;
font-weight: 300;
color: #383838;
}
}
.layers-all .layers-all-layer {
margin-top: 5px;
padding: 0 0 0.5em 1.2em;
box-sizing: border-box;
border: 0;
position: relative;
background-color: #333;
line-height: 0;
}
.lazyload-list {
list-style-type: none;
height: 100px;
width: 100%;
display: flex;
flex-direction: column;
overflow: scroll;
background-color: #383838;
li {
user-select: none;
}
li:hover {
background-color: black;
}
}
.imagery-search-spinner {
height: 13px;
width: 100%;
}
.lazyload-title {
margin-bottom: 8px;
}
.imagery-search-container hr {
margin-top: 20px;
width: 100%;
}
.layer-list-container .layers-all-layer {
transition: background-color 200ms ease-out;
left: 0;
&.measurement-row {
padding: 0;
}
&.search-row {
border: 1px solid transparent;
}
&.search-row.selected {
left: 0;
transition: background-color 200ms linear;
background: #eee;
border-left: 6px solid #d54f21;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
border-right: 1px solid #ddd;
& .layer-notice-icon {
color: #666;
}
& .chartable-icon {
background-color: #666;
}
& .layers-all-header > h3 {
transition: background-color 200ms ease;
color: #000;
font-weight: 500;
}
& .layers-all-header > h4,
.layers-all-header > h5 {
transition: background-color 200ms ease;
color: #333;
}
}
&:hover:not(.selected) {
transition: background-color 100ms linear;
background-color: #5a5a5a;
}
&.search-row:hover:not(.selected) {
box-shadow: 2px 2px 3px rgb(0 0 0 / 50%);
left: -1px;
& .layers-all-header > h3 {
color: #fff;
text-shadow: 1px 1px 0 #000;
}
& .layers-all-header > h4 {
color: #eee;
text-shadow: 1px 1px 0 #000;
}
& .layers-all-header > h5 {
color: #bbb;
text-shadow: 1px 1px 0 #000;
}
}
}
.layers-all > .layers-all-layer:first-of-type {
margin-top: 0;
}
.layers-all-layer .nav-item {
color: #fff;
}
.nav-item a {
color: #fff;
text-decoration: none;
}
// .nav-item a:hover {
// color: #fff;
// }
.layers-all-header > h3,
.measurement-row-header > h3 {
color: #ddd;
line-height: 100%;
position: relative;
display: block;
font-family: "Public Sans", sans-serif;
font-weight: 300;
margin-right: 45px;
}
.measurement-row-header > h3 {
font-size: 18px;
}
.layers-all-header > h3 {
font-size: 15px;
}
.layers-all-header > h4 {
color: #ccc;
margin: 3px 0 5px;
font-size: 14px;
}
.layer-detail-container .layers-all-header > h4 {
color: #ccc;
margin: 3px 0 6px 5px;
font-size: 15px;
}
.layers-all .layers-all-layer h5 {
color: #888;
font-size: 12px;
line-height: 100%;
font-weight: 400;
margin-top: 3px;
margin-right: 45px;
font-style: italic;
}
.layers-all .layers-all-layer .source-metadata {
margin-top: 10px;
border-top-width: 1px;
color: #ddd;
}
.layer-date-wrap {
background-color: #333;
margin-right: 10px;
margin-top: 10px;
padding: 10px;
.layer-date-ranges {
padding-left: 0;
.list-group-item {
border: 0;
padding: 0;
background: none;
list-style-type: disc;
display: list-item;
margin: 2px 0 6px 20px;
color: #bbb;
}
}
}
.source-metadata .layer-date-wrap {
background: #dfdfdf;
}
.layer-date-range .layer-date-ranges-button,
.layer-date-range .layer-date-ranges-button:not([href]):not([tabindex]) {
cursor: pointer;
}
.layer-date-range .layer-date-ranges-button:hover,
.layer-date-range .layer-date-ranges-button:not([href]):not([tabindex]):hover {
text-decoration: underline;
}
.layer-description .layer-title,
.layer-modal-content .source-metadata h1,
.layer-modal-content .source-metadata h2 {
color: #ddd;
font-weight: 700;
}
.source-metadata h3 {
font-weight: 500;
margin: 10px 0 5px;
font-size: 16px;
line-height: 16px;
padding-top: 15px;
border-top: 1px solid #aaa;
}
.layer-description .layer-title,
.layer-info-modal .source-metadata h3 {
display: block;
font-size: 14px;
line-height: 18px;
margin: 16px 0 6px;
font-family: "Public Sans", sans-serif;
margin-top: 4px;
}
.layer-info-modal .source-metadata {
p {
color: #ccc;
margin-bottom: 15px;
}
}
/* Layer search rows */
.layer-list-container .layers-all-header {
cursor: pointer;
padding-left: 30px;
padding-top: 0.5em;
& > h3,
& > h4,
& > h5 {
user-select: none;
}
}
.layers-all-layer.search-row {
padding: 8px 5px;
.layer-notices {
position: absolute;
display: flex;
right: 5px;
bottom: 5px;
}
.layer-notice-icon {
color: #eee;
height: 20px;
width: 20px;
margin: 0 5px;
&.chartable-icon {
display: block;
background-color: #eee;
mask-image: url("../images/layers/charting/charting_icon_stroked.svg");
}
}
.layers-all-header {
padding: 0 0 0 25px;
width: 100%;
background: inherit;
text-align: left;
border: none;
&.notice {
padding: 0 70px 0 25px;
}
}
.wv-checkbox::before {
margin-top: 3px;
}
.wv-checkbox {
cursor: pointer;
float: left;
position: absolute;
height: 24px;
width: 24px;
input {
position: absolute !important;
top: 0;
}
}
.wv-checkbox:hover:not(.checked)::before {
background-color: rgb(0 0 0 / 25%);
}
}
.search-row .layers-all-header svg.info-circle {
position: absolute;
color: #ddd;
font-size: 18px;
right: 10px;
top: 10px;
}
.selected svg.info-circle {
color: #888;
transition: color 250ms linear;
}
.layers-all-layer svg.info-circle:hover {
cursor: pointer;
}
.layers-all .source-metadata p,
.layer-modal-content .selected-category .ui-tabs-panel p {
margin-bottom: 15px;
}
.layer-modal-content .selected-category .ui-tabs-panel p,
.layer-modal-content .selected-category .ui-tabs-panel span {
font-size: 11px;
font-family: "Public Sans", sans-serif;
font-weight: 400;
color: #bbb;
}
.layer-modal-content .selected-category .ui-tabs-panel .source-metadata {
overflow: hidden;
}
.layers-all .source-metadata a,
.layers-all .source-metadata p,
.layer-description .layer-date-wrap p,
.layers-all .source-metadata span,
.layer-modal-content .selected-category .ui-tabs-panel .source-metadata a,
.layer-modal-content .selected-category .ui-tabs-panel .source-metadata p,
.layer-date-range,
.layer-date-wrap,
.layer-metadata a,
.layer-metadata p {
font-family: "Public Sans", sans-serif;
font-weight: 400;
font-size: 13px;
line-height: 16px;
margin-bottom: 15px;
}
.layer-date-start .monospace,
.layer-date-end .monospace {
@include variables.wv-date-chip;
font-size: 14px;
font-weight: 500;
padding: 1px 4px;
margin: 0 4px;
}
.source-metadata .layer-description .layer-metadata {
h1,
h2,
h3,
h4,
h5,
h6 {
color: #333;
}
}
.source-metadata .layer-description .layer-date-start .monospace,
.source-metadata .layer-description .layer-date-end .monospace {
@include variables.wv-date-chip;
border-color: #555;
background-color: #777;
font-size: 14px;
}
.layers-all-layer .source-metadata .layer-description .layer-date-ranges span.monospace {
font-family: variables.$wv-monospace-font;
font-size: 14px;
}
.layer-description .layer-description {
margin-top: 5px;
}
.layer-metadata li,
.source-metadata li {
line-height: 16px;
margin-bottom: 5px;
}
.source-metadata ul,
.layer-metadata ul {
list-style-position: inside;
margin-bottom: 15px;
}
.layer-metadata hr {
background: #aaa;
}
.layers-all .source-metadata div,
.layers-all .source-metadata p,
.layers-all .source-metadata span,
.layers-all .source-metadata code {
color: #666;
}
.layer-date-range,
.layer-metadata,
.layer-metadata code,
.layer-date-wrap {
color: #ccc;
}
.layer_picker_component .modal {
// max-height: 90vh;
overflow-y: hidden;
}
.custom-layer-dialog {
margin: 5px auto;
border: none;
& .modal-content {
height: 100%;
}
&.category-width {
width: 978px;
max-width: 95%;
& .modal-body {
padding: 0 0 0 10px;
overflow-y: auto;
}
.product-outer-list-case {
padding: 0 13px 13px 0;
}
}
&.browse-search-width {
width: 98%;
max-width: 1200px;
& .layer-modal-content {
display: flex;
flex-direction: column;
}
& .product-outer-list-case {
width: 100%;
padding: 0 4px;
}
}
& .category-masonry-case {
overflow: hidden;
margin: auto;
max-width: 960px;
}
& .modal-header {
padding: 4px 10px;
border-bottom: 1px solid #bbb;
& .close {
font-size: 30px;
padding: 17px 16px 0 8px;
font-weight: 600;
}
}
& .modal-title {
width: 100%;
}
& .modal-body {
padding: 0;
}
}
.search-layers-container {
overflow-y: auto;
display: flex;
& .layer-list-detail-container {
flex: 1.5;
display: flex;
flex-direction: column;
}
& .layer-list-container {
flex: 1;
}
& .layer-detail-container {
& .search {
flex-grow: 1;
}
& .browse {
flex-basis: 50%;
}
}
}
.layer-list-container {
overflow-y: auto;
padding: 0;
&.browse {
border-right: 1px solid #ccc;
}
}
.category-width {
& .layer-list-container.browse {
padding: 3px 5px 0 0;
}
}
.layer-detail-container {
overflow-y: auto;
padding-right: 2px;
width: 100%;
flex: 1;
&.browse {
& h2 {
color: #eee;
font-size: 24px;
margin: 10px 0;
font-weight: 400;
}
}
& .layers-all-layer {
background: transparent;
padding: 8px 10px;
& h3,
h4 {
color: #555;
}
& h5 {
color: #666;
}
& .source-metadata p,
.source-metadata span,
.source-metadata div,
.source-metadata code,
.list-group-item {
color: #333;
}
.source-metadata a {
color: #0056b3;
}
&:hover {
background-color: transparent;
}
}
& .scrollbar-visible .layers-all-layer {
margin: 0 11px 0 2px;
}
&.search .layers-all-header {
min-height: 58px;
}
& .layers-all-header {
border-left: 4px solid #d54e21;
& h3 {
font-size: 20px;
margin: 5px;
font-weight: 500;
}
& h5 {
font-size: 14px;
margin: 0 5px;
}
& .close-details {
background-color: transparent;
position: absolute;
top: 0;
right: 0;
border: none;
font-size: 20px;
}
& .close-details svg.svg-inline--fa {
color: #666;
}
}
& .layer-preview {
margin-top: 5px;
max-height: 400px;
border: 1px solid #ddd;
}
.add-to-map-btn {
margin: 5px auto 0;
min-width: 145px;
background-color: transparent;
border-color: #b55a3c;
border-width: 2px;
color: #333;
svg.svg-inline--fa {
margin-right: 10px;
}
&:hover:not(.is-active) {
color: #fff;
background-color: #b55a3c;
}
&.is-active {
color: #fff;
background-color: #d54e21;
}
}
}
.no-results {
text-align: center;
max-width: 440px;
margin: 40px auto;
& svg.svg-inline--fa {
color: #777;
font-size: 100px;
}
& h3 {
font-weight: 500;
font-size: 20px;
margin: 40px auto 15px;
text-align: center;
color: #777;
}
& h5 {
font-size: 16px;
margin: 20px auto;
text-align: center;
font-weight: 300;
}
p {
margin: 10px;
}
}
.modal-header {
& .header-filter-container {
padding: 8px 0 0;
& .results-text {
text-align: left;
font-size: 15px;
font-weight: 500;
& span {
margin-left: 5px;
color: #777;
}
}
}
& .filter-tooltip {
& .display-date {
font-size: 14px;
font-family: variables.$wv-monospace-font;
margin: 5px;
}
}
& .layer-search {
.faded {
background-color: #fefefe;
color: #999;
cursor: pointer;
}
& .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;
}
.breadcrumb {
padding: 10px;
border-radius: 0.25rem;
}
}
.granule-date-item {
color: #444;
background-color: #ccc;
display: inline-block;
width: 100%;
.granule-date {
position: relative;
left: 6px;
display: inline-block;
padding: 8px 4px;
font-size: 14px;
}
.granule-date-buttons {
float: right;
}
.granule-date-item-up-button,
.granule-date-item-down-button,
.granule-date-item-top-button {
padding: 4px;
background-color: transparent;
color: #444;
border: none;
height: 28px;
margin: 0 1px;
}
.granule-date-item-up-button:hover,
.granule-date-item-down-button:hover,
.granule-date-item-top-button:hover {
background: #eee;
color: #333;
}
}
@media (min-width: variables.$desktop-min-width) {
.search-layers-container {
& div.layer-list-detail-container {
flex-direction: row;
}
}
.layer-detail-container {
height: 100% important;
&.browse .layers-all-layer {
padding: 10px 15px;
}
& .layers-all-layer {
padding: 2px 2px 4px 4px;
}
}
}
/* Need at least 1024px to fit three category boxes inline */
@media (max-width: variables.$tablet-max-width) {
.custom-layer-dialog.category-width {
width: 658px;
& .modal-body {
padding: 0 0 0 8px;
}
}
.custom-layer-dialog {
&.browse-search-width {
width: 95%;
max-width: 800px;
}
}
.layer-detail-container.search {
flex: 2;
border-top: 2px solid #d54e21;
padding: 4px 0 0 2px;
background-image: linear-gradient(#ccc, #eee 8%);
}
}
@media (min-width: variables.$tablet-min-width) {
.category-width .layer-modal-content {
height: calc(var(--vh, 1vh) * 100 - 135px);
}
.browse-search-width .layer-modal-content {
height: calc(var(--vh, 1vh) * 100 - 155px);
}
.browse-search-width .search-layers-container.browse {
height: calc(var(--vh, 1vh) * 100 - 195px);
}
.browse-search-width .search-layers-container.recent-layers {
height: calc(var(--vh, 1vh) * 100 - 235px);
}
}
@media (max-width: variables.$mobile-max-width) {
.category-width .layer-modal-content {
padding: 0;
height: calc(var(--vh, 1vh) * 100 - 40px);
}
.browse-search-width .layer-modal-content {
padding: 0;
height: calc(var(--vh, 1vh) * 100 - 70px);
}
.browse-search-width .search-layers-container.browse {
height: calc(var(--vh, 1vh) * 100 - 122px);
}
.browse-search-width .search-layers-container.recent-layers {
height: calc(var(--vh, 1vh) * 100 - 95px);
}
.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 .product-outer-list-case {
width: 100%;
}
&.category-width .modal-body {
padding: 0 4px;
}
&.category-width .search-layers-container {
height: initial;
}
&.category-width .layer-list-container.browse {
border-right: none;
padding: 0;
}
.modal-content {
border-radius: 0;
border: none;
}
.modal-header {
padding: 5px 10px;
& .header-filter-container .results-text {
text-align: right;
font-size: 16px;
}
}
}
.category-background-cover {
background-size: cover;
}
.layer-modal-content .categories-nav {
.nav-item {
margin: 0 8px 0 0;
}
.nav-link {
font-size: 11px;
padding: 1px 7px;
margin: 0;
}
}
.layers-all-layer .search-row .wv-checkbox {
left: 4px;
&::before {
font-size: 20px;
line-height: 25px;
height: 30px;
width: 30px;
}
}
}
@media (max-width: variables.$mobile-max-width) {
.layer-category {
width: 100%;
}
}
@media (max-width: variables.$desktop-min-width) and (min-width: variables.$mobile-max-width) {
.layer-category {
width: 48%;
}
}
.custom-layer-dialog-mobile {
width: 100% !important;
max-width: 100% !important;
margin: 0;
height: 100%;
& .modal-body {
padding: 0;
}
&.browse-search-width {
width: 100%;
max-width: 800px;
}
.category-width .layer-modal-content {
padding: 0;
height: calc(var(--vh, 1vh) * 100 - 40px);
}
.layer-modal-content {
padding: 0;
height: calc(var(--vh, 1vh) * 100 - 70px);
}
.search-layers-container.browse {
height: calc(var(--vh, 1vh) * 100 - 122px);
}
.search-layers-container.recent-layers {
height: calc(var(--vh, 1vh) * 100 - 95px);
}
.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 .product-outer-list-case {
width: 100%;
}
&.category-width .modal-body {
padding: 0 4px;
}
&.category-width .search-layers-container {
height: initial;
}
&.category-width .layer-list-container.browse {
border-right: none;
padding: 0;
}
.modal-content {
border-radius: 0;
border: none;
}
.modal-header {
padding: 5px 10px;
& .header-filter-container .results-text {
text-align: right;
font-size: 16px;
}
}
}
.category-masonry-case {
width: 100%;
}
.category-background-cover {
background-size: cover;
}
.layer-modal-content .categories-nav {
.nav-item {
margin: 0 8px 0 0;
}
.nav-link {
font-size: 11px;
padding: 1px 7px;
margin: 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 {
flex: 1;
border-top: 2px solid #d54e21;
padding: 4px 0 0 2px;
background-image: linear-gradient(#ccc, #eee 8%);
}
}
.collection-title {
margin-right: 4px;
}
.day-range-pill {
display: inline-grid;
flex-shrink: 0;
justify-items: center;
margin-left: 8px;
font-size: 11px;
font-weight: 700;
padding: 0.3em 0.7em;
letter-spacing: 0.3px;
white-space: nowrap;
color: #333;
background-color: #bdbdbd;
> span {
grid-area: 1 / 1;
}
.day-range-pill-sizer {
visibility: hidden;
}
}
.instrument-collection {
margin-top: 3px;
display: flex;
justify-content: space-between;
}
a[rel="noopener noreferrer"],
a[rel="noreferrer"] {
text-decoration: none;
}
a[rel="noopener noreferrer"]:hover,
a[rel="noreferrer"]:hover {
text-decoration: underline;
}
@media screen and (max-width: variables.$desktop-min-width) and (max-height: variables.$mobile-max-width) and (orientation: landscape),
(max-width: variables.$mobile-max-width) {
.instrument-collection {
h6 {
margin-right: 2px;
}
}
}
.scrollable-layer-container {
overflow-y: scroll;
max-height: calc(100vh - 95px);
height: auto;
}