summaryrefslogtreecommitdiffstats
path: root/web/sass-files/sass/components/_suggestion-list.scss
blob: 125a3cf329ac2d1fb171559ad4d7cd9d51f7c5cc (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
@charset 'UTF-8';

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

.suggestion-list--top {
    position: absolute;
}

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

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

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

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