summaryrefslogtreecommitdiffstats
path: root/web/sass-files/sass/partials/_sidebar--left.scss
blob: b1dd470d2a14f5c56a379ba7e94d0b5fb129efc1 (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
92
93
94
95
.sidebar--left {
    position: absolute;
    width: 220px;
    left: 0;
    height: 100%;
    border-right: $border-gray;
    padding: 0 0 2em 0;
    background: #fafafa;
    &.sidebar--padded {
        padding-top: 44px;
    }
    .search__form {
        margin: 0;
        padding: 1em 1em 0;
        display: none;
    }
    > div {
        height: 100%;
        position: absolute;
        padding-bottom: 70px;
        width: 100%;
    }
    .badge {
        background-color: $primary-color;
    }
    .status {
        position:relative;
        top:1px;
        margin-right: 3px;
        .online--icon {
            fill: #7DBE00;
        }
    }
    .nav-pills__container {
        height: 100%;
        position: relative;
        overflow: auto;
    }
    .nav {
        &.nav-stacked {
            > li+li {
                margin: 0;
            }
        }
        li {
            > h4 {
                font-size: 1em;
                text-transform: uppercase;
                margin: 1.1em 0 0.5em;
                font-weight: 400;
                color: #AAA;
                letter-spacing: -0.3px;
                padding: 0 10px 0 15px;
            }
            > a {
                padding: 3px 10px 3px 25px;
                line-height: 1.5;
                border-radius: 0;
                color: #999;
                &.unread-title {
                    color: #333;
                    font-weight: bold;
                }
                &:hover, &:focus {
                    background: #e6f2fa;
                }
            }
            &.active {
                a, a:hover, a:focus {
                    color: #111;
                    background-color: #e1e1e1;
                    border-radius: 0;
                }
            }
        }
    }
    .modal-title {
        line-height: 2em;
    }

    .add-channel-btn {
        float: right;
        outline: none;
        margin: -2px 0 0 0;
        color: #AAA;
        padding: 0 5px;
        text-decoration: none;
        font-size: 22px;
        line-height: 18px;
        font-weight: 700;
        &:hover {
            color: #666;
        }
    }
}