| 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-edit-address-overlay { | 5 #autofill-edit-address-overlay { |
| 6 min-width: 55em; | 6 min-width: 55em; |
| 7 } | 7 } |
| 8 | 8 |
| 9 #autofill-edit-credit-card-overlay { | 9 #autofill-edit-credit-card-overlay { |
| 10 min-width: 500px; | 10 min-width: 500px; |
| 11 } | 11 } |
| 12 | 12 |
| 13 #full-name-list input, | 13 #autofill-edit-address-overlay .long div[role='listitem'] > div > div, |
| 14 #company-name, | 14 #autofill-edit-address-overlay .long input, |
| 15 #addr-line-1, | 15 #autofill-edit-address-overlay textarea.long, |
| 16 #addr-line-2 { | 16 #autofill-edit-address-overlay input.long { |
| 17 width: 16em; | 17 width: 16em; |
| 18 } | 18 } |
| 19 | 19 |
| 20 #country { | 20 #autofill-edit-address-overlay .short div[role='listitem'] > div > div, |
| 21 #autofill-edit-address-overlay .short input, |
| 22 #autofill-edit-address-overlay textarea.short, |
| 23 #autofill-edit-address-overlay input.short { |
| 24 width: 14em; |
| 25 } |
| 26 |
| 27 #autofill-edit-address-overlay .country { |
| 21 max-width: 450px; | 28 max-width: 450px; |
| 22 } | 29 } |
| 23 | 30 |
| 24 #autofill-edit-address-overlay list { | 31 #autofill-edit-address-overlay list { |
| 25 -webkit-margin-start: -3px; | 32 -webkit-margin-start: -3px; |
| 26 /* Min height is a multiple of the list item height (32px). */ | 33 /* Min height is a multiple of the list item height (32px). */ |
| 27 min-height: 32px; | 34 min-height: 32px; |
| 28 } | 35 } |
| 29 | 36 |
| 30 #autofill-edit-address-overlay list div.static-text { | 37 #autofill-edit-address-overlay list div.static-text { |
| 31 -webkit-border-radius: 2px; | 38 -webkit-border-radius: 2px; |
| 32 -webkit-box-flex: 1; | 39 -webkit-box-flex: 1; |
| 33 -webkit-padding-end: 4px; | 40 -webkit-padding-end: 4px; |
| 34 -webkit-padding-start: 4px; | 41 -webkit-padding-start: 4px; |
| 35 border: 1px solid darkGray; | 42 border: 1px solid darkGray; |
| 36 /* Set the line-height and min-height to match the height of an input element, | 43 /* Set the line-height and min-height to match the height of an input element, |
| 37 * so that even empty cells renderer with the correct height. */ | 44 * so that even empty cells renderer with the correct height. */ |
| 38 line-height: 1.75em; | 45 line-height: 1.75em; |
| 39 min-height: 1.75em; | 46 min-height: 1.75em; |
| 40 } | 47 } |
| 41 | 48 |
| 42 :-webkit-any(#autofill-edit-credit-card-overlay, #autofill-edit-address-overlay) | 49 :-webkit-any(#autofill-edit-credit-card-overlay, #autofill-edit-address-overlay) |
| 43 .settings-row div + :-webkit-any(input, select) { | 50 .settings-row div + :-webkit-any(input, select, textarea) { |
| 44 margin-top: 4px; | 51 margin-top: 4px; |
| 45 } | 52 } |
| 46 | 53 |
| 47 #autofill-name-labels { | |
| 48 display: -webkit-inline-box; | |
| 49 } | |
| 50 | |
| 51 #autofill-name-labels span { | |
| 52 -webkit-box-flex: 1; | |
| 53 display: block; | |
| 54 } | |
| 55 | |
| 56 #full-name-list { | |
| 57 display: inline-block; | |
| 58 } | |
| 59 | |
| 60 #full-name-list div[role='listitem'] > div { | |
| 61 display: -webkit-box; | |
| 62 } | |
| 63 | |
| 64 #full-name-list div[role='listitem'] > div > div, | |
| 65 #autofill-name-labels span { | |
| 66 -webkit-margin-end: 5px; | |
| 67 width: 16em; | |
| 68 } | |
| 69 | |
| 70 :-webkit-any(#phone-list, #email-list) div[role='listitem'] > div > div, | |
| 71 :-webkit-any(#phone-list, #email-list) input { | |
| 72 width: 14em; | |
| 73 } | |
| 74 | |
| 75 .input-group > * { | 54 .input-group > * { |
| 76 -webkit-box-orient: vertical; | 55 -webkit-box-orient: vertical; |
| 77 -webkit-margin-end: 2px; | 56 -webkit-margin-end: 2px; |
| 78 display: -webkit-inline-box; | 57 display: -webkit-inline-box; |
| 79 vertical-align: top; | 58 vertical-align: top; |
| 80 } | 59 } |
| 81 | 60 |
| 82 #autofill-edit-credit-card-overlay .content-area > *:first-child { | 61 #autofill-edit-credit-card-overlay .content-area > *:first-child { |
| 83 margin-top: 0; | 62 margin-top: 0; |
| 84 } | 63 } |
| OLD | NEW |