From 8f4ebc103f34ecd8bc7f7e22ae8f459cc8826316 Mon Sep 17 00:00:00 2001 From: Gregory Leeman Date: Tue, 25 Feb 2025 22:56:26 +0000 Subject: [PATCH] lazygit --- workflowy-helper/main.js | 4 ++++ workflowy-helper/style.css | 42 ++++++++++++++++++++++++++++++++++---- 2 files changed, 42 insertions(+), 4 deletions(-) diff --git a/workflowy-helper/main.js b/workflowy-helper/main.js index 4c9a724..a0cb045 100644 --- a/workflowy-helper/main.js +++ b/workflowy-helper/main.js @@ -117,6 +117,10 @@ tag.classList.add("tag"); tag.classList.add("tag-" + tagText); } + var computedStyle = window.getComputedStyle(tag); + // if (computedStyle.backgroundColor === "rgb(227, 160, 8)") { + // tag.classList.add("tag-yellow"); + // } }); const links = n.querySelectorAll('.contentLink'); links.forEach(link => { diff --git a/workflowy-helper/style.css b/workflowy-helper/style.css index 3f70637..fa28f2a 100644 --- a/workflowy-helper/style.css +++ b/workflowy-helper/style.css @@ -187,12 +187,12 @@ body::-webkit-scrollbar { .linked-xPROJECT.tagged-ACTIVE > .notes .innerContentContainer { color: var(--magenta); } -.linked-xPROJECT.tagged-ACTIVE.tagged-PLANT > .name .innerContentContainer, -.linked-xPROJECT.tagged-ACTIVE.tagged-PLANT > .notes .innerContentContainer { +.linked-xPROJECT.tagged-PLANT > .name .innerContentContainer, +.linked-xPROJECT.tagged-PLANT > .notes .innerContentContainer { color: var(--orange); } -.linked-xPROJECT.tagged-WAITING > .name .innerContentContainer, -.linked-xPROJECT.tagged-WAITING > .notes .innerContentContainer { +.linked-xPROJECT.tagged-STALLED > .name .innerContentContainer, +.linked-xPROJECT.tagged-STALLED > .notes .innerContentContainer { color: var(--cyan); } @@ -281,3 +281,37 @@ body::-webkit-scrollbar { .root > .name { color: var(--white) !important; } + +.linked.tagged-done > .name > .content, +.linked.tagged-done > .notes > .content, +.linked.tagged-done > .name time > span, +.linked.tagged-missed > .name > .content, +.linked.tagged-missed > .notes > .content, +.linked.tagged-missed > .name time > span, +.linked.tagged-na > .name > .content, +.linked.tagged-na > .notes > .content, +.linked.tagged-na > .name time > span { + /* opacity: 0.5 !important; */ + /* text-decoration: none !important; */ + text-decoration: line-through !important; + text-decoration-thickness: 2px !important; +} + +.linked.tagged-done > .name > .content, +.linked.tagged-done > .name time > span { + text-decoration-color: var(--green) !important; +} + +.linked.tagged-missed > .name > .content, +.linked.tagged-missed > .name time > span { + text-decoration-color: var(--red) !important; +} + +.linked.tagged-na > .name > .content, +.linked.tagged-na > .name time > span { + text-decoration-color: var(--blue) !important; +} + +.tag-new { + color: var(--blue) !important; +}