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 |
Dan Beam
2012/03/15 00:05:27
nit: why so spatious?
Evan Stade
2012/03/15 00:53:23
mistake
| |
5 | |
5 #address-list, | 6 #address-list, |
6 #creditcard-list { | 7 #creditcard-list { |
7 min-width: 500px; | 8 min-width: 500px; |
8 } | 9 } |
9 | 10 |
10 #autofill-help { | 11 #autofill-help { |
11 bottom: 18px; | 12 bottom: 18px; |
12 position: absolute; | 13 position: absolute; |
13 } | 14 } |
14 | 15 |
15 .autofill-list-item { | 16 .autofill-list-item { |
16 -webkit-box-flex: 1; | 17 -webkit-box-flex: 1; |
17 -webkit-padding-start: 8px; | 18 -webkit-padding-start: 8px; |
18 overflow: hidden; | 19 overflow: hidden; |
19 text-overflow: ellipsis; | 20 text-overflow: ellipsis; |
20 } | 21 } |
21 | 22 |
22 .autofill-list-item + img { | 23 .autofill-list-item + img { |
23 -webkit-padding-end: 20px; | 24 -webkit-padding-end: 20px; |
24 vertical-align: middle; | 25 vertical-align: top; |
25 } | 26 } |
26 | 27 |
27 #autofill-options > div:last-child { | 28 #autofill-options > div:last-child { |
28 margin-top: 15px; | 29 margin-top: 15px; |
29 } | 30 } |
30 | 31 |
31 #autofill-options > div.settings-list > div:last-child { | 32 #autofill-options > div.settings-list > div:last-child { |
32 border-top: 1px solid #d9d9d9; | 33 border-top: 1px solid #d9d9d9; |
33 padding: 5px 10px; | 34 padding: 5px 10px; |
34 } | 35 } |
35 | 36 |
36 #autofill-add-address, | 37 #autofill-add-address, |
37 #autofill-add-creditcard { | 38 #autofill-add-creditcard { |
38 margin: 5px 5px; | 39 margin: 5px 5px; |
39 } | 40 } |
40 | 41 |
41 .autofill-list-item + button, | 42 #autofill-options .list-inline-button { |
42 .autofill-list-item + img + button { | |
43 /* Gets overwritten by raw-button:hover */ | |
44 background: rgb(138, 170, 237) !important; | |
45 color: #fff; | |
46 margin-top: 0; | 43 margin-top: 0; |
44 vertical-align: top; | |
47 } | 45 } |
48 | 46 |
49 #address-list > div:not(:hover) * button, | 47 #autofill-options div[role='listitem']:not(:hover) .list-inline-button { |
50 #creditcard-list > div:not(:hover) * button { | |
51 display: none; | 48 display: none; |
52 } | 49 } |
OLD | NEW |