-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtimer-addon.css
More file actions
49 lines (42 loc) · 1015 Bytes
/
Copy pathtimer-addon.css
File metadata and controls
49 lines (42 loc) · 1015 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/* Countdown badge floated left inside #tasks */
#tasks .countdown {
padding: 2px 8px;
border-radius: 6px;
font-size: 0.75rem;
font-weight: 500;
background-color: #e5f6ff;
color: #0a2540;
white-space: nowrap;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
margin-right: 8px;
}
/* Left alignment */
#tasks .countdown-left {
order: -1;
}
/* Overdue state */
#tasks .countdown.overdue {
background-color: #ffe4e4;
color: #b91c1c;
font-weight: 600;
animation: pulse 1s infinite;
}
/* Dark mode fix */
body.dark #tasks .countdown {
background-color: #2d3748;
color: #f7fafc;
}
body.dark #tasks .countdown.overdue {
background-color: #7c2d2d;
color: #fff;
}
/* Optional pulse animation for overdue */
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
.task.overdue {
border-left: 4px solid red;
background-color: #fff0f0;
}