OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 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 #autofill-options { | 5 #autofill-options { |
6 width: 550px; | 6 width: 550px; |
7 } | 7 } |
8 | 8 |
9 #autofill-options list { | 9 #autofill-options list { |
10 min-height: 172px; | 10 min-height: 172px; |
11 } | 11 } |
12 | 12 |
13 .autofill-list-item { | 13 .autofill-list-item { |
14 -webkit-padding-start: 8px; | 14 -webkit-padding-start: 8px; |
| 15 max-width: 50%; |
| 16 overflow: hidden; |
| 17 text-overflow: ellipsis; |
15 } | 18 } |
16 | 19 |
17 .autofill-list-item + .deemphasized { | 20 .autofill-list-item + .deemphasized { |
18 -webkit-box-flex: 1; | 21 -webkit-box-flex: 1; |
19 overflow: hidden; | 22 overflow: hidden; |
20 text-overflow: ellipsis; | 23 text-overflow: ellipsis; |
21 } | 24 } |
22 | 25 |
23 #autofill-options > div:last-child { | 26 #autofill-options > div:last-child { |
24 margin-top: 15px; | 27 margin-top: 15px; |
(...skipping 21 matching lines...) Expand all Loading... |
46 | 49 |
47 #autofill-options div[role='listitem']:not(:hover):not([selected]) | 50 #autofill-options div[role='listitem']:not(:hover):not([selected]) |
48 .hide-until-hover { | 51 .hide-until-hover { |
49 display: none; | 52 display: none; |
50 } | 53 } |
51 | 54 |
52 #autofill-options div[role='listitem']:-webkit-any(:hover,[selected]) | 55 #autofill-options div[role='listitem']:-webkit-any(:hover,[selected]) |
53 .hides-on-hover { | 56 .hides-on-hover { |
54 display: none; | 57 display: none; |
55 } | 58 } |
OLD | NEW |