summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/settings/autofill_page/passwords_shared_css.html
blob: d89345d33aed75070f7ebbf7d57ee1870b4bfdf5 (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
<link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html">

<!-- Common styles for Passwords and Forms -->
<dom-module id="passwords-shared">
  <template>
    <style>
      :host {
        display: flex;
        flex-direction: column;
      }

      .list-with-header > div:first-of-type {
        border-top: var(--cr-separator-line);
      }

      .website-column {
        align-items: center;
        display: flex;
        flex: 1;
      }

      .website-column > a {
        color: var(--cr-primary-text-color);
      }

      .username-column {
        flex: 1;
        margin: 0 8px;
      }

      .password-column {
        align-items: center;
        display: flex;
        flex: 1;
      }

      .password-field {
        background-color: transparent;
        border: none;
        flex: 1;
        height: 20px;
        width: 0;
      }

      .type-column {
        align-items: center;
        flex: 2;
      }

      .ellipses {
        flex: 1;
        max-width: fit-content;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      site-favicon {
        margin-inline-end: 16px;
        min-width: 16px;
      }
    </style>
  </template>
</dom-module>