summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/options/autofill_overlay.css
blob: 1bc2db496d48716b4a24f147e859deec4f07bc7b (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
85
86
87
88
89
90
91
92
93
94
95
#autofill-edit-address-overlay {
  min-width: 510px;
}

#autofill-edit-credit-card-overlay {
  min-width: 500px;
}

div.table {
  display: table;
}

div.cell {
  display: table-cell;
}

div.row {
  display: table-row;
}

div.input {
  padding: 2px;
}

/* Size to match large name fields. */
#company-name, #addr-line-1, #addr-line-2 {
  width: 206px;
}

#country {
  max-width: 450px;
}

#autofill-edit-address-overlay list {
  /* Min height is a multiple of the list item height (32) */
  min-height: 32px;
  width: 176px;
}

#autofill-edit-address-overlay list div.static-text {
  -webkit-box-flex: 1;
  -webkit-border-radius: 2px;
  -webkit-padding-start: 4px;
  -webkit-padding-end: 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;
  width: 141px;
}

#autofill-edit-address-overlay list input {
  width: 151px;
}

#autofill-name-labels {
  -webkit-box-orient: horizontal;
  /* Set the margin to compensate for each list item's close button and
   * padding.
   */
  -webkit-margin-end: 25px;
  display: -webkit-box;
}

#autofill-name-labels label {
  -webkit-box-flex: 1;
  display: block;
  /* Set the minimum width to the size of an input element, so that all boxes
   * have an equal amount of flex space to work with.
   */
  min-width: 141px;
}

#autofill-edit-address-overlay list#full-name-list div.static-text {
  width: 131px;
}

#autofill-edit-address-overlay list#full-name-list input {
  width: 141px;
}

#autofill-edit-address-overlay list#full-name-list {
  width: 100%;
}

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

#full-name-list div[role="listitem"] > div > div {
  -webkit-box-flex: 1;
}