aboutsummaryrefslogtreecommitdiffstats
path: root/tiddlers/plugin-org-gtd-styles.tid
blob: 345a4ee3da5b7285d756fa29f8c843aff17e5032 (plain)
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
title: $:/plugins/local/org-gtd/styles
tags: $:/tags/Stylesheet

.tc-org-document {
	--org-todo: #c74b50;
	--org-next: <<colour primary>>;
	--org-wait: #b27b2f;
	--org-done: <<colour muted-foreground>>;
}

.tc-org-heading {
	margin: 1.15rem 0 0.45rem;
	line-height: 1.35;
}

.tc-org-heading-done {
	color: <<colour muted-foreground>>;
	text-decoration: line-through;
}

.tc-org-state {
	display: inline-block;
	padding: 0.1rem 0.4rem;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.03em;
	border: 1px solid currentColor;
	border-radius: 0.25rem;
}

.tc-org-state-todo { color: #c74b50; }
.tc-org-state-next { color: <<colour primary>>; }
.tc-org-state-wait { color: #b27b2f; }
.tc-org-state-done { color: <<colour muted-foreground>>; }

.tc-org-tags {
	color: <<colour muted-foreground>>;
	font-size: 0.78em;
	font-weight: 500;
}

.tc-org-planning {
	margin: 0.25rem 0 0.25rem 1rem;
	color: <<colour muted-foreground>>;
	font-family: monospace;
	font-size: 0.88em;
}

.tc-org-body-line {
	margin: 0.2rem 0;
	white-space: pre-wrap;
}

.cm-org-gtd-fold-marker {
	color: <<colour primary>>;
	cursor: pointer;
	font-weight: 700;
}

.tc-org-agenda-toolbar {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 1rem;
}

.tc-org-agenda-new {
	padding: 0.45rem 0.8rem;
	color: <<colour background>>;
	background: <<colour primary>>;
	border-radius: 0.35rem;
}

.tc-org-agenda-section {
	margin: 0 0 1.5rem;
	border-top: 2px solid <<colour tiddler-border>>;
}

.tc-org-agenda-overdue {
	border-top-color: #c74b50;
}

.tc-org-agenda-today {
	border-top-color: <<colour primary>>;
}

.tc-org-agenda-section-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0.6rem 0 0.45rem;
	font-size: 1rem;
}

.tc-org-agenda-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.45rem;
	height: 1.45rem;
	padding: 0 0.35rem;
	color: <<colour muted-foreground>>;
	background: <<colour sidebar-tab-background>>;
	border-radius: 999px;
	font-size: 0.75rem;
}

.tc-org-agenda-row {
	display: grid;
	grid-template-columns: auto minmax(8rem,1fr) auto;
	align-items: center;
	gap: 0.45rem 0.7rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid <<colour tiddler-border>>;
}

.tc-org-agenda-task {
	min-width: 0;
	color: <<colour foreground>>;
	font-weight: 600;
	text-align: left;
}

.tc-org-agenda-task:hover,
.tc-org-agenda-task:focus {
	color: <<colour primary>>;
	text-decoration: underline;
}

.tc-org-agenda-source,
.tc-org-agenda-meta,
.tc-org-agenda-empty {
	color: <<colour muted-foreground>>;
	font-size: 0.82rem;
}

.tc-org-agenda-meta {
	grid-column: 2 / -1;
}

.tc-org-agenda-empty {
	margin: 0;
	padding: 0.6rem 0;
}

@media (max-width: 600px) {
	.tc-org-agenda-row {
		grid-template-columns: auto minmax(0,1fr);
	}

	.tc-org-agenda-source {
		grid-column: 2;
	}

	.tc-org-agenda-meta {
		grid-column: 2;
	}
}