summaryrefslogtreecommitdiffstats
path: root/web/sass-files/sass/partials/_suggestion_list.scss
blob: 28c113c6d87b5840c732b26f91a5d715fabac31e (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
@charset "UTF-8";

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

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

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

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

.suggestion--selected {
    // set by theme code
}

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

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

.command-desc {
    color: #a7a8ab;
}

.emoticon-suggestion {
    @include clearfix;
    width: 100%;
    height: 30px;
    cursor: pointer;
    font-size: 13px;
    line-height: 30px;
}

.emoticon-suggestion__image {
    width: 20px;
    height: 20px;
    margin: 6px 6px 0 5px;
    padding: 0;
    text-align: center;
    vertical-align: top;
}