Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

mobile facet style tweaks

Jason Kent3ff3d4fece8f
diff --git a/web/css/facets.css b/web/css/facets.css
index c2643ff9c..d706fedec 100644
--- a/web/css/facets.css
+++ b/web/css/facets.css
@@ -93,6 +93,18 @@
& .bag-o-chips {
margin-right: 2px;
}
+ & .facet-wrapper {
+ margin-bottom: 12px;
+ & .facet-tooltip {
+ top: 4px;
+ height: 20px;
+ width: 18px;
+ }
+ & .facet-collapse-toggle {
+ height: 34px;
+ width: 28px;
+ }
+ }
}
.apply-facets {
min-height: 50px;
@@ -102,16 +114,4 @@
margin: 4px auto;
width: 165px;
}
- .facet-wrapper {
- margin-bottom: 12px;
- }
- .facet-tooltip {
- top: 1px;
- height: 20px;
- width: 16px;
- }
- .facet-collapse-toggle {
- height: 28px;
- width: 24px;
- }
}
diff --git a/web/css/layers.css b/web/css/layers.css
index 2113d3bd1..b10f33e1c 100644
--- a/web/css/layers.css
+++ b/web/css/layers.css
@@ -468,7 +468,7 @@
padding: 8px 0 0;
& .results-text {
text-align: right;
- font-size: 13px;
+ font-size: 15px;
font-weight: 500;
& span {
margin-left: 5px;
diff --git a/web/css/search-ui-override.css b/web/css/search-ui-override.css
index eb284b315..e77d90170 100644
--- a/web/css/search-ui-override.css
+++ b/web/css/search-ui-override.css
@@ -45,7 +45,7 @@
color: #a8b6fa;
&:hover {
background-color: #666;
- outline: 4px solid #666;
+ border: 4px solid #666;
color: #eff2ff;
}
}
@@ -66,18 +66,40 @@
@media (max-width: 768px) {
.facet-container .inner-container {
& legend.sui-facet__title {
- font-size: 14px;
- padding: 0 0 2px 22px;
+ font-size: 18px;
+ padding: 0 0 2px 28px;
+ }
+ & .sui-boolean-facet {
+
+ }
+ & .sui-boolean-facet__option-label {
+ height: 32px;
+ margin-bottom: 2px;
}
& .sui-multi-checkbox-facet {
- margin: 12px 0;
+ margin-bottom: 5px 0 8px 0;
& label {
font-size: 18px;
- margin-bottom: 20px;
+ height: 32px;
+ margin-bottom: 2px;
}
}
- & .sui-multi-checkbox-facet__option-input-wrapper {
+ & .sui-multi-checkbox-facet__option-input-wrapper,
+ & .sui-boolean-facet__option-label span {
font-size: 18px;
}
+ button.sui-facet-view-more {
+ font-size: 18px;
+ margin: 0 auto 10px;
+ background: #444;
+ padding: 3px 50px;
+ border-radius: 3px;
+ &:hover {
+ background: #444;
+ border: none;
+ outline: 0;
+ color: #eff2ff;
+ }
+ }
}
}