Initial commit
This commit is contained in:
50
timer-pill.css
Normal file
50
timer-pill.css
Normal file
@@ -0,0 +1,50 @@
|
||||
|
||||
/* ---- Timer Pill (topbar) ---- */
|
||||
.timer-pill {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 4px 12px;
|
||||
background: var(--green-soft);
|
||||
border: 1px solid var(--green);
|
||||
border-radius: 20px;
|
||||
font-size: 0.82rem;
|
||||
transition: all var(--transition);
|
||||
}
|
||||
.timer-pill.hidden { display: none; }
|
||||
.timer-pill-dot {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: var(--green);
|
||||
animation: timer-pulse 1.5s infinite;
|
||||
}
|
||||
@keyframes timer-pulse {
|
||||
0%, 100% { opacity: 1; }
|
||||
50% { opacity: 0.3; }
|
||||
}
|
||||
.timer-pill-task {
|
||||
color: var(--text);
|
||||
font-weight: 500;
|
||||
max-width: 160px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.timer-pill-task:hover { color: var(--accent); }
|
||||
.timer-pill-elapsed {
|
||||
font-family: var(--font-mono);
|
||||
font-weight: 600;
|
||||
color: var(--green);
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
.timer-pill-stop {
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--red);
|
||||
font-size: 1rem;
|
||||
cursor: pointer;
|
||||
padding: 0 2px;
|
||||
line-height: 1;
|
||||
}
|
||||
.timer-pill-stop:hover { color: #fff; }
|
||||
Reference in New Issue
Block a user