aboutsummaryrefslogtreecommitdiffstats
path: root/tiddlers/plugin-org-gtd-styles.tid
diff options
context:
space:
mode:
Diffstat (limited to 'tiddlers/plugin-org-gtd-styles.tid')
-rw-r--r--tiddlers/plugin-org-gtd-styles.tid159
1 files changed, 159 insertions, 0 deletions
diff --git a/tiddlers/plugin-org-gtd-styles.tid b/tiddlers/plugin-org-gtd-styles.tid
new file mode 100644
index 0000000..345a4ee
--- /dev/null
+++ b/tiddlers/plugin-org-gtd-styles.tid
@@ -0,0 +1,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;
+ }
+}