summaryrefslogtreecommitdiffstats
path: root/webapp/sass/layout/_team-sidebar.scss
blob: dd80a4d1213265b20419ea1d74058ed6b5c3d427 (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
.multi-teams {
    .team-sidebar {
        height: 100%;
        left: 0;
        position: fixed;
        text-align: center;
        width: 75px;
        z-index: 5;

        .team-wrapper {
            background-color: rgba(0, 0, 0, 0.2);
            height: 100%;
            overflow: auto;
            padding-top: 15px;

            .team-container {
                width: 100%;
                text-align: center;
                display: table;
                margin-bottom: 10px;
                position: relative;

                .team-btn {
                    border: none;
                    height: 42px;
                    text-align: center;
                    font-weight: bold;
                    border-radius: 5px;
                    position: relative;
                    width: 42px;
                    background-color: rgba(0, 0, 0, 0.3);
                    display: table-cell;
                    vertical-align: middle;

                    .badge {
                        position: absolute;
                        top: -3px;
                        right: -6px;
                        font-size: 10px;
                    }
                }

                &.active {
                    .team-btn {
                        border: 1px solid #fff;
                        background-color: transparent;
                    }
                }

                &.active:before {
                    background: black;
                    content: '';
                    height: 100%;
                    left: 0;
                    position: absolute;
                    top: 0;
                    width: 5px;
                }

                &.unread:before {
                    background: black;
                    border-radius: 50%;
                    content: '';
                    height: 5px;
                    left: 0;
                    position: absolute;
                    top: 18px;
                    width: 5px;
                }

                a.team-disabled {
                    cursor: not-allowed;
                    opacity: 0.5;
                }
            }

            .team-container a:hover {
                text-decoration: none;
            }
        }
    }

    .sidebar--left {
        left: 75px;
    }

    .app__content {
        margin-left: 295px;
    }
}