-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
38 lines (35 loc) · 2.24 KB
/
Copy pathstyles.css
File metadata and controls
38 lines (35 loc) · 2.24 KB
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
/* ========== Task Status Labels ========== */
/* Reading View: using data-task-status-name from Tasks plugin */
li[data-task-status-name="TODO"] > .tasks-list-text::before {
content: "TODO "; color: #e03131; font-weight: 700; font-size: 0.85em;
}
li[data-task-status-name="WAITING"] > .tasks-list-text::before {
content: "WAITING "; color: #e67700; font-weight: 700; font-size: 0.85em;
}
li[data-task-status-name="ASK"] > .tasks-list-text::before {
content: "ASK "; color: #7c3aed; font-weight: 700; font-size: 0.85em;
}
li[data-task-status-name="DONE"] > .tasks-list-text::before {
content: "DONE "; color: #2b8a3e; font-weight: 700; font-size: 0.85em;
}
li[data-task-status-name="DONE"] { text-decoration: line-through; color: #868e96; }
/* Reading View: fallback without Tasks plugin */
li.task-list-item[data-task=" "]:not([data-task-status-name]) > *:last-child::before {
content: "TODO "; color: #e03131; font-weight: 700; font-size: 0.85em;
}
li.task-list-item[data-task="w"]:not([data-task-status-name]) > *:last-child::before {
content: "WAITING "; color: #e67700; font-weight: 700; font-size: 0.85em;
}
li.task-list-item[data-task="?"]:not([data-task-status-name]) > *:last-child::before {
content: "ASK "; color: #7c3aed; font-weight: 700; font-size: 0.85em;
}
li.task-list-item[data-task="x"]:not([data-task-status-name]) > *:last-child::before {
content: "DONE "; color: #2b8a3e; font-weight: 700; font-size: 0.85em;
}
li.task-list-item[data-task="x"]:not([data-task-status-name]) { text-decoration: line-through; color: #868e96; }
/* Live Preview (CodeMirror editor) */
.HyperMD-task-line[data-task=" "] .task-list-label::after { content: " TODO"; color: #e03131; font-weight: 700; font-size: 0.85em; margin-left: 2px; }
.HyperMD-task-line[data-task="w"] .task-list-label::after { content: " WAITING"; color: #e67700; font-weight: 700; font-size: 0.85em; margin-left: 2px; }
.HyperMD-task-line[data-task="?"] .task-list-label::after { content: " ASK"; color: #7c3aed; font-weight: 700; font-size: 0.85em; margin-left: 2px; }
.HyperMD-task-line[data-task="x"] .task-list-label::after { content: " DONE"; color: #2b8a3e; font-weight: 700; font-size: 0.85em; margin-left: 2px; }
.HyperMD-task-line[data-task="x"] { text-decoration: line-through; color: #868e96; }