Debian Codegraph @

resources/src/jquery/jquery.suggestions.less

raw
1 /* suggestions plugin */
2
3 /* stylelint-disable selector-class-pattern */
4
5 .suggestions {
6 overflow: hidden;
7 position: absolute;
8 top: 0;
9 left: 0;
10 width: 0;
11 border: 0;
12 z-index: 1099;
13 padding: 0;
14 margin: -1px 0 0 0;
15
16 &-special {
17 position: relative;
18 background-color: #fff;
19 cursor: pointer;
20 border: 1px solid #a2a9b1;
21 margin: 0;
22 margin-top: -2px;
23 display: none;
24 padding: 0.25em 0.25em;
25 line-height: 1.25em;
26
27 .special {
28 &-label {
29 color: #72777d;
30 text-align: left;
31 }
32
33 &-query {
34 color: #000;
35 font-style: italic;
36 text-align: left;
37 }
38
39 &-hover {
40 background-color: #c8ccd1;
41 }
42 }
43 }
44
45 &-results {
46 background-color: #fff;
47 cursor: pointer;
48 border: 1px solid #a2a9b1;
49 padding: 0;
50 margin: 0;
51 }
52
53 &-result {
54 color: #000;
55 margin: 0;
56 line-height: 1.5em;
57 padding: 0.01em 0.25em;
58 text-align: left;
59 /* Apply ellipsis to suggestions */
60 overflow: hidden;
61 text-overflow: ellipsis;
62 white-space: nowrap;
63
64 &-current {
65 background-color: #2a4b8d;
66 color: #fff;
67
68 .special-label,
69 .special-query {
70 color: #fff;
71 }
72 }
73 }
74 }
75
76 .highlight {
77 font-weight: bold;
78 }