summaryrefslogtreecommitdiffstats
path: root/webapp/sass/layout/_navigation.scss
blob: 59b348d9ec31cf26e9fae3653f816119782f921e (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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
@charset 'UTF-8';

.nav > li > a:focus,
.nav > li > a:hover {
    background: transparent;
}

.nav-tabs {
    margin-bottom: 10px;

    > li {
        margin-right: 5px;

        > a {
            border-bottom-color: transparent !important;
            padding: 7px 15px;

            .small {
                @include opacity(.8);
                margin-left: 4px;
            }
        }
    }
}

#navbar {
    input {
        margin: 0 5px 0 2px;
    }

    .navbar-default {
        background: $primary-color;
        border: none;
        min-height: 45px;
        position: absolute;

        .navbar-nav {
            > li {
                > a {
                    height: 45px;
                    padding: 0 1.3em;

                    i {
                        line-height: 45px;
                    }
                }
            }
        }

        .navbar-toggle {
            border-color: transparent;
            border-radius: 0;
            fill: $white;
            float: left;
            height: 44px;
            line-height: 48px;
            margin: 0;
            padding: 0 10px;
            width: 43px;
            z-index: 5;

            .icon-bar {
                background: $white;
                width: 21px;
            }

            .icon-search {
                font-size: 17px;
                position: relative;
                top: -2px;
            }

            .icon--white {
                color: $white;
            }

            &:hover,
            &:active,
            &:focus {
                background: inherit;
            }
        }

        .navbar-brand {
            float: none;
            font-size: 16px;
            height: 45px;
            line-height: 45px;
            padding: 0 .5em;

            .heading {
                color: $white;
                display: inline-block;
                font-weight: 600;
                line-height: 47px;
                margin-right: 5px;
                max-width: calc(100% - 200px);
                overflow: hidden;
                vertical-align: top;
            }

            .header-dropdown__icon {
                margin-left: 0;
                top: -1px;
            }

            .dropdown-toggle {
                color: $white;
            }

            .description {
                color: $white;
                display: inline-block;
                margin-right: 1em;

                &.info-popover {
                    @include background-size(100% 100%);
                    background-image: url('../images/info__icon.png');
                    cursor: pointer;
                    height: 19px;
                    position: relative;
                    top: 13px;
                    vertical-align: middle;
                    width: 19px;
                }
            }
        }
    }

    .sidebar-channel {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;

        span {
            margin-left: 2px;
            white-space: nowrap;
        }
    }

    .channel-create-btn {
        margin-right: 15px;
    }

    .more-channel-table {
        border: 1px solid #dbdbdc;
        width: 100%;

        td {
            padding: 7px;
        }

        button {
            width: 110px;
        }
    }
}

.badge-notify {
    background: $red;
    left: 4px;
    position: absolute;
    top: 3px;
    z-index: 100;
}