diff --git a/frontend/src/components/GridControls.tsx b/frontend/src/components/GridControls.tsx
index 4aa2bd3..3e5ecaf 100644
--- a/frontend/src/components/GridControls.tsx
+++ b/frontend/src/components/GridControls.tsx
@@ -84,8 +84,8 @@ export function BpmReadout({
}
const T_BTN =
- 'flex h-8 items-center justify-center rounded-lg font-mono text-xs text-text transition-colors ' +
- 'hover:bg-ink-800 disabled:opacity-30 disabled:hover:bg-transparent'
+ 'flex h-8 items-center justify-center rounded-lg font-mono text-xs text-text transition-[background-color,transform] duration-75 ' +
+ 'hover:bg-ink-800 active:scale-[0.92] active:bg-white/[0.14] disabled:opacity-30 disabled:hover:bg-transparent disabled:active:scale-100'
/** Nudge / octave / tap / lock — always visible on the control row. */
export function TempoControls({
@@ -126,7 +126,7 @@ export function TempoControls({
const off = bpm == null
const of = flexible ? ` of marker ${markerIndex + 1}` : ''
return (
-
+
@@ -188,7 +188,9 @@ export function GridEditStrip({
}) {
const hasGrid = markerCount > 0
const flexible = markerCount > 1
- const nudge = 'flex h-10 items-center px-2 font-mono text-[11px] text-text hover:bg-ink-800 disabled:opacity-30'
+ const nudge =
+ 'flex h-10 items-center px-2 font-mono text-[11px] text-text transition-[background-color,transform] duration-75 ' +
+ 'hover:bg-ink-800 active:scale-[0.92] active:bg-white/[0.14] disabled:opacity-30'
const pill = 'flex h-[34px] shrink-0 items-center gap-1.5 rounded-full px-3 text-xs disabled:opacity-35'
return (
// A container, so the three actions on the right can drop their labels
@@ -224,7 +226,7 @@ export function GridEditStrip({
-
+
{/* Phase nudges move the GOVERNING marker — not gated on atMarker,
since the drift is heard at the playhead, not at the marker. */}
diff --git a/frontend/src/components/LoopControls.tsx b/frontend/src/components/LoopControls.tsx
index 5ba9671..ca26b2b 100644
--- a/frontend/src/components/LoopControls.tsx
+++ b/frontend/src/components/LoopControls.tsx
@@ -44,6 +44,11 @@ const LIT =
const KEY =
'flex items-center justify-center rounded-[9px] transition-[color,background-color,box-shadow,transform,filter] duration-75 ' +
'active:scale-[0.93] active:brightness-125 disabled:opacity-30 disabled:active:scale-100'
+// One half of the ‹ › pair: its own hover and press, inside the shared surface.
+const HALF =
+ 'flex h-10 w-[34px] items-center justify-center text-text transition-[background-color,transform] duration-75 ' +
+ 'hover:bg-white/[0.08] active:scale-[0.92] active:bg-white/[0.14] disabled:opacity-30 ' +
+ 'disabled:hover:bg-transparent disabled:active:scale-100'
// An armed IN: a green rim and glow — "waiting for OUT".
const ARMED =
'bg-mint/15 text-mint shadow-[inset_0_0_0_1px_rgb(61_220_132/0.75),0_0_12px_-3px_rgb(61_220_132/0.7)]'
@@ -172,12 +177,12 @@ export function LoopControls({
)}
-
+
@@ -185,7 +190,7 @@ export function LoopControls({
onClick={() => onMove(1)}
disabled={!canMove}
title={`${what} forward (→)`}
- className="flex h-10 w-[34px] items-center justify-center text-text disabled:opacity-30"
+ className={`${HALF} rounded-r-xl`}
>
diff --git a/frontend/src/index.css b/frontend/src/index.css
index c6433f7..2a1c85e 100644
--- a/frontend/src/index.css
+++ b/frontend/src/index.css
@@ -242,6 +242,16 @@ option {
background: rgb(255 255 255 / 0.12);
}
+ /* A row of buttons that should LOOK like one raised control (‹ ›, the tempo
+ group) but act as separate keys: the btn-glass surface with no hover of
+ its own, so only the key under the pointer reacts. */
+ .glass-group {
+ background: rgb(255 255 255 / 0.07);
+ box-shadow:
+ inset 0 1px 0 rgb(255 255 255 / 0.14),
+ inset 0 0 0 1px rgb(255 255 255 / 0.08);
+ }
+
/* THE primary action: a lit pill, white into the accent. One per view. */
.btn-primary {
color: var(--color-ink-950);