Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

style tweaks

Jason Kent182c62bacd2d
diff --git a/web/css/event-filter.css b/web/css/event-filter.css
index a1f2c9ddd..3624da323 100644
--- a/web/css/event-filter.css
+++ b/web/css/event-filter.css
@@ -68,10 +68,10 @@
}
}
.category-toggles {
- margin: 14px 10px 15px;
+ margin: 20px 10px 15px;
}
.wv-checkbox {
- margin-left: 10px;
+ margin: 25px 10px 5px;
}
}
@@ -101,8 +101,17 @@
border-radius: 6px;
border: 1px solid #ddd;
}
+ .react-calendar__month-view__days__day--neighboringMonth {
+ color: #dfdfdf;
+ }
.react-calendar__month-view__days__day--weekend {
color: #000;
+ &[disabled] {
+ color: #ccc !important;
+ }
+ &.react-calendar__month-view__days__day--neighboringMonth {
+ color: #dfdfdf !important;
+ }
}
.react-calendar__navigation__label__labelText--from {
margin-right: 100px;
@@ -132,10 +141,10 @@
.react-calendar__year-view__months {
background: #fff;
}
- .react-calendar__tile:hover {
+ .react-calendar__tile:hover:not([disabled]) {
background-color: #e7eeff;
}
- .react-calendar__tile--active:hover {
+ .react-calendar__tile--active:hover:not([disabled]) {
color: #fff;
background: #006edc;
}
diff --git a/web/js/components/sidebar/events-filter.js b/web/js/components/sidebar/events-filter.js
index cffb8c245..5f8f24356 100644
--- a/web/js/components/sidebar/events-filter.js
+++ b/web/js/components/sidebar/events-filter.js
@@ -134,12 +134,11 @@ function EventsFilter (props) {
})}
</div>
+
<Checkbox
- className="red"
id="events-footer-checkbox"
- label="Only show events in current map view"
+ label="Only list events in current map view"
onCheck={toggleListAll}
- text="List All"
checked={!showAll}
/>