X-Git-Url: http://git.scottworley.com/vopamoi/blobdiff_plain/a6268469ffa825e27c6ade6e38772ca307c52742..refs/heads/main:/vopamoi.css diff --git a/vopamoi.css b/vopamoi.css index 31d439d..4b566f1 100644 --- a/vopamoi.css +++ b/vopamoi.css @@ -6,6 +6,9 @@ input { margin-left: 1em; font-size: 80%; } +body.dark .tag { + opacity: 60%; +} span.tag { color: white; padding: 1px .5em; @@ -15,9 +18,50 @@ input.tag { width: 7em; border: none; } +.content { + font-size: 80%; +} +.content, textarea { + margin-left: 2em; + color: #555; + white-space: pre; +} +body.dark .content, body.dark textarea { + color: #bbb; +} +textarea { + width: 90%; + height: 5em; +} +body.dark textarea { + background-color: black; +} +.hide { + display: none; +} .task { clear: right; } +.task > .task { + margin-left: 1em; +} +.statedate { + font-size: 80%; + margin-right: 0.5em; + padding: 0 .2em; + border-radius: 1em; +} +body.dark .statedate { opacity: 60%; } +.task[data-state=cancelled] > .statedate { background-color: #fee; } +.task[data-state=deleted] > .statedate { background-color: #ddd; } +.task[data-state=done] > .statedate { background-color: #efe; } +.task[data-state=someday-maybe] > .statedate { background-color: #eef; } +.task[data-state=waiting] > .statedate { background-color: #faf; } +body.dark .task[data-state=cancelled] > .statedate { background-color: #600; } +body.dark .task[data-state=deleted] > .statedate { background-color: #222; } +body.dark .task[data-state=done] > .statedate { background-color: #060; } +body.dark .task[data-state=someday-maybe] > .statedate { background-color: #006; } +body.dark .task[data-state=waiting] > .statedate { background-color: #303; } #ui { padding: 15px 10px; } @@ -41,3 +85,7 @@ body { border-left: 5px solid var(--view-state-indicator-color); border-right: 5px solid var(--view-state-indicator-color); } +body.dark, body.dark input { + color: #eee; + background-color: black; +}