summaryrefslogtreecommitdiff
path: root/client/css/expander-control.styl
blob: 928f5e4a22026bfc69d455183fd5af07cf268ab1 (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
@import colors

.expander
    &.collapsed
        margin-bottom: 1em
        &>*
            display: none
        &>header
            display: block
    header
        background: $active-tab-background-color
        line-height: 2em
        a
            padding: 0 0.5em
            display: block
            color: mix($text-color, $inactive-link-color)
            span
                font-size: 120%
            i
                font-size: 1em
                color: $inactive-link-color
                float: right
                line-height: 2em
    .expander-content
        padding: 0.5em 0.5em 2em 0.5em

.darktheme .expander
    header
        background: $active-tab-background-color-darktheme
        a
            color: mix($text-color-darktheme, $inactive-link-color-darktheme)
            i
                color: $inactive-link-color-darktheme