blob: 903418e369210b1910549d320d81057ebe74d2d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
/*
* SPDX-FileCopyrightText: 2020 IN COMMON Collective <collective@incommon.cc
*
* SPDX-License-Identifier: LAL-1.3
*/
[data-controller="taxonomy"] {
height: 100%;
overflow: hidden auto;
scrollbar-color: var(--incommon-clear85) var(--incommon-blue);
scrollbar-width: thin;
nav {
position: relative;
bottom: 0;
margin: 0;
padding: 0;
height: calc(100% - 7.5rem);
padding-top: 32px;
max-width: 35rem;
width: 89vw;
display: none;
}
&.on {
nav {
display: block;
}
}
}
button[data-action="taxonomy#toggle"] {
position: absolute;
left: 0.7rem;
display: block;
cursor: pointer;
padding: 16px;
color: transparent;
background: transparent var(--icon-menu-off) top left/32px no-repeat;
border: none;
text-align: center;
z-index: 1002;
&.on {
background-image: var(--icon-menu-on);
}
}
/* Dewey Taxonomy */
#taxonomy-2519915f-d19c-4281-b758-f5ddb889d7fa {
ol {
list-style: none;
margin: 0;
padding: 0;
li {
padding: 0.5rem 1rem;
font-weight: normal;
text-align: left;
z-index: 1001;
}
ol {
display: none;
}
}
.active {
font-weight: bold;
ol {
display: block;
z-index: 1002;
}
li.active {
text-align: right;
z-index: 1002;
}
}
#category-30 { background-color: #BCBCBC; } /* #BCBCBC */
#category-31 { background-color: #95a5a6; } /* #FF9200 */
#category-32 { background-color: #848482; } /* #FFEB00 */
#category-33 { background-color: #948279; } /* #7CFB80 */
#category-34 { background-color: #59706a; } /* #16A085 */
#category-35 { background-color: #16a085; } /* #97C000 */
#category-36 { background-color: #27ae60; } /* #C6B117 */
#category-37 { background-color: #2980b9; } /* #7E8AE0 */
#category-38 { background-color: #34495e; } /* #677362 */
#category-39 { background-color: #bd3525; }
#category-40 { background-color: #d35400; } /* #948279 */
#category-42 { background-color: #eead0e; } /* #EEAD0E */
}
|