Chromium Code Reviews| 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 { |
| 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; |
|
Dan Beam
2013/04/15 23:05:51
display: inline-block;
(http://jsfiddle.net/hV7Rv
kmadhusu
2013/04/15 23:33:21
This also works. Is there any specific reason to p
Dan Beam
2013/04/15 23:48:48
less code, that's what it was intended for
kmadhusu
2013/04/15 23:59:57
Done.
| |
| 16 } | 16 } |
| 17 | 17 |
| 18 #suggestionsBox:empty { | |
| 19 /* Hide the empty suggestions box since they display a small white blank | |
| 20 * overlay. Refer to http://crbug.com/229839 for more details. */ | |
| 21 display: none; | |
| 22 } | |
| 23 | |
| 18 .suggestion { | 24 .suggestion { |
| 19 -webkit-border-radius: 2px; | 25 -webkit-border-radius: 2px; |
| 20 background: -webkit-image-set( | 26 background: -webkit-image-set( |
| 21 url('images/page_icon.png') 1x, | 27 url('images/page_icon.png') 1x, |
| 22 url('images/2x/page_icon.png') 2x) no-repeat; | 28 url('images/2x/page_icon.png') 2x) no-repeat; |
| 23 padding-bottom: 2px; | 29 padding-bottom: 2px; |
| 24 padding-top: 3px; | 30 padding-top: 3px; |
| 25 white-space: nowrap; | 31 white-space: nowrap; |
| 26 } | 32 } |
| 27 | 33 |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 50 } | 56 } |
| 51 | 57 |
| 52 /* Styling for native suggestions, hidden by the shadow DOM. */ | 58 /* Styling for native suggestions, hidden by the shadow DOM. */ |
| 53 .chrome_url { | 59 .chrome_url { |
| 54 color: rgb(0, 153, 51); | 60 color: rgb(0, 153, 51); |
| 55 } | 61 } |
| 56 | 62 |
| 57 .chrome_title { | 63 .chrome_title { |
| 58 color: #666; | 64 color: #666; |
| 59 } | 65 } |
| OLD | NEW |