summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/options/autofill_edit_overlay.css
blob: 166f0cd3da11fdf6ae6770aaea84b6e6d8263bbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
/* 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;
}

#full-name-list input,
#company-name,
#addr-line-1,
#addr-line-2 {
  width: 16em;
}

#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;
  /* 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. */
  line-height: 1.75em;
  min-height: 1.75em;
}

:-webkit-any(#autofill-edit-credit-card-overlay, #autofill-edit-address-overlay)
    .settings-row div + :-webkit-any(input, select) {
  margin-top: 4px;
}

#autofill-name-labels {
  display: -webkit-inline-box;
}

#autofill-name-labels span {
  -webkit-box-flex: 1;
  display: block;
}

#full-name-list {
  display: inline-block;
}

#full-name-list div[role='listitem'] > div {
  display: -webkit-box;
}

#full-name-list div[role='listitem'] > div > div,
#autofill-name-labels span {
  -webkit-margin-end: 5px;
  width: 16em;
}

:-webkit-any(#phone-list, #email-list) div[role='listitem'] > div > div,
:-webkit-any(#phone-list, #email-list) input {
  width: 14em;
}

.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;
}