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 height: 192px; /* This is the min-height for lists from WebUI.*/ |
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%; | 15 max-width: 50%; |
16 overflow: hidden; | 16 overflow: hidden; |
17 text-overflow: ellipsis; | 17 text-overflow: ellipsis; |
18 } | 18 } |
19 | 19 |
20 .autofill-list-item + .deemphasized { | 20 .autofill-list-item + .deemphasized { |
(...skipping 10 matching lines...) Expand all Loading... |
31 color: #777; | 31 color: #777; |
32 } | 32 } |
33 | 33 |
34 #autofill-options > div.settings-list > div:last-child { | 34 #autofill-options > div.settings-list > div:last-child { |
35 border-top: 1px solid #d9d9d9; | 35 border-top: 1px solid #d9d9d9; |
36 padding: 5px 10px; | 36 padding: 5px 10px; |
37 } | 37 } |
38 | 38 |
39 #autofill-add-address, | 39 #autofill-add-address, |
40 #autofill-add-creditcard { | 40 #autofill-add-creditcard { |
41 margin: 5px 5px; | 41 margin: 5px 0; |
42 } | 42 } |
43 | 43 |
44 #autofill-options .list-inline-button { | 44 #autofill-options .list-inline-button { |
45 -webkit-margin-start: 12px; | 45 -webkit-margin-start: 12px; |
46 margin-top: 0; | 46 margin-top: 0; |
47 vertical-align: top; | 47 vertical-align: top; |
48 } | 48 } |
49 | 49 |
50 #autofill-options div[role='listitem']:not(:hover):not([selected]) | 50 #autofill-options div[role='listitem']:not(:hover):not([selected]) |
51 .hide-until-hover { | 51 .hide-until-hover { |
52 display: none; | 52 display: none; |
53 } | 53 } |
54 | 54 |
55 #autofill-options div[role='listitem']:-webkit-any(:hover,[selected]) | 55 #autofill-options div[role='listitem']:-webkit-any(:hover,[selected]) |
56 .hides-on-hover { | 56 .hides-on-hover { |
57 display: none; | 57 display: none; |
58 } | 58 } |
| 59 |
| 60 .settings-list + .autofill-section-header { |
| 61 margin-top: 20px; |
| 62 } |
| 63 |
| 64 #autofill-options .autofill-section-header { |
| 65 display: flex; |
| 66 justify-content: space-between; |
| 67 margin-bottom: 5px; |
| 68 } |
OLD | NEW |