summaryrefslogtreecommitdiff
path: root/res/client/css/partials/dropdown-menu.scss
blob: a3f3c08afcf445f9acaf14e328a9564cadadbbc1 (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
/*
    This file is part of rhizi, a collaborative knowledge graph editor.
    Copyright (C) 2014-2015  Dor Garbash, Amir Sagie and Alon Levy

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as published
    by the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

.dropdown-menu {
    border: 1px solid $mid-grey;
    color: $dark-grey;
    font-size: $h3-size;
    list-style-type: none;
    z-index: 100;
     @include rz-box-shadow(0px, 3px, 6px, 0px, rgba(0,0,0,0.3) );
 }

.dropdown-item {
    padding: 6px 0px 6px 18px;
    cursor: pointer;
    text-align: left;
}

.dropdown-item:hover {
    padding-left: 16px;
    background-color: $light-grey;
    border-left: 2px solid $cyan;
    @include rz-box-sizing-border;
}

.dropdown-menu-heading {
    background-color: lightgrey;
    border-bottom: 1px solid $mid-light-grey;
    font-family: $bold-font-family;
    padding: 6px 0px 6px 18px;
}

.dropdown-menu-heading:hover {
    cursor: default;
}

.menu__type-filter_item {
    padding-left: 10px;
    padding-right: 10px;
    text-align: left;

    &:hover {
        background-color: lightgray;
    }

    & input {
           position: relative;
           left: -3px;
           top: 3px;
    }
}

#menu__type-filter {
    background-color: $white;
    box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.3);
    position: absolute;
    right: 155px;
    top: 0;
    white-space: nowrap;
}

#menu__type-filter_header {
    background: darkgray;
    font-weight: bold;
}