From dc472fc583b2a3dc291ea6ec871842155d342d98 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Thu, 27 Jan 2022 23:07:47 -0800 Subject: [PATCH] Style the state-dates --- vopamoi.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/vopamoi.css b/vopamoi.css index 68d4773..ac29e30 100644 --- a/vopamoi.css +++ b/vopamoi.css @@ -19,8 +19,16 @@ input.tag { clear: right; } .statedate { + font-size: 80%; margin-right: 0.5em; -} + padding: 0 .2em; + border-radius: 1em; +} +.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: #fef; } #ui { padding: 15px 10px; } -- 2.44.1