From 0f66034c0e448269e0ff83e0aabb2a8a66b7c971 Mon Sep 17 00:00:00 2001 From: Jerome Potter Date: Wed, 14 Jan 2026 22:47:03 -0800 Subject: [PATCH 1/6] Refine UI controls and undo behavior --- index.html | 202 +++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 140 insertions(+), 62 deletions(-) diff --git a/index.html b/index.html index 4d812f0..ca8f51f 100644 --- a/index.html +++ b/index.html @@ -15,6 +15,8 @@ --panel-bg: #f4f4f2; --border: 1px solid #bbb; --shadow: 0 2px 5px rgba(0,0,0,0.1); + --slider-track: rgba(0,0,0,0.12); + --slider-border: rgba(0,0,0,0.08); } /* DARK MODE overrides */ @@ -24,6 +26,8 @@ --panel-bg: #2a2a2a; --border: 1px solid #444; --shadow: 0 4px 10px rgba(0,0,0,0.4); + --slider-track: rgba(255,255,255,0.12); + --slider-border: rgba(255,255,255,0.12); } @font-face { @@ -71,7 +75,13 @@ font-weight: 500; letter-spacing: 0.5px; z-index: 10; - justify-content: space-between; + justify-content: space-between; + } + + .hud-group { + display: flex; + align-items: center; + gap: 16px; } h1.title { @@ -83,7 +93,6 @@ } @media (min-width: 768px) { h1.title { display: block; } - #hud-top { justify-content: flex-start; } } .hud-item { @@ -125,6 +134,7 @@ .volume-control input[type=range] { width: 90px; + --slider-height: 30px; } /* CONTROLS BAR */ @@ -144,7 +154,7 @@ .controls-row { width: 100%; display: flex; - justify-content: space-between; + justify-content: center; align-items: flex-end; gap: 20px; pointer-events: none; @@ -291,21 +301,41 @@ } input[type=range] { -webkit-appearance: none; - width: 100px; - height: 4px; - background: #ccc; - border-radius: 2px; + appearance: none; + width: 140px; + --slider-height: 36px; + height: var(--slider-height); + background: transparent; outline: none; + cursor: pointer; } input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; - width: 18px; - height: 18px; - border-radius: 50%; + width: 4px; + height: 22px; + border-radius: 999px; background: var(--ink-color); - cursor: pointer; - border: 2px solid var(--bg-color); - box-shadow: 0 1px 3px rgba(0,0,0,0.3); + margin-top: calc((var(--slider-height) - 22px) / 2); + box-shadow: 0 0 0 6px rgba(255,255,255,0.25); + } + input[type=range]::-webkit-slider-runnable-track { + height: var(--slider-height); + background: var(--slider-track); + border-radius: 999px; + border: 1px solid var(--slider-border); + } + input[type=range]::-moz-range-track { + height: var(--slider-height); + background: var(--slider-track); + border-radius: 999px; + border: 1px solid var(--slider-border); + } + input[type=range]::-moz-range-thumb { + width: 4px; + height: 22px; + border-radius: 999px; + background: var(--ink-color); + border: none; } /* PANELS */ @@ -364,10 +394,9 @@ .key-circle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink-color); display: flex; justify-content: center; align-items: center; cursor: pointer; - font-size: 0.75em; font-weight: bold; opacity: 0.5; + font-size: 0.75em; font-weight: bold; opacity: 1; background: #fff; color: var(--ink-color); } - .key-circle.active { background: var(--ink-color); color: var(--bg-color); opacity: 1; } - .key-circle.black-key { background: rgba(0,0,0,0.1); } + .key-circle.active { background: #000; color: #fff; opacity: 1; } #start-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; @@ -382,6 +411,7 @@ gap: 5px; } .hud-item { font-size: 0.75em; } + .hud-group { gap: 8px; } select.midi-select { max-width: 80px; @@ -412,9 +442,9 @@ gap: 8px 6px; } - input[type=range] { width: 70px; } + input[type=range] { width: 110px; --slider-height: 30px; } .macro-slider-container label { font-size: 0.7em !important; } - .volume-control input[type=range] { width: 70px; } + .volume-control input[type=range] { width: 80px; } .btn-text { font-size: 0.7em; @@ -453,19 +483,26 @@

-

LES CERCLES

-
AUDIO: ON
-
SETTINGS
- -
- +
+

LES CERCLES

+
AUDIO: ON
+
SETTINGS
-
- - +
+
+ +
+ +
+ + +
+ + +
@@ -474,8 +511,6 @@

LES CERCLES

- -
@@ -483,36 +518,33 @@

LES CERCLES

- - -
+
-
-
-
- - -
- -
- - -
- - - - - -
- - -
- - +
+
+
+ + +
+ +
+ + +
+ + + + + +
+ +
+ +
@@ -612,6 +644,13 @@

Settings

+
+ + +
+
+ +
- - +
+ Volume + 100% + +
- +
+
- - +
+ Speed + 1.0x + +
@@ -526,22 +585,31 @@

LES CERCLES

- - +
+ Gates + 1 + +
- - +
+ Transpose + 0 + +
- +
- - +
+ Gate Speed + 10 RPM + +
@@ -565,12 +633,18 @@

LES CERCLES

- - +
+ RPM + 0.00 + +
- - +
+ Volume + 70% + +
@@ -581,8 +655,11 @@

LES CERCLES

-
@@ -564,9 +622,12 @@

LES CERCLES

-
-
-
+
+
+ NOTES +
+ +
Speed @@ -576,14 +637,20 @@

LES CERCLES

- + +
+ +
+ +
-
+
-
-
+
+ GATES +
Gates @@ -614,13 +681,7 @@

LES CERCLES

-
- -
- -
- -
+