summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/options/autofill_options.css
blob: dd131a6c52e77a21dacb9b7d445814c1390a5650 (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
/* 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-options {
  width: 550px;
}

#autofill-options list {
  height: 192px;  /* This is the min-height for lists from WebUI.*/
}

.autofill-list-item {
  -webkit-padding-start: 8px;
  max-width: 50%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.autofill-list-item + .deemphasized {
  -webkit-box-flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

#autofill-options > div:last-child {
  margin-top: 15px;
}

#autofill-options .deemphasized {
  color: #777;
}

#autofill-options > div.settings-list > div:last-child {
  border-top: 1px solid #d9d9d9;
  padding: 5px 10px;
}

#autofill-add-address,
#autofill-add-creditcard {
  margin: 5px 0;
}

#autofill-options .list-inline-button {
  -webkit-margin-start: 12px;
  margin-top: 0;
  vertical-align: top;
}

#autofill-options div[role='listitem']:not(:hover):not([selected])
    .hide-until-hover {
  display: none;
}

#autofill-options div[role='listitem']:-webkit-any(:hover,[selected])
    .hides-on-hover {
  display: none;
}

.settings-list + .autofill-section-header {
  margin-top: 20px;
}

#autofill-options .autofill-section-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}