Affiche le timer en cours dans le header
Pastille à droite du header sur toutes les pages (fragment /ui/timer/entete) : description ou projet, chrono et bouton stop, bordée à la couleur du projet. L'arrêt émet timer-changed pour rafraîchir le timer de l'accueil (GET /ui/timer). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
cbc8ba8ce0
commit
ef69462e06
7 files changed
+79
-2
No files matched your search
@@ -52,6 +52,14 @@ h2 { font-size: 1.1rem; }
|
||||
padding: .35rem .75rem; border-radius: 999px; color: var(--muted); text-decoration: none;
|
||||
}
|
||||
.topbar nav a[aria-current="page"] { background: var(--bg); color: var(--text); font-weight: 600; }
|
||||
#mini-timer { margin-left: auto; }
|
||||
.mini-timer {
|
||||
display: flex; align-items: center; gap: .6rem; min-width: 0;
|
||||
border: 2px solid var(--color); border-radius: 999px; padding: .2rem .25rem .2rem .85rem;
|
||||
}
|
||||
.mini-timer-label { max-width: 14rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
|
||||
.mini-timer .clock { font-size: 1rem; }
|
||||
.mini-timer .btn { border-radius: 50%; }
|
||||
|
||||
main { max-width: 960px; margin: 1.5rem auto; padding: 0 16px; display: grid; gap: 1rem; }
|
||||
|
||||
|
||||
Reference in new issue
Block a user