]> git.scottworley.com Git - vopamoi/blobdiff - vopamoi.css
Style the state-dates
[vopamoi] / vopamoi.css
index 31d439da1a2cb138ecd08b01e7f49bb6d8eff584..ac29e309b7c6f9d55e708ffe2f520dbf5021412a 100644 (file)
@@ -18,6 +18,17 @@ input.tag {
 .task {
   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;
 }