diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-28 14:56:52 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-28 14:56:52 +0200 |
commit | d28c483bdba02cf4163e99efcb07f2ee525ddda1 (patch) | |
tree | f9becdc79bcb6495e462ec2f17762a63182dbc2a /templates/inventoryList.cassius | |
parent | de1513a40da72632b500c710c5254c8e3639b7bd (diff) | |
download | bar-d28c483bdba02cf4163e99efcb07f2ee525ddda1.tar bar-d28c483bdba02cf4163e99efcb07f2ee525ddda1.tar.gz bar-d28c483bdba02cf4163e99efcb07f2ee525ddda1.tar.bz2 bar-d28c483bdba02cf4163e99efcb07f2ee525ddda1.tar.xz bar-d28c483bdba02cf4163e99efcb07f2ee525ddda1.zip |
Implement list view
Diffstat (limited to 'templates/inventoryList.cassius')
-rw-r--r-- | templates/inventoryList.cassius | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/templates/inventoryList.cassius b/templates/inventoryList.cassius new file mode 100644 index 0000000..edb9feb --- /dev/null +++ b/templates/inventoryList.cassius | |||
@@ -0,0 +1,51 @@ | |||
1 | body > ul | ||
2 | list-style-type: none | ||
3 | margin: 0 | ||
4 | padding: 0 | ||
5 | li | ||
6 | padding: 0.25em | ||
7 | margin: 0 | ||
8 | .kindType | ||
9 | color: inherit | ||
10 | .type | ||
11 | color: #aaa | ||
12 | .type::before | ||
13 | content: "(" | ||
14 | .type::after | ||
15 | content: ")" | ||
16 | .info | ||
17 | list-style-type: none | ||
18 | margin: 0 | ||
19 | padding: 0 | ||
20 | li | ||
21 | display:inline-table | ||
22 | border-collapse: collapse | ||
23 | div | ||
24 | display: table-row | ||
25 | div | ||
26 | display: table-cell | ||
27 | background-color: #ddd | ||
28 | border-right:1px solid #999 | ||
29 | padding: 0.25em | ||
30 | div:first-child | ||
31 | border-radius: 0.5em 0 0 0.25em | ||
32 | div:last-child | ||
33 | border-right-style: none | ||
34 | border-radius: 0 0.25em 0.5em 0 | ||
35 | li.content | ||
36 | display:inline-block | ||
37 | background-color: #ddd | ||
38 | padding: 0.25em | ||
39 | border-radius: 0.5em 0.25em | ||
40 | li | ||
41 | margin-bottom:0.5em | ||
42 | li:last-child | ||
43 | margin-bottom:0 | ||
44 | |||
45 | .expireMonth | ||
46 | color: #995e00 | ||
47 | .expireWeek | ||
48 | color: #994000 | ||
49 | .expired | ||
50 | color: #990000 | ||
51 | text-decoration: line-through | ||