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() %}