Tier 3: timers CRUD + time tracking with topbar timer

This commit is contained in:
2026-02-28 05:03:16 +00:00
parent 7b259b9597
commit a1d24354a0
5 changed files with 813 additions and 1 deletions

View File

@@ -1028,3 +1028,81 @@ a:hover { color: var(--accent-hover); }
.page-content { padding: 16px; }
}
.search-type-appointments { background: var(--amber-soft); color: var(--amber); }
/* Timer buttons on task rows */
.row-timer {
display: flex;
align-items: center;
flex-shrink: 0;
}
.timer-btn {
width: 24px;
height: 24px;
border: none;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 10px;
line-height: 1;
padding: 0;
transition: background 0.15s, transform 0.1s;
}
.timer-btn:hover {
transform: scale(1.15);
}
.timer-btn-play {
background: var(--green, #22c55e)22;
color: var(--green, #22c55e);
}
.timer-btn-play:hover {
background: var(--green, #22c55e)44;
}
.timer-btn-stop {
background: var(--red, #ef4444)22;
color: var(--red, #ef4444);
}
.timer-btn-stop:hover {
background: var(--red, #ef4444)44;
}
/* Highlight row with active timer */
.list-row.timer-active {
border-left: 3px solid var(--green, #22c55e);
background: var(--green, #22c55e)08;
}
/* Timer button on task detail page */
.timer-detail-btn {
display: inline-flex;
align-items: center;
gap: 4px;
font-size: 13px;
}
.timer-detail-play {
background: var(--green, #22c55e)18;
color: var(--green, #22c55e);
border: 1px solid var(--green, #22c55e)44;
}
.timer-detail-play:hover {
background: var(--green, #22c55e)33;
}
.timer-detail-stop {
background: var(--red, #ef4444)18;
color: var(--red, #ef4444);
border: 1px solid var(--red, #ef4444)44;
}
.timer-detail-stop:hover {
background: var(--red, #ef4444)33;
}