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: 55em; 7 } 8 9 #autofill-edit-credit-card-overlay { 10 min-width: 500px; 11 } 12 13 #autofill-edit-address-overlay .long div[role='listitem'] > div > div, 14 #autofill-edit-address-overlay .long input, 15 #autofill-edit-address-overlay textarea.long, 16 #autofill-edit-address-overlay input.long { 17 width: 16em; 18 } 19 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 { 28 max-width: 450px; 29 } 30 31 #autofill-edit-address-overlay list { 32 -webkit-margin-start: -3px; 33 /* Min height is a multiple of the list item height (32px). */ 34 min-height: 32px; 35 } 36 37 #autofill-edit-address-overlay list div.static-text { 38 -webkit-border-radius: 2px; 39 -webkit-box-flex: 1; 40 -webkit-padding-end: 4px; 41 -webkit-padding-start: 4px; 42 border: 1px solid darkGray; 43 /* Border should go "inside" the height. */ 44 box-sizing: border-box; 45 /* Set the line-height and min-height to match the height of an input element, 46 * so that even empty cells renderer with the correct height. */ 47 height: 2em; 48 line-height: 2em; 49 } 50 51 :-webkit-any(#autofill-edit-credit-card-overlay, #autofill-edit-address-overlay) 52 .settings-row label > :-webkit-any(input, select, textarea, list) { 53 margin-top: 4px; 54 } 55 56 .input-group > * { 57 -webkit-box-orient: vertical; 58 -webkit-margin-end: 2px; 59 display: -webkit-inline-box; 60 vertical-align: top; 61 } 62 63 #autofill-edit-credit-card-overlay .content-area > *:first-child { 64 margin-top: 0; 65 } 66