| OLD | NEW |
| (Empty) |
| 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 | |
| 3 * found in the LICENSE file. */ | |
| 4 | |
| 5 #autofill-edit-address-overlay { | |
| 6 min-width: 510px; | |
| 7 } | |
| 8 | |
| 9 #autofill-edit-credit-card-overlay { | |
| 10 min-width: 500px; | |
| 11 } | |
| 12 | |
| 13 div.table { | |
| 14 display: table; | |
| 15 } | |
| 16 | |
| 17 div.cell { | |
| 18 display: table-cell; | |
| 19 } | |
| 20 | |
| 21 div.row { | |
| 22 display: table-row; | |
| 23 } | |
| 24 | |
| 25 div.input { | |
| 26 padding: 2px; | |
| 27 } | |
| 28 | |
| 29 /* Size to match large name fields. */ | |
| 30 #company-name, | |
| 31 #addr-line-1, | |
| 32 #addr-line-2 { | |
| 33 width: 206px; | |
| 34 } | |
| 35 | |
| 36 #country { | |
| 37 max-width: 450px; | |
| 38 } | |
| 39 | |
| 40 #autofill-edit-address-overlay list { | |
| 41 /* Min height is a multiple of the list item height (32) */ | |
| 42 min-height: 32px; | |
| 43 width: 176px; | |
| 44 } | |
| 45 | |
| 46 #autofill-edit-address-overlay list div.static-text { | |
| 47 -webkit-border-radius: 2px; | |
| 48 -webkit-box-flex: 1; | |
| 49 -webkit-padding-end: 4px; | |
| 50 -webkit-padding-start: 4px; | |
| 51 border: 1px solid darkGray; | |
| 52 /* Set the line-height and min-height to match the height of an input element, | |
| 53 * so that even empty cells renderer with the correct height. | |
| 54 */ | |
| 55 line-height: 1.75em; | |
| 56 min-height: 1.75em; | |
| 57 width: 141px; | |
| 58 } | |
| 59 | |
| 60 #autofill-edit-address-overlay list input { | |
| 61 width: 151px; | |
| 62 } | |
| 63 | |
| 64 #autofill-name-labels { | |
| 65 -webkit-box-orient: horizontal; | |
| 66 /* Set the margin to compensate for each list item's close button and | |
| 67 * padding. | |
| 68 */ | |
| 69 -webkit-margin-end: 25px; | |
| 70 display: -webkit-box; | |
| 71 } | |
| 72 | |
| 73 #autofill-name-labels label { | |
| 74 -webkit-box-flex: 1; | |
| 75 display: block; | |
| 76 /* Set the minimum width to the size of an input element, so that all boxes | |
| 77 * have an equal amount of flex space to work with. | |
| 78 */ | |
| 79 min-width: 141px; | |
| 80 } | |
| 81 | |
| 82 #autofill-edit-address-overlay list#full-name-list div.static-text { | |
| 83 width: 131px; | |
| 84 } | |
| 85 | |
| 86 #autofill-edit-address-overlay list#full-name-list input { | |
| 87 width: 141px; | |
| 88 } | |
| 89 | |
| 90 #autofill-edit-address-overlay list#full-name-list { | |
| 91 width: 100%; | |
| 92 } | |
| 93 | |
| 94 #full-name-list div[role='listitem'] > div { | |
| 95 -webkit-box-orient: horizontal; | |
| 96 display: -webkit-box; | |
| 97 } | |
| 98 | |
| 99 #full-name-list div[role='listitem'] > div > div { | |
| 100 -webkit-box-flex: 1; | |
| 101 } | |
| OLD | NEW |