Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

better handle colours

Blue Mouse9189c7a07ffd
diff --git a/web/app/styles/index.css b/web/app/styles/index.css
index ed7bd3307..767864d5b 100644
--- a/web/app/styles/index.css
+++ b/web/app/styles/index.css
@@ -59,32 +59,75 @@
cursor: grab;
}
+/*
+input[type="range"]::-webkit-slider-thumb {
+ transition: transform 150ms ease;
+}
+input[type="range"]::-webkit-slider-thumb:active {
+ transform: scale(.98);
+}
+
+input[type="range"]::-moz-range-thumb {
+ transition: transform 150ms ease;
+}
+input[type="range"]::-moz-range-thumb:active {
+ transform: scale(.98);
+} */
+
.arrows-handle::-webkit-slider-thumb {
+ transition: transform 150ms ease;
-webkit-appearance: none;
appearance: none;
width: 30px;
height: 30px;
border: 0;
border-radius: 50%;
- background-color: #6366f1;
background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2212%22%20height%3D%228%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8%20.5v7L12%204zM0%204l4%203.5v-7z%22%20fill%3D%22%23FFFFFF%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E');
background-position: center;
background-repeat: no-repeat;
cursor: grab;
}
+.arrows-handle::-webkit-slider-thumb {
+ /* indigo-600 */
+ background-color: oklch(51.1% 0.262 276.966)
+}
+
+.arrows-handle::-webkit-slider-thumb:hover {
+ /* indigo-700 */
+ background-color: oklch(45.7% 0.24 277.023)
+}
+
+.arrows-handle::-webkit-slider-thumb:active {
+ transform: scale(0.97);
+}
+
.arrows-handle::-moz-range-thumb {
+ transition: all 150ms ease;
width: 30px;
height: 30px;
border: 0;
border-radius: 50%;
- background-color: #6366f1;
background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2212%22%20height%3D%228%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8%20.5v7L12%204zM0%204l4%203.5v-7z%22%20fill%3D%22%23FFFFFF%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E');
background-position: center;
background-repeat: no-repeat;
cursor: grab;
}
+.arrows-handle::-moz-range-thumb {
+ /* indigo-600 */
+ background-color: oklch(51.1% 0.262 276.966)
+}
+
+.arrows-handle::-moz-range-thumb:hover {
+ /* indigo-700 */
+ background-color: oklch(45.7% 0.24 277.023)
+}
+
+.arrows-handle::-moz-range-thumb:active {
+ transform: scale(0.97);
+}
+
/* hover-always: visible on hover for devices that support it,
and always visible for devices that don't support hover */
@media (hover: hover) and (pointer: fine) {