diff --git a/static/app.css b/static/app.css index 5131af8..331372f 100644 --- a/static/app.css +++ b/static/app.css @@ -87,6 +87,14 @@ label { display: flex; align-items: center; gap: .35rem; color: var(--muted); } .btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); font-weight: 600; } .btn.danger { color: var(--danger); } .btn.small { padding: .2rem .55rem; font-size: .85rem; } +.btn.icon { display: inline-flex; align-items: center; justify-content: center; padding: .3rem; line-height: 0; } +.btn.icon svg { display: block; } +.btn-group { display: inline-flex; } +.btn-group > .btn { border-radius: 0; } +.btn-group > .btn + .btn { margin-left: -1px; } +.btn-group > .btn:first-child { border-radius: 8px 0 0 8px; } +.btn-group > .btn:last-child { border-radius: 0 8px 8px 0; } +.btn-group > .btn:hover { position: relative; z-index: 1; } .htmx-request .btn, .btn.htmx-request { opacity: .6; } .badge { font-size: .75rem; padding: .1rem .5rem; border-radius: 999px; background: var(--bg); color: var(--muted); } diff --git a/templates/_entry_row.html b/templates/_entry_row.html index c7748af..ed55cf3 100644 --- a/templates/_entry_row.html +++ b/templates/_entry_row.html @@ -8,8 +8,10 @@ {{ e.note }} {{ e.duration() }} - - - +
+ + + +