diff --git a/index.html b/index.html index 18a2690..ba380db 100644 --- a/index.html +++ b/index.html @@ -115,17 +115,16 @@ .log-head { font-weight:600; font-size:13px; margin-bottom:3px; } .log-seg { font-size:12px; color:var(--muted); margin:2px 0 0 12px; font-family:"Courier New",monospace; } .practice { border-top:1px solid var(--edge); margin-top:16px; padding-top:4px; } - #routineToggle { background:#2c3a4d; border-color:#3b5168; color:#cfe3ff; font-weight:600; } - /* docked side panel: pushes the metronome (no overlap); sticky so it stays in view */ - #routineTray { display:none; flex:0 0 340px; align-self:flex-start; position:sticky; top:18px; + /* set-list panel: always shown — sticky beside the metronome on desktop, + stacks below it on narrow screens */ + #routineTray { flex:0 0 340px; align-self:flex-start; position:sticky; top:18px; max-height:calc(100vh - 36px); overflow:auto; background:linear-gradient(180deg, var(--panel), var(--bg)); border:1px solid var(--edge); border-radius:14px; padding:16px; box-shadow:0 10px 30px rgba(0,0,0,.25); } - #routineTray.open { display:block; } - /* narrow screens: fall back to an overlay drawer */ + .tval { font-family:"Courier New",monospace; font-size:13px; color:var(--hot); min-width:42px; } + .tval.low { color:#ffb454; } @media (max-width: 820px) { #app { display:block; } - #routineTray { position:fixed; top:0; right:0; height:100%; max-height:none; width:min(360px,92vw); - border-radius:0; border:none; border-left:1px solid var(--edge); box-shadow:-12px 0 40px rgba(0,0,0,.45); z-index:60; } + #routineTray { position:static; max-height:none; width:auto; margin-top:18px; } } .tray-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; } .practice-col { border-left:1px solid var(--edge); padding-left:18px; } @@ -170,8 +169,7 @@