]> git.scottworley.com Git - vopamoi/blobdiff - vopamoi.css
Style the state-dates
[vopamoi] / vopamoi.css
index 9f4469c367b127851cf79d76555181e0721d3a2b..ac29e309b7c6f9d55e708ffe2f520dbf5021412a 100644 (file)
@@ -4,9 +4,51 @@ input {
 .tag {
   float: right;
   margin-left: 1em;
-  font-size: 85%;
+  font-size: 80%;
+}
+span.tag {
+  color: white;
+  padding: 1px .5em;
+  font-weight: bold;
 }
 input.tag {
   width: 7em;
   border: none;
 }
+.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;
+}
+body:before, body:after {
+  content: "";
+  position: fixed;
+  background: var(--view-state-indicator-color);
+  left: 0;
+  right: 0;
+  height: 5px;
+}
+body:before {
+  top: 0;
+}
+body:after {
+  bottom: 0;
+}
+body {
+  margin: 0;
+  min-height: 100vh;
+  border-left: 5px solid var(--view-state-indicator-color);
+  border-right: 5px solid var(--view-state-indicator-color);
+}