Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Side by Side Diff: chrome/browser/resources/local_omnibox_popup/local_omnibox_popup.css

Issue 14080012: Do not display local overlay suggestion box if there are no suggestions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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;
16 } 16 }
17 17
18 #suggestionsBox:empty {
samarth 2013/04/15 22:49:10 Please add a comment for why this is necessary: ot
kmadhusu 2013/04/15 22:55:51 Done.
19 display: none;
20 }
21
18 .suggestion { 22 .suggestion {
19 -webkit-border-radius: 2px; 23 -webkit-border-radius: 2px;
20 background: -webkit-image-set( 24 background: -webkit-image-set(
21 url('images/page_icon.png') 1x, 25 url('images/page_icon.png') 1x,
22 url('images/2x/page_icon.png') 2x) no-repeat; 26 url('images/2x/page_icon.png') 2x) no-repeat;
23 padding-bottom: 2px; 27 padding-bottom: 2px;
24 padding-top: 3px; 28 padding-top: 3px;
25 white-space: nowrap; 29 white-space: nowrap;
26 } 30 }
27 31
(...skipping 22 matching lines...) Expand all
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698