Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / resources / options / autofill_edit_overlay.css
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   /* Set the line-height and min-height to match the height of an input element,
44    * so that even empty cells renderer with the correct height. */
45   line-height: 1.75em;
46   min-height: 1.75em;
47 }
48
49 :-webkit-any(#autofill-edit-credit-card-overlay, #autofill-edit-address-overlay)
50     .settings-row div + :-webkit-any(input, select, textarea) {
51   margin-top: 4px;
52 }
53
54 .input-group > * {
55   -webkit-box-orient: vertical;
56   -webkit-margin-end: 2px;
57   display: -webkit-inline-box;
58   vertical-align: top;
59 }
60
61 #autofill-edit-credit-card-overlay .content-area > *:first-child {
62   margin-top: 0;
63 }