]> git.scottworley.com Git - vopamoi/blame - vopamoi.css
Modern web boilerplate
[vopamoi] / vopamoi.css
CommitLineData
4e05a0a2
SW
1input {
2 width: calc(100% - 8px); /* 8px to account for the default padding and border */
3}
7b5b90b9
SW
4.tag {
5 float: right;
6 margin-left: 1em;
c70b3eed
SW
7 font-size: 80%;
8}
9span.tag {
10 color: white;
11 padding: 1px .5em;
12 font-weight: bold;
7b5b90b9
SW
13}
14input.tag {
15 width: 7em;
634868c9 16 border: none;
7b5b90b9 17}
b9f7e989
SW
18.content {
19 font-size: 80%;
20}
21.content, textarea {
22 margin-left: 2em;
23 color: #555;
6f7f64e3 24 white-space: pre;
b9f7e989
SW
25}
26textarea {
27 width: 90%;
28 height: 5em;
29}
312acaa8
SW
30.hide {
31 display: none;
32}
73ffc3d0
SW
33.task {
34 clear: right;
35}
3a164930
SW
36.task > .task {
37 margin-left: 1em;
38}
b5ac5cc3 39.statedate {
dc472fc5 40 font-size: 80%;
b5ac5cc3 41 margin-right: 0.5em;
dc472fc5
SW
42 padding: 0 .2em;
43 border-radius: 1em;
44}
45.task[data-state=cancelled] > .statedate { background-color: #fee; }
46.task[data-state=deleted] > .statedate { background-color: #ddd; }
47.task[data-state=done] > .statedate { background-color: #efe; }
48.task[data-state=someday-maybe] > .statedate { background-color: #eef; }
c548954c 49.task[data-state=waiting] > .statedate { background-color: #faf; }
4c532769
SW
50#ui {
51 padding: 15px 10px;
52}
53body:before, body:after {
54 content: "";
55 position: fixed;
56 background: var(--view-state-indicator-color);
57 left: 0;
58 right: 0;
59 height: 5px;
60}
61body:before {
62 top: 0;
63}
64body:after {
65 bottom: 0;
66}
67body {
68 margin: 0;
69 min-height: 100vh;
70 border-left: 5px solid var(--view-state-indicator-color);
71 border-right: 5px solid var(--view-state-indicator-color);
72}