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

.suggestion-list {
    @extend %popover-box-shadow;
    width: 100%;
    z-index: 100;
}

.suggestion-list--top {
    position: absolute;
    bottom: 100%;
}

.suggestion-list__content {
    background-color: $white;
    border: $border-gray;
    max-height: 292px;
    overflow-x: hidden;
    overflow-y: scroll;
    width: 100%;

    .command {
        border-bottom: 1px solid $light-gray;
        font-size: .95em;
        line-height: 24px;
        padding: 5px 10px 8px;
        position: relative;
        width: 100%;
        z-index: 101;

        .command__desc {
            @include opacity(.5);
            line-height: normal;
            margin-left: 5px;
        }
    }
}

.suggestion-list__content--top {
    bottom: 0;
    position: absolute;
}