From f612dbd7642ec1bbdade76dec8916c6c445f73c3 Mon Sep 17 00:00:00 2001 From: Romulus21 Date: Fri, 13 Nov 2026 19:15:06 +0100 Subject: [PATCH] =?UTF-8?q?Remplace=20=C2=AB=20Arr=C3=AAter=20=C2=BB=20par?= =?UTF-8?q?=20un=20picto=20stop=20dans=20le=20timer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bouton rond avec l'icône stop ; en mobile, l'horloge et le stop passent sous la description, côte à côte, sans déborder. Co-Authored-By: Claude Opus 5.5 --- static/app.css | 4 +++- templates/_timer.html | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/static/app.css b/static/app.css index bad72d6..119464d 100644 --- a/static/app.css +++ b/static/app.css @@ -123,6 +123,8 @@ a.btn { color: var(--text); text-decoration: none; } .timer-start { margin-top: .35rem; font-size: .9rem; } .timer-start input { width: 11rem; } .clock { font-size: 2rem; font-weight: 600; font-variant-numeric: tabular-nums; } +.btn.icon.timer-stop { width: 3rem; height: 3rem; border-radius: 50%; } +.timer-stop svg { width: 20px; height: 20px; } .start { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto; gap: .5rem; } .note { color: var(--muted); font-size: .9rem; } @@ -188,7 +190,7 @@ input[type="color"] { @media (max-width: 640px) { .current { grid-template-columns: 1fr auto; } - .current .btn { grid-column: 1 / -1; } + .current-label { grid-column: 1 / -1; min-width: 0; } .start { grid-template-columns: 1fr; } .report .label { width: auto; } .bar-cell { width: 30%; } diff --git a/templates/_timer.html b/templates/_timer.html index 80a043d..7908e79 100644 --- a/templates/_timer.html +++ b/templates/_timer.html @@ -1,3 +1,4 @@ +{% import "_icons.html" as icons %}
{% if let Some(e) = running %}
@@ -11,7 +12,7 @@
{{ e.duration() }}
- + {% endif %} {% if groups.is_empty() %}