Browse Source

lazygit

main
Gregory Leeman 1 week ago
parent
commit
9ba4d11be2
  1. 2
      workflowy-helper/diary.opml
  2. 3
      workflowy-helper/diary.py
  3. 111
      workflowy-helper/style.css

2
workflowy-helper/diary.opml

File diff suppressed because one or more lines are too long

3
workflowy-helper/diary.py

@ -10,7 +10,8 @@ def ordinal(n):
def generate_weekly_opml(week_num, year=2025): def generate_weekly_opml(week_num, year=2025):
start_date = datetime.date(year, 1, 1) + datetime.timedelta(weeks=week_num-1) start_date = datetime.date(year, 1, 1) + datetime.timedelta(weeks=week_num-1)
start_date = start_date - datetime.timedelta(days=start_date.weekday() + 1) start_date = start_date - datetime.timedelta(days=start_date.weekday())
# start_date = start_date - datetime.timedelta(days=start_date.weekday() + 1)
day_date = start_date day_date = start_date
weekday = day_date.strftime('%A') weekday = day_date.strftime('%A')
week_outline = ET.Element( week_outline = ET.Element(

111
workflowy-helper/style.css

@ -46,7 +46,7 @@ body {
/* } */ /* } */
body::-webkit-scrollbar { body::-webkit-scrollbar {
display: none; /* Chrome, Safari, Opera */ display: none;
} }
.pageContainer { .pageContainer {
@ -62,18 +62,11 @@ body::-webkit-scrollbar {
height: 0 !important; height: 0 !important;
} }
/* .name > .content { */
/* white-space: nowrap; */
/* } */
.name > .content > .innerContentContainer { .name > .content > .innerContentContainer {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.link, .link,
.contentTag { .contentTag {
color: var(--dark-grey) !important; color: var(--dark-grey) !important;
@ -122,59 +115,15 @@ body::-webkit-scrollbar {
content: "→"; content: "→";
} }
/* l0 {{{ */
.linked-xHOTSPOT > .name .innerContentContainer {
font-weight: bold;
}
.linked-xHOTSPOT > .name .innerContentContainer,
.linked-xHOTSPOT > .notes .innerContentContainer {
color: var(--white);
}
/* }}} */
/* l1 {{{ */
.linked-xGOAL > .name .innerContentContainer {
font-weight: bold;
}
.linked-xGOAL > .name .innerContentContainer, .linked-xGOAL > .name .innerContentContainer,
.linked-xGOAL > .notes .innerContentContainer { .linked-xGOAL > .notes .innerContentContainer {
color: var(--yellow); color: var(--yellow);
} }
.linked-xRESPONSIBILITY > .name .innerContentContainer { .linked-xGOAL > .name .innerContentContainer {
font-weight: bold;
}
.linked-xRESPONSIBILITY > .name .innerContentContainer,
.linked-xRESPONSIBILITY > .notes .innerContentContainer {
color: var(--red);
}
.linked-xSTORY > .name .innerContentContainer {
font-weight: bold; font-weight: bold;
} }
.linked-xSTORY > .name .innerContentContainer,
.linked-xSTORY > .notes .innerContentContainer {
color: var(--blue);
}
.linked-xSOMEDAY > .name .innerContentContainer {
font-weight: bold;
}
.linked-xSOMEDAY > .name .innerContentContainer,
.linked-xSOMEDAY > .notes .innerContentContainer {
color: var(--violet);
}
/* }}} */
/* l2 {{{ */
.linked-xVISUALISATION > .name .innerContentContainer {
font-weight: bold;
}
.linked-xVISUALISATION > .name .innerContentContainer, .linked-xVISUALISATION > .name .innerContentContainer,
.linked-xVISUALISATION > .notes .innerContentContainer { .linked-xVISUALISATION > .notes .innerContentContainer {
color: var(--red); color: var(--red);
@ -195,10 +144,10 @@ body::-webkit-scrollbar {
.linked-xPROJECT.tagged-STALLED > .notes .innerContentContainer { .linked-xPROJECT.tagged-STALLED > .notes .innerContentContainer {
color: var(--cyan); color: var(--cyan);
} }
.linked-xPROJECT.tagged-SOMEDAY > .name .innerContentContainer,
/* }}} */ .linked-xPROJECT.tagged-SOMEDAY > .notes .innerContentContainer {
color: var(--violet);
/* l3 {{{ */ }
.linked-xHABIT > .name .innerContentContainer, .linked-xHABIT > .name .innerContentContainer,
.linked-xHABIT > .notes .innerContentContainer { .linked-xHABIT > .notes .innerContentContainer {
@ -232,8 +181,6 @@ body::-webkit-scrollbar {
color: var(--violet); color: var(--violet);
} }
/* }}} */
.tag-DAILY { .tag-DAILY {
color: var(--blue) !important; color: var(--blue) !important;
} }
@ -263,6 +210,11 @@ body::-webkit-scrollbar {
color: var(--yellow) !important; color: var(--yellow) !important;
} }
.project:not(.linked) > .notes .time-today > .content-wrapper {
background-color: var(--white) !important;
color: var(--black);
}
.linked > .name .time-tomorrow > .content-wrapper { .linked > .name .time-tomorrow > .content-wrapper {
color: var(--violet) !important; color: var(--violet) !important;
} }
@ -316,28 +268,53 @@ body::-webkit-scrollbar {
color: var(--blue) !important; color: var(--blue) !important;
} }
.tagged-e > .name > .content > .innerContentContainer, .tagged-event > .name > .content > .innerContentContainer,
.tagged-e > .name > .content > .innerContentContainer > .contentTag { .tagged-event > .name > .content > .innerContentContainer > .contentTag {
background-color: var(--red) !important; background-color: var(--red) !important;
color: var(--black) !important; color: var(--black) !important;
} }
.tagged-r > .name > .content > .innerContentContainer, .tagged-reminder > .name > .content > .innerContentContainer,
.tagged-r > .name > .content > .innerContentContainer > .contentTag { .tagged-reminder > .name > .content > .innerContentContainer > .contentTag {
background-color: var(--blue) !important; background-color: var(--blue) !important;
color: var(--black) !important; color: var(--black) !important;
} }
.tagged-g > .name > .content > .innerContentContainer, .tagged-gym > .name > .content > .innerContentContainer,
.tagged-g > .name > .content > .innerContentContainer > .contentTag { .tagged-gym > .name > .content > .innerContentContainer > .contentTag {
background-color: var(--yellow) !important; background-color: var(--yellow) !important;
color: var(--black) !important; color: var(--black) !important;
} }
.tagged-w > .name > .content > .innerContentContainer { .tagged-work > .name > .content > .innerContentContainer {
color: var(--magenta) !important;
}
.tagged-plan > .name > .content > .innerContentContainer {
color: var(--green) !important;
}
.half-open.tagged-a > .name > .bullet,
.collapsed.tagged-a > .name > .bullet,
.tagged-a > .name > .bullet {
color: var(--red) !important; color: var(--red) !important;
} }
.tagged-p > .name > .content > .innerContentContainer { .half-open.tagged-b > .name > .bullet,
.collapsed.tagged-b > .name > .bullet,
.tagged-b > .name > .bullet {
color: var(--blue) !important;
}
.half-open.tagged-c > .name > .bullet,
.collapsed.tagged-c > .name > .bullet,
.tagged-c > .name > .bullet {
color: var(--green) !important; color: var(--green) !important;
} }
.half-open.tagged-d > .name > .bullet,
.collapsed.tagged-d > .name > .bullet,
.tagged-d > .name > .bullet {
color: var(--violet) !important;
}

Loading…
Cancel
Save