提交 | 用户 | 时间
|
58d006
|
1 |
.enable_plugin_typeahead() when(@enable-plugin-typeahead = true) { |
A |
2 |
|
|
3 |
input.typeahead, |
|
4 |
input.tt-query, |
|
5 |
input.tt-hint { |
|
6 |
min-width: 175px; |
|
7 |
font-size: @font-size-typeahead-hint; |
|
8 |
line-height: 24px; |
|
9 |
border: 1px solid #CCC; |
|
10 |
|
|
11 |
border-radius: 0; |
|
12 |
outline: none; |
|
13 |
} |
|
14 |
|
|
15 |
input.tt-hint , .form-group input.tt-hint { |
|
16 |
background-color: #FFF !important; |
|
17 |
color: #B0B0B0 !important; |
|
18 |
} |
|
19 |
.tt-menu { |
|
20 |
text-align: left; |
|
21 |
|
|
22 |
position: absolute; |
|
23 |
left: 0 !important; |
|
24 |
right: 0 !important; |
|
25 |
min-width: 175px; |
|
26 |
|
|
27 |
margin-top: 2px; |
|
28 |
padding: 8px 0; |
|
29 |
background-color: #FFF; |
|
30 |
border: 1px solid #D0D0D0; |
|
31 |
border: 1px solid rgba(0, 0, 0, 0.15); |
|
32 |
|
|
33 |
border-radius: 0; |
|
34 |
.box-shadow(~"0 2px 4px rgba(0, 0, 0, 0.2)"); |
|
35 |
} |
|
36 |
|
|
37 |
.tt-suggestion { |
|
38 |
padding: 3px 12px 4px; |
|
39 |
font-size: @font-size-typeahead-suggestion; |
|
40 |
line-height: 24px; |
|
41 |
|
|
42 |
&.tt-selectable:hover , &.tt-cursor { |
|
43 |
color: #FFF; |
|
44 |
background-color: #4F99C6; |
|
45 |
cursor: pointer; |
|
46 |
} |
|
47 |
|
|
48 |
p { |
|
49 |
margin: 0; |
|
50 |
} |
|
51 |
} |
|
52 |
|
|
53 |
input.typeahead.scrollable ~ .tt-menu { |
|
54 |
max-height: 200px; |
|
55 |
overflow-y: auto; |
|
56 |
} |
|
57 |
|
|
58 |
} |
|
59 |
.enable_plugin_typeahead(); |
|
60 |
|
|
61 |
|
|
62 |
|