-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.css
297 lines (244 loc) · 11.8 KB
/
theme.css
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
@font-face {
font-family: 'TasksMonoEmojis';
src: url('data:@file/octet-stream;base64,d09GMgABAAAAAAigAAsAAAAAFDwAAAhQAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHII0BmAAhjIKlESRPgs+AAE2AiQDeAQgBYRqB4FSG7ERURRTn+xnQku4P6KzXOMyqnXpGLBdz7XMv/0vGIOvZdDav87c7u0hfSBSAQSHwA5VNIOuSupYyFa/qZzaBgAdtwoAGKHsSeQAmySzTFBCeRIVAAP4LB2DpCMAHngu929aa+qBp1uk+F50z8N4WiQBRYHFPS/bVvzft/Zqb5JMiFV0NnTREQZcnMPJflq4CxBtCD6oYFkCybpqVmWHKFQ9sdB9vsJXqKoKL7u/d/ZSU5g413A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laJ/WIwtkA1LgHT+J4yocYrkPiT6XL/MaUmsJltUVBjHC3BkW9e3WATZsdkNsxscv/c72aSzVKf3v9ErU0t0g2f51jq9qFtHg+yiM+/usR1af4/efAtnbqIw3UPQQCm4WZZF7IJxv7rkLHBmJm49TJAeVlpuGg7UUz1M3A50aazA+nXo48OCm0vUljDw0A/tUIQBFM+qDZJhgci16iXY2wgk6rgRGnlBgPZJpdmU+rMnibrClyaA1uvXmviniYrK2mNxiqQehNqAo2CkjoVDZq0aNOhS48+A4aMGDNhyow5C5axnBWsZBWrWcNaiHy3Iem///jilIrV+bgJOjEnfpHFxFi3+uO0LyoWlfGXlqEhaQlJxeqI3ASNjIjiz++lgS7qaKKdKK200Eg3PbQRo58aAAAA') format('woff2');
unicode-range: U+1F4C5, U+1F501, U+1F517, U+1F53A, U+1F53C, U+1F53D, U+1F6EB, U+23EB, U+23EC, U+23F3, U+2705, U+2795;
/* 📅, 🔁, 🔗, 🔺, 🔼, 🔽, 🛫, ⏫, ⏬, ⏳, ✅, ➕ */
/*! Generator: obsidian-tasks-custom-icons v1.0.3 https://github.com/replete/obsidian-tasks-custom-icons */
}
span.tasks-list-text,
.cm-line:has(.task-list-label) [class^=cm-list-] {
font-family: 'TasksMonoEmojis', var(--font-text);
}
/* MARK: task-list-item */
.task-list-item {
& input[type=checkbox] {
border-radius: 10px;
}
--priority-shadow: 0px 0px 2px 1px;
/* MARK: Start of Priority as colour */
&[data-task-priority=highest] input[type=checkbox] {
box-shadow: var(--priority-shadow) var(--color-red);
border-color: var(--color-red);
}
&[data-task-priority=high] input[type=checkbox] {
box-shadow: var(--priority-shadow) var(--color-orange);
border-color: var(--color-orange);
}
&[data-task-priority=medium] input[type=checkbox] {
box-shadow: var(--priority-shadow) var(--color-yellow);
border-color: var(--color-yellow);
}
&[data-task-priority=low] input[type=checkbox] {
box-shadow: var(--priority-shadow) var(--color-blue);
border-color: var(--color-blue);
}
&[data-task-priority=lowest] input[type=checkbox] {
box-shadow: var(--priority-shadow) var(--color-blue);
border-color: var(--color-blue);
opacity: 0.6
}
&[data-task-priority=lowest] .task-description {
opacity: 0.6
}
/* Hide priority for done tasks */
input[type=checkbox]:checked {
box-shadow: none !important;
border-color: var(--checkbox-border-color) !important;
}
/* MARK: End of Priority as colour */
}
.task-priority {
display: none;
}
.task-description {
margin-right: 3px;
}
/* Show dates hover */
:is(.task-recurring, .task-start, .task-scheduled, .task-done, .task-created, .task-due) {
font-size: 1px;
letter-spacing: -1px;
color: transparent;
background-color: transparent;
}
:is(.task-recurring, .task-start, .task-scheduled, .task-done, .task-created, .task-due)::after {
letter-spacing: 0px;
font-size: var(--font-adaptive-normal, 1rem);
line-height: var(--line-height);
color: var(--tx1, var(--text-normal));
margin-left: 3px;
}
.task-recurring::after {
content: "🔁";
}
.task-start::after {
content: "🛫";
}
.task-scheduled::after {
content: "⏳";
}
.task-done::after {
content: "✅";
}
.task-created::after {
content: "➕";
}
.task-due::after {
content: "📅";
}
.plugin-tasks-query-result [class^=task-]::after {
cursor: default !important;
opacity: 0.6
}
:is(.task-recurring, .task-start, .task-scheduled, .task-done, .task-created, .task-due):hover::after {
opacity: 1;
}
:is(.task-recurring, .task-start, .task-scheduled, .task-done, .task-created, .task-due):hover span {
position: absolute;
display: inline-block;
flex-grow: 1;
letter-spacing: 0px;
font-size: var(--font-adaptive-small, 0.8rem);
line-height: var(--line-height, 20px);
color: var(--tx1, var(--text-normal));
background: var(--bg2, var(--background-primary));
border-radius: 4px;
outline: 1px solid var(--tx3, var(--text-faint));
margin-left: 10px;
padding-left: 2px;
padding-right: 4px;
min-width: 7rem;
width: fit-content;
pointer-events: none;
z-index: 1000;
box-shadow: 2px 2px 3px var(--bg2, var(--background-primary)), 0 0 7px var(--bg2, var(--background-primary));
line-height: 1.2em;
margin-top: 1.5rem;
margin-left: 2px;
}
/* Visually flag overdue actionable tasks*/
:is(.task-list-item[data-task-status-type="TODO"] .task-start[data-task-due^="past-"], .task-list-item[data-task-status-type="TODO"] .task-scheduled[data-task-due^="past-"], .task-list-item[data-task-status-type="TODO"] .task-due[data-task-due^="past-"], .task-list-item[data-task-status-type="IN_PROGRESS"] .task-start[data-task-due^="past-"], .task-list-item[data-task-status-type="IN_PROGRESS"] .task-scheduled[data-task-due^="past-"], .task-list-item[data-task-status-type="IN_PROGRESS"] .task-due[data-task-due^="past-"])::after {
color: #FFFFFF;
background-color: #f00;
opacity: 1;
padding: 0 2px;
border-radius: 4px;
}
/* Edit button */
.tasks-edit {
/* https://caniuse.com/?search=mask-image */
-webkit-mask-image: url('data:image/svg+xml,<svg enable-background="new 0 0 24 24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z"/><path d="m15 5 4 4"/></svg>');
}
/* Postpone button */
.tasks-postpone {
/* https://caniuse.com/?search=mask-image */
-webkit-mask-image: url('data:image/svg+xml,<svg enable-background="new 0 0 24 24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><polygon points="13 19 22 12 13 5 13 19"/><polygon points="2 19 11 12 2 5 2 19"/></svg>');
}
/* Backlink button - Collapse it to 'icon' size */
.tasks-backlink {
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
color: transparent;
margin-left: -5px;
margin-right: -5px;
}
/* Backlink button - replace the default emoji */
.tasks-backlink .internal-link {
-webkit-mask-image: url('data:image/svg+xml,<svg enable-background="new 0 0 24 24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg>');
height: 1em;
width: 1em;
opacity: 0.6;
}
/* Combine some shared stylings */
.tasks-backlink .internal-link:hover {
opacity: 1;
}
.tasks-edit,
.tasks-postpone,
.tasks-backlink .internal-link {
display: inline-block;
opacity: 0.6;
margin-left: 5px;
-webkit-mask-size: contain;
background-color: var(--tx1, var(--text-normal));
vertical-align: middle;
}
.tasks-edit:hover,
.tasks-postpone:hover,
.tasks-backlink .internal-link:hover {
opacity: 1;
}
.tasks-edit::after,
.tasks-postpone::after,
.tasks-backlink .internal-link::after {
content: none;
}
/* .plugin-tasks-query-result .tasks-backlink {
float:right;
} */
/* Most of my customizations for Obsidian via CSS are here */
/* Learn more if you need to - https://www.nordtheme.com/docs/colors-and-palettes
I don't use these currently, just too lazy to remove in case I have ref'd them somewhere*/
:root {
--nord0: #2e3440;
--nord1: #3b4252;
--nord2: #434c5e;
--nord3: #4c566a;
--nord4: #d8dee9;
--nord5: #e5e9f0;
--nord6: #eceff4;
--nord7: #8fbcbb;
--nord8: #88c0d0;
--nord9: #81a1c1;
--nord10: #5e81ac;
--nord11: #bf616a;
--nord12: #d08770;
--nord13: #ebcb8b;
--nord14: #a3be8c;
--nord15: #b48ead;
}
/* I want to see the weekends, no one has options to see these anymore, not gMail, Outlook, or anything in Obsidian. */
#calendar-container .weekend {
background-color: #2E3132 !important;
}
/* Better dot colors for my Minimal theme config */
.dot.filled {
fill: #647B83 !important;
}
.hollow.task {
stroke: #009EBC !important;
}
#calendar-container tr td {
border-radius: 0px !important;
}
.callout {
margin: 0;
}
/* Turning tasks backlink into an emoji instead of written text. Much cleaner interface. See my Tasks - Compact.css for the rest of the compactness styling */
.tasks-backlink {
color: #191C1D;
}
.tasks-backlink a.internal-link {
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'%3E%3C/path%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'%3E%3C/path%3E%3C/svg%3E");
height: .9em;
opacity: 0.6;
}
.tasks-backlink a.internal-link:hover {
opacity: 1;
}
/* I USE HIDER PLUGIN SO THIS ISN'T NEEDED NOW
Show Properties in reading mode by default.
Use "hide_properties" in `css_classes` property to hide them.
============================================================= */
.workspace-leaf-content[data-mode="preview"] .markdown-preview-view.hide_properties .metadata-container {
display: none;
}
/* Psudo 'Swimlanes' for Kanban, wish the Dev would implement this (and better)! */
.kanban-plugin__board>div {
display: grid;
grid-template-columns: repeat(3, 1fr);
row-gap: 40px;
}
.kanban-plugin__scroll-container.kanban-plugin__horizontal {
overflow-y: auto;
}