client / static /css /timer.css
P01yH3dr0n's picture
launch
774fe36
Raw
History Blame Contribute Delete
994 Bytes
/* ===== Task Timer ===== */
.task-timer-wrap {
display: flex;
align-items: center;
gap: 6px;
padding: 3px 8px;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
font-size: 0.75rem;
white-space: nowrap;
}
.task-timer-bar-bg {
width: 50px;
height: 4px;
background: var(--border);
border-radius: 2px;
overflow: hidden;
flex-shrink: 0;
}
.task-timer-bar-fill {
height: 100%;
background: var(--accent);
border-radius: 2px;
transition: width 0.15s linear;
}
.task-timer-bar-fill.overtime {
background: var(--warning);
}
.task-timer-text {
color: var(--text-secondary);
font-variant-numeric: tabular-nums;
font-weight: 500;
}
@media (max-width: 768px) {
.task-timer-wrap {
font-size: 0.7rem;
padding: 2px 6px;
}
.task-timer-bar-bg {
width: 30px;
}
}
@media (max-width: 400px) {
.task-timer-bar-bg { display: none; }
}