summaryrefslogtreecommitdiffstats
path: root/webapp/sass/components/_dropdown.scss
blob: bc128d6ef15f9d77f13958ce57373ea00bd58de6 (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
@charset 'UTF-8';

.dropdown-menu {
    border-radius: $border-rad;

    &.colorpicker {
        min-width: 125px;
        z-index: 2500;
    }

    .fa {
        @include opacity(.6);
        margin-right: 5px;
    }

    .divider {
        @include opacity(.15);

        & + .divider {
            display: none;
        }

        &:last-child {
            display: none;
        }
    }

    div,
    li {
        > a {
            color: inherit;
            text-decoration: none;

            &:focus,
            &:hover {
                color: inherit;
            }
        }
    }
}

.open {
    > .dropdown-menu__content {
        display: block;

        > .dropdown-menu {
            display: block;
        }
    }
}

.dropdown-menu__content {
    display: none;
}