feat(webapp): rest timer in sets header
Shows mm:ss since the last set was added for the current exercise. Purely client-side — no round trip to the server. Resets on new exercise, clears when no current exercise or 0 sets, and survives draft restore. The settings-toggle gate is still TBD (Profile/settings feature isn't built yet); the timer is small and muted enough to keep always-on in the meantime. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
f36912febe
commit
dabceeeb18
3 changed files with 81 additions and 1 deletions
|
|
@ -208,6 +208,19 @@ body {
|
|||
align-items: center;
|
||||
}
|
||||
|
||||
.sets-header-left {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.rest-timer {
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
||||
font-size: 13px;
|
||||
color: var(--tg-theme-hint-color, #999);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.btn-danger {
|
||||
color: #e53935 !important;
|
||||
font-size: 12px !important;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue