Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

add custom styles to nouislider #1548

Benjamin Kingffef87e37430
diff --git a/web/css/nouislider-override.css b/web/css/nouislider-override.css
new file mode 100644
index 000000000..572ce33b2
--- /dev/null
+++ b/web/css/nouislider-override.css
@@ -0,0 +1,19 @@
+.noUi-horizontal {
+ height: 6px;
+}
+.noUi-horizontal .noUi-handle {
+ width: 24px;
+ height: 24px;
+ left: -12px;
+ top: -11px;
+ border-radius: 50%;
+}
+.noUi-handle::before, .noUi-handle::after {
+ height: 11px;
+}
+.noUi-handle::before {
+ left: 9px;
+}
+.noUi-handle::after {
+ left: 12px;
+}
diff --git a/web/js/app.js b/web/js/app.js
index 63dee8c51..96df67174 100644
--- a/web/js/app.js
+++ b/web/js/app.js
@@ -120,6 +120,7 @@ import '../css/fonts.css';
import '../css/reset.css';
import '../css/compare.css';
import '../css/jquery-ui-override.css';
+import '../css/nouislider-override.css';
import '../css/util.css';
import '../css/toolbar.css';
import '../css/alert.css';