summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/options/autofill_edit_overlay.css
blob: 24500e6a2fb3cb4a238ceb6563c3a6418c59d5f8 (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
/* 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;
}