Chromium Code Reviews| 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 font-size: small; |
|
Dan Beam
2016/01/27 02:22:27
what is this doing? do you mean font-size: inheri
| |
| 42 margin: 5px 0; | |
| 42 } | 43 } |
| 43 | 44 |
| 44 #autofill-options .list-inline-button { | 45 #autofill-options .list-inline-button { |
| 45 -webkit-margin-start: 12px; | 46 -webkit-margin-start: 12px; |
| 46 margin-top: 0; | 47 margin-top: 0; |
| 47 vertical-align: top; | 48 vertical-align: top; |
| 48 } | 49 } |
| 49 | 50 |
| 50 #autofill-options div[role='listitem']:not(:hover):not([selected]) | 51 #autofill-options div[role='listitem']:not(:hover):not([selected]) |
| 51 .hide-until-hover { | 52 .hide-until-hover { |
| 52 display: none; | 53 display: none; |
| 53 } | 54 } |
| 54 | 55 |
| 55 #autofill-options div[role='listitem']:-webkit-any(:hover,[selected]) | 56 #autofill-options div[role='listitem']:-webkit-any(:hover,[selected]) |
| 56 .hides-on-hover { | 57 .hides-on-hover { |
| 57 display: none; | 58 display: none; |
| 58 } | 59 } |
| 60 | |
| 61 #autofill-options .vertical-space { | |
| 62 height: 20px; | |
| 63 } | |
|
Dan Beam
2016/01/27 02:22:27
can you just put a margin-bottom on an existing el
| |
| 64 | |
| 65 #autofill-options .autofill-section-header { | |
| 66 display: flex; | |
| 67 justify-content: space-between; | |
| 68 margin-bottom: 5px; | |
| 69 } | |
| OLD | NEW |