aboutsummaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/taxonomies.scss
blob: 446fd200dfb582be4392c5046274f3a377675cd1 (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
/*
 * SPDX-FileCopyrightText: 2020 IN COMMON Collective <collective@incommon.cc
 *
 * SPDX-License-Identifier: LAL-1.3
 */

body>aside {
    width: auto;

    span[data-target="taxonomy.filter"] {
        z-index: 990;
        background: var(--icon-menu-on) top left/32px no-repeat;
        width: 32px;
        height: 32px;
        position: absolute;
        top: 6.1rem;
        left: 10px;

        &.off {
            background-image: var(--icon-menu-off);
        }
        &.on {
            background-image: var(--icon-menu-on);
        }
    }

    nav {
        z-index: 900;
        position: fixed;
        top: 5.5rem;
        bottom: 0;
        margin: 0;
        padding: 0;
        background-color: var(--incommon-blue);
        display: block;
        border-top-right-radius: 1rem;
        width: 20rem;
        height: calc(100% - 7.5rem);
        padding-top: 48px;
    }
}

/* Dewey Taxonomy */
#taxonomy-2519915f-d19c-4281-b758-f5ddb889d7fa {
    ol {
        list-style: none;
        margin: 0;
        padding: 0;

        li {
            padding: 0.5rem 1rem;
        }

        ol {
            display: none;
        }
        ol.active {
            font-weight: bold;
            text-align: right;
            li {
                display: initial;
                &.active {
                    font-weight: bold;
                    text-align: right;
                }
            }
        }
    }

    #category-30 { background-color: #BCBCBC; }
    #category-31 { background-color: #95a5a6; }
    #category-32 { background-color: #848482; }
    #category-33 { background-color: #948279; }
    #category-34 { background-color: #59706a; }
    #category-35 { background-color: #16a085; }
    #category-36 { background-color: #27ae60; }
    #category-37 { background-color: #2980b9; }
    #category-38 { background-color: #34495e; }
    #category-39 { background-color: #bd3525; }
    #category-40 { background-color: #d35400; }
    #category-42 { background-color: #eead0e; }
}