OLD | NEW |
---|---|
1 /* Copyright 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright 2012 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
4 | 4 |
5 body { | 5 body { |
6 background-color: white; | 6 background-color: white; |
7 cursor: default; | 7 cursor: default; |
8 margin: 0; | 8 margin: 0; |
9 overflow: hidden; | 9 overflow: hidden; |
10 } | 10 } |
11 | 11 |
12 #suggestionsBox { | 12 .suggestionsBox { |
Dan Beam
2013/04/05 01:07:37
suggesions-box
Jered
2013/04/05 15:30:23
Done.
| |
13 border-bottom: 1px #d9d9d9 solid; | 13 border-bottom: 1px #d9d9d9 solid; |
14 padding-bottom: 6px; | 14 padding-bottom: 6px; |
15 padding-top: 6px; | 15 padding-top: 6px; |
16 } | 16 } |
17 | 17 |
18 .suggestion { | 18 .suggestion { |
19 -webkit-border-radius: 2px; | 19 -webkit-border-radius: 2px; |
20 background: -webkit-image-set( | 20 background: -webkit-image-set( |
21 url('images/page_icon.png') 1x, | 21 url('images/page_icon.png') 1x, |
22 url('images/2x/page_icon.png') 2x) no-repeat; | 22 url('images/2x/page_icon.png') 2x) no-repeat; |
23 padding-bottom: 2px; | 23 padding-bottom: 2px; |
24 padding-top: 3px; | 24 padding-top: 3px; |
25 height: 22px; | |
25 white-space: nowrap; | 26 white-space: nowrap; |
26 } | 27 } |
27 | 28 |
28 .search { | 29 .search { |
29 background: -webkit-image-set( | 30 background: -webkit-image-set( |
30 url('images/search_icon.png') 1x, | 31 url('images/search_icon.png') 1x, |
31 url('images/2x/search_icon.png') 2x) no-repeat; | 32 url('images/2x/search_icon.png') 2x) no-repeat; |
32 } | 33 } |
33 | 34 |
34 .suggestion:hover { | 35 .hovered { |
35 background-color: #eee; | 36 background-color: #eee; |
36 } | 37 } |
37 | 38 |
38 .selected, | 39 .selected { |
39 .selected:hover { | |
40 background-color: rgba(181, 213, 255, 0.5); | 40 background-color: rgba(181, 213, 255, 0.5); |
41 } | 41 } |
42 | 42 |
43 .contents { | 43 .contents { |
44 position: absolute; | |
44 -webkit-padding-start: 26px; | 45 -webkit-padding-start: 26px; |
45 -webkit-user-select: none; | 46 -webkit-user-select: none; |
46 border: 0; | 47 border: 0; |
47 height: 22px; | 48 height: 22px; |
48 overflow: hidden; | 49 overflow: hidden; |
49 width: 100%; | 50 } |
51 | |
52 .pending-container { | |
53 display: none; | |
50 } | 54 } |
51 | 55 |
52 /* Styling for native suggestions, hidden by the shadow DOM. */ | 56 /* Styling for native suggestions, hidden by the shadow DOM. */ |
53 .chrome_url { | 57 .chrome_url { |
54 color: rgb(0, 153, 51); | 58 color: rgb(0, 153, 51); |
55 } | 59 } |
56 | 60 |
57 .chrome_title { | 61 .chrome_title { |
58 color: #666; | 62 color: #666; |
59 } | 63 } |
OLD | NEW |