Retouches après captures : minuteur sous la barre d'action, onboarding, correction des séries au temps ; docs/design.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
af92c021e2
commit
dadd4088fc
@@ -46,6 +46,9 @@
|
||||
display: flex; align-items: center; gap: var(--space-3);
|
||||
}
|
||||
.action-bar__in > .btn { flex: 1; }
|
||||
/* Le minuteur s'empile sous la barre d'action : « Terminer la séance » reste
|
||||
accessible pendant un repos. */
|
||||
body.has-timer .action-bar { bottom: calc(var(--timer-h) + env(safe-area-inset-bottom)); padding-bottom: 0; border-top-color: transparent; }
|
||||
.action-bar__meta { color: var(--text-muted); font-family: var(--font-display); font-weight: 600; font-size: var(--fs-md); white-space: nowrap; }
|
||||
|
||||
/* ---- Cartes ------------------------------------------------------------- */
|
||||
@@ -146,6 +149,16 @@ a.card--today:hover { border-color: var(--line-strong); border-left-color: var(-
|
||||
display: grid; place-items: center; background: var(--primary); color: var(--on-primary);
|
||||
font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg);
|
||||
}
|
||||
.card--onboarding { border-left: 6px solid var(--primary); padding: var(--space-5) var(--space-4); }
|
||||
.how__step strong { font-weight: 700; }
|
||||
.how__step span { color: var(--text-muted); }
|
||||
.status--info { color: var(--text); }
|
||||
.copy-line { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-2); }
|
||||
.copy-line__text {
|
||||
flex: 1; min-width: 0; padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm);
|
||||
background: var(--surface-sunk); color: var(--text); border: 1px solid var(--line);
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: var(--fs-xs); overflow-wrap: anywhere;
|
||||
}
|
||||
.alt { display: grid; gap: var(--space-2); margin-top: var(--space-5); }
|
||||
.manual-copy { margin-top: var(--space-3); display: grid; gap: var(--space-2); }
|
||||
|
||||
@@ -194,6 +207,7 @@ a.card--today:hover { border-color: var(--line-strong); border-left-color: var(-
|
||||
transition: opacity .2s, transform .2s;
|
||||
}
|
||||
.toast--on { opacity: 1; transform: translate(-50%, 0); }
|
||||
body.has-timer .toast { bottom: calc(var(--action-bar-h) + var(--timer-h) + var(--space-4) + env(safe-area-inset-bottom)); }
|
||||
|
||||
/* ---- Minuteur ----------------------------------------------------------- */
|
||||
.timer {
|
||||
@@ -207,7 +221,7 @@ a.card--today:hover { border-color: var(--line-strong); border-left-color: var(-
|
||||
content: ""; position: absolute; inset: 0; background: var(--text);
|
||||
transform-origin: left; transform: scaleX(var(--progress, 1)); transition: transform .25s linear;
|
||||
}
|
||||
.timer__in { max-width: var(--max); margin: 0 auto; padding: var(--space-3) var(--gutter); display: flex; align-items: center; gap: var(--space-3); }
|
||||
.timer__in { max-width: var(--max); height: calc(var(--timer-h) - 4px); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: var(--space-3); }
|
||||
.timer__read { flex: 1; min-width: 0; }
|
||||
.timer__label { font-size: var(--fs-xs); color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.timer__time { font-size: 2.75rem; line-height: 1; }
|
||||
|
||||
Reference in New Issue
Block a user