blob: d4cd9ef05f03dc3c1bda2d6456fd7c93912f5a28 (
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
68
69
70
71
72
73
74
75
76
77
|
@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;
padding-bottom: 5px;
width: 100%;
-webkit-overflow-scrolling: touch;
.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;
}
.suggestion-list--bottom {
position: relative;
}
.suggestion-list__divider {
line-height: 21px;
margin: 5px 0 5px 5px;
position: relative;
&:first-child {
margin-top: 5px;
}
> span {
display: inline-block;
font-size: .9em;
padding: 0 10px 0 5px;
position: relative;
z-index: 5;
}
&:before {
@include opacity(.2);
background: $dark-gray;
content: '';
height: 1px;
left: 0;
position: absolute;
top: 11px;
width: 100%;
}
}
|