OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 16 matching lines...) Expand all Loading... |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 .suggest-box { | 31 .suggest-box { |
32 position: absolute; | 32 position: absolute; |
33 background-color: #FFFFFF; | 33 background-color: #FFFFFF; |
34 display: block; | 34 display: block; |
35 border: 1px solid black; | 35 border: 1px solid black; |
36 padding: 2px; | 36 padding: 2px; |
37 z-index: 100; | 37 z-index: 600; |
38 } | 38 } |
39 | 39 |
40 .suggest-box .container { | 40 .suggest-box .container { |
41 position: absolute; | 41 position: absolute; |
42 top: 0; | 42 top: 0; |
43 left: 0; | 43 left: 0; |
44 right: 0; | 44 right: 0; |
45 bottom: 0; | 45 bottom: 0; |
46 overflow-x: hidden; | 46 overflow-x: hidden; |
47 overflow-y: auto; | 47 overflow-y: auto; |
48 } | 48 } |
49 | 49 |
50 .suggest-box-content-item { | 50 .suggest-box-content-item { |
51 padding: 1px; | 51 padding: 1px; |
52 margin: 0; | 52 margin: 0; |
53 font-size: 11px; | 53 font-size: 11px; |
54 overflow: hidden; | 54 overflow: hidden; |
55 text-overflow: ellipsis; | 55 text-overflow: ellipsis; |
56 border: 1px solid transparent; | 56 border: 1px solid transparent; |
57 } | 57 } |
58 | 58 |
59 .suggest-box-content-item .prefix { | 59 .suggest-box-content-item .prefix { |
60 font-weight: bold; | 60 font-weight: bold; |
61 } | 61 } |
62 | 62 |
63 .suggest-box-content-item.selected { | 63 .suggest-box-content-item.selected { |
64 background-color: rgb(212, 212, 212); | 64 background-color: rgba(56, 121, 217, 0.1); |
65 } | 65 } |
66 | 66 |
67 .suggest-box-content-item:hover:not(.selected) { | 67 .suggest-box-content-item:hover:not(.selected) { |
68 border: 1px solid rgb(204, 204, 204); | 68 border: 1px solid rgb(204, 204, 204); |
69 } | 69 } |
OLD | NEW |