aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/css/header.less
blob: b1bd9c0412fbd84aa85d99408e664aa6841b1f21 (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
@import (reference) '../../node_modules/bootstrap/less/variables.less';
@import (reference) '../../node_modules/bootstrap/less/mixins/grid.less';

header {
    padding-top: 0.5em;
    background-color: white;
    @separator-color: lighten(grey, 15%);
    .menu {
        padding: 10px;
        border-bottom: solid @separator-color 1px;
    }
}

@menu-row-gutter-width: 5px;
.menu-row {
    .make-row(@menu-row-gutter-width);
}

.filter-input {
    .make-sm-column(3, @menu-row-gutter-width);
    margin-bottom:5px;
}

.filter-input .popover {
    top: 27px;
    display: block;
    max-width: none;
    opacity: 0.9;

    .popover-content {
        max-height: 500px;
        overflow-y: auto;
    }
}

.menu .toggle-btn {
    .make-xs-column(4, @menu-row-gutter-width);
    .make-sm-column(3, @menu-row-gutter-width);
    .make-lg-column(2, @menu-row-gutter-width);
    margin-bottom:5px;
}

.menu .toggle-btn .btn {
    width: 100%;
}

.menu .toggle-input-btn {
    .make-sm-column(6, @menu-row-gutter-width);
    .make-lg-column(4, @menu-row-gutter-width);
    margin-bottom:5px;
}