summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/web/dropdown.css
blob: e9a363c1147ee226ff235f280a5bbb06b67031fd (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
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This Source Code Form is "Incompatible With Secondary Licenses", as
 * defined by the Mozilla Public License, v. 2.0. */

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    position: absolute;
    background-color: #eee;
    min-width: 120px;
    z-index: 1;
    text-align: left;
    margin: 0;
    padding: 0;
    border: 1px solid #ddd;
    -webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    list-style: none;
    right: 0px;
}

.dropdown-content.menu-up {
    bottom: 100%;
}

.dropdown-separator {
    border-bottom: 1px solid #ddd;
}

/* Links inside the dropdown */
.dropdown-content a {
    white-space: nowrap;
    background-color: #eee;
    color: black !important;
    padding: 4px 8px;
    text-decoration: none !important;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content li .active {
    text-decoration: none;
    background-color: #39f;
}