Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

base facet styles

Jason Kent490afe802d67
diff --git a/web/css/layers.css b/web/css/layers.css
index 7d3a3252d..7ac644cad 100644
--- a/web/css/layers.css
+++ b/web/css/layers.css
@@ -788,10 +788,10 @@
}
&.browse-search-width {
width: 95%;
- max-width: 978px;
+ max-width: 700px;
& .product-outter-list-case {
width: 100%;
- padding: 5px 11px 5px 5px;
+ padding: 5px 11px 5px 2px;
}
}
@@ -830,6 +830,7 @@
& .filter-button {
background-color: #d54e21;
border-color: #b55a3c;
+ margin-right: 10px;
}
}
@@ -984,7 +985,7 @@
border-right: 1px solid #ccc;
}
&.search:not(.mobile) {
- max-width: 400px;
+ max-width: 430px;
}
&.mobile {
background-image: linear-gradient(360deg, #aaa, #ddd 15%);
diff --git a/web/css/search-ui-override.css b/web/css/search-ui-override.css
new file mode 100644
index 000000000..b6be14e8b
--- /dev/null
+++ b/web/css/search-ui-override.css
@@ -0,0 +1,80 @@
+
+.sui-facet + .sui-facet {
+ margin-top: 16px;
+}
+
+.layer-modal-content .facet-container {
+ flex-grow: 1;
+ max-width: 270px;
+
+ & .inner-container {
+ padding: 10px 8px 10px 10px;
+ margin: 3px 10px 2px 2px;
+ background-color: #333;
+
+ /* @media (max-width: 800px) {
+ div.sui-layout-sidebar {
+
+ }
+ button.sui-layout-sidebar-toggle {
+ background-color: #33425f;
+ color: #fff;
+ }
+ } */
+ div.sui-layout-sidebar {
+ width: 30%;
+ }
+
+ div.sui-layout-body, div.sui-layout-header {
+ background: #333;
+ }
+
+ legend.sui-facet__title {
+ font-weight: 600;
+ color: #eee;
+ border-bottom: 1px solid #aaa;
+ }
+
+ div.sui-boolean-facet,
+ a.sui-single-option-facet__link,
+ div.sui-paging-info,
+ div.sui-results-per-page__label {
+ color: #eee;
+ }
+
+ .sui-multi-checkbox-facet label {
+ margin-bottom: 4px;
+ & .sui-multi-checkbox-facet__input-text {
+ color: #eee;
+ }
+ }
+
+ span.sui-facet__count,
+ span.sui-boolean-facet__option-count,
+ span.sui-multi-checkbox-facet__option-count {
+ color: #ccc;
+ }
+
+ button.sui-facet-view-more {
+ color: #a8b6fa;
+ }
+
+ div.sui-layout-body::after {
+ background: #333;
+ }
+
+ li.sui-result {
+ padding: 5px;
+ border: 1px solid #333;
+ background: #ccc;
+ }
+
+ ul.sui-paging .rc-pagination-item-active a {
+ color: #eee;
+ }
+
+ h1, h2, h3, h4, h5 {
+ margin: 8px 12px;
+ }
+ }
+}
diff --git a/web/js/app.js b/web/js/app.js
index 4e801e663..23173962c 100644
--- a/web/js/app.js
+++ b/web/js/app.js
@@ -45,6 +45,7 @@ import '../css/alert.css';
import '../css/reset.css';
import '../css/compare.css';
import '../css/jquery-ui-override.css';
+import '../css/search-ui-override.css';
import '../css/rc-slider-overrides.css';
import '../css/util.css';
import '../css/toolbar.css';