]> git.scottworley.com Git - vopamoi/blame - vopamoi.css
README
[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}
e26a06f9
SW
9body.dark .tag {
10 opacity: 60%;
11}
c70b3eed
SW
12span.tag {
13 color: white;
14 padding: 1px .5em;
15 font-weight: bold;
7b5b90b9
SW
16}
17input.tag {
18 width: 7em;
634868c9 19 border: none;
7b5b90b9 20}
b9f7e989
SW
21.content {
22 font-size: 80%;
23}
24.content, textarea {
25 margin-left: 2em;
26 color: #555;
6f7f64e3 27 white-space: pre;
b9f7e989 28}
e26a06f9
SW
29body.dark .content, body.dark textarea {
30 color: #bbb;
31}
b9f7e989
SW
32textarea {
33 width: 90%;
34 height: 5em;
35}
e26a06f9
SW
36body.dark textarea {
37 background-color: black;
38}
312acaa8
SW
39.hide {
40 display: none;
41}
73ffc3d0
SW
42.task {
43 clear: right;
44}
3a164930
SW
45.task > .task {
46 margin-left: 1em;
47}
b5ac5cc3 48.statedate {
dc472fc5 49 font-size: 80%;
b5ac5cc3 50 margin-right: 0.5em;
dc472fc5
SW
51 padding: 0 .2em;
52 border-radius: 1em;
53}
e26a06f9 54body.dark .statedate { opacity: 60%; }
dc472fc5
SW
55.task[data-state=cancelled] > .statedate { background-color: #fee; }
56.task[data-state=deleted] > .statedate { background-color: #ddd; }
57.task[data-state=done] > .statedate { background-color: #efe; }
58.task[data-state=someday-maybe] > .statedate { background-color: #eef; }
c548954c 59.task[data-state=waiting] > .statedate { background-color: #faf; }
e26a06f9
SW
60body.dark .task[data-state=cancelled] > .statedate { background-color: #600; }
61body.dark .task[data-state=deleted] > .statedate { background-color: #222; }
62body.dark .task[data-state=done] > .statedate { background-color: #060; }
63body.dark .task[data-state=someday-maybe] > .statedate { background-color: #006; }
64body.dark .task[data-state=waiting] > .statedate { background-color: #303; }
4c532769
SW
65#ui {
66 padding: 15px 10px;
67}
68body:before, body:after {
69 content: "";
70 position: fixed;
71 background: var(--view-state-indicator-color);
72 left: 0;
73 right: 0;
74 height: 5px;
75}
76body:before {
77 top: 0;
78}
79body:after {
80 bottom: 0;
81}
82body {
83 margin: 0;
84 min-height: 100vh;
85 border-left: 5px solid var(--view-state-indicator-color);
86 border-right: 5px solid var(--view-state-indicator-color);
87}
e26a06f9
SW
88body.dark, body.dark input {
89 color: #eee;
90 background-color: black;
91}