blob: 24500e6a2fb3cb4a238ceb6563c3a6418c59d5f8 [file] [log] [blame]
/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
#autofill-edit-address-overlay {
min-width: 55em;
}
#autofill-edit-credit-card-overlay {
min-width: 500px;
}
#autofill-edit-address-overlay .long div[role='listitem'] > div > div,
#autofill-edit-address-overlay .long input,
#autofill-edit-address-overlay textarea.long,
#autofill-edit-address-overlay input.long {
width: 16em;
}
#autofill-edit-address-overlay .short div[role='listitem'] > div > div,
#autofill-edit-address-overlay .short input,
#autofill-edit-address-overlay textarea.short,
#autofill-edit-address-overlay input.short {
width: 14em;
}
#autofill-edit-address-overlay .country {
max-width: 450px;
}
#autofill-edit-address-overlay list {
-webkit-margin-start: -3px;
/* Min height is a multiple of the list item height (32px). */
min-height: 32px;
}
#autofill-edit-address-overlay list div.static-text {
-webkit-border-radius: 2px;
-webkit-box-flex: 1;
-webkit-padding-end: 4px;
-webkit-padding-start: 4px;
border: 1px solid darkGray;
/* Border should go "inside" the height. */
box-sizing: border-box;
/* Set the line-height and min-height to match the height of an input element,
* so that even empty cells renderer with the correct height. */
height: 2em;
line-height: 2em;
}
:-webkit-any(#autofill-edit-credit-card-overlay, #autofill-edit-address-overlay)
.settings-row label > :-webkit-any(input, select, textarea, list) {
margin-top: 4px;
}
.input-group > * {
-webkit-box-orient: vertical;
-webkit-margin-end: 2px;
display: -webkit-inline-box;
vertical-align: top;
}
#autofill-edit-credit-card-overlay .content-area > *:first-child {
margin-top: 0;
}