Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Remove css:important #1084

Benjamin King64ef4c162ae8
diff --git a/web/css/timeline.css b/web/css/timeline.css
index 5bdd307d4..a40d7d3c9 100644
--- a/web/css/timeline.css
+++ b/web/css/timeline.css
@@ -569,6 +569,7 @@ g.plot rect.data-bar-invisible {
}
.ab-group-case {
display: none;
+ cursor: pointer;
}
.ab-group-case-active {
fill: #fff;
@@ -590,7 +591,6 @@ g.plot rect.data-bar-invisible {
fill: #fff;
opacity: 1;
pointer-events: initial;
- cursor: pointer;
}
.ab-group-case text {
fill: #fff;
@@ -603,5 +603,5 @@ g.plot rect.data-bar-invisible {
display: block;
}
.ab-active #guitarpick {
- display: none !important;
+ display: none;
}
diff --git a/web/js/date/timeline-pick.js b/web/js/date/timeline-pick.js
index fcb192567..61eae6c6b 100644
--- a/web/js/date/timeline-pick.js
+++ b/web/js/date/timeline-pick.js
@@ -154,7 +154,7 @@ export function timelinePick(models, config, ui) {
tl.pan.xPosition = tl.axisZoom.translate()[0];
tl.pan.axis();
}
- $('#guitarpick').show();
+ $('#guitarpick').removeClass('hidden');
};
// Hide/show pick if it goes off/on the timeline
@@ -163,9 +163,9 @@ export function timelinePick(models, config, ui) {
self.offset - width / 2 >= tl.width - tl.margin.left - tl.margin.right ||
self.offset <= -30
) {
- $('#guitarpick').hide();
+ $('#guitarpick').addClass('hidden');
} else {
- $('#guitarpick').show();
+ $('#guitarpick').removeClass('hidden');
}
};