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; |
| 15 } |
| 16 |
| 17 .autofill-list-item + .deemphasized { |
14 -webkit-box-flex: 1; | 18 -webkit-box-flex: 1; |
15 -webkit-padding-start: 8px; | |
16 overflow: hidden; | 19 overflow: hidden; |
17 text-overflow: ellipsis; | 20 text-overflow: ellipsis; |
18 } | 21 } |
19 | 22 |
20 #autofill-options > div:last-child { | 23 #autofill-options > div:last-child { |
21 margin-top: 15px; | 24 margin-top: 15px; |
22 } | 25 } |
23 | 26 |
24 #autofill-options .deletable-item > span { | 27 #autofill-options .deemphasized { |
25 color: #777; | 28 color: #777; |
26 } | 29 } |
27 | 30 |
28 #autofill-options > div.settings-list > div:last-child { | 31 #autofill-options > div.settings-list > div:last-child { |
29 border-top: 1px solid #d9d9d9; | 32 border-top: 1px solid #d9d9d9; |
30 padding: 5px 10px; | 33 padding: 5px 10px; |
31 } | 34 } |
32 | 35 |
33 #autofill-add-address, | 36 #autofill-add-address, |
34 #autofill-add-creditcard { | 37 #autofill-add-creditcard { |
35 margin: 5px 5px; | 38 margin: 5px 5px; |
36 } | 39 } |
37 | 40 |
38 #autofill-options .list-inline-button { | 41 #autofill-options .list-inline-button { |
39 -webkit-margin-start: 12px; | 42 -webkit-margin-start: 12px; |
40 margin-top: 0; | 43 margin-top: 0; |
41 vertical-align: top; | 44 vertical-align: top; |
42 } | 45 } |
43 | 46 |
44 #autofill-options div[role='listitem']:not(:hover):not([selected]) | 47 #autofill-options div[role='listitem']:not(:hover):not([selected]) |
45 .list-inline-button { | 48 .hide-until-hover { |
46 display: none; | 49 display: none; |
47 } | 50 } |
| 51 |
| 52 #autofill-options div[role='listitem']:-webkit-any(:hover,[selected]) |
| 53 .hides-on-hover { |
| 54 display: none; |
| 55 } |
OLD | NEW |