summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/settings/passwords_and_forms_page/passwords_shared_css.html
blob: 62693628167745441dca732555f9e7a9131d9686 (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
<!-- 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(--settings-separator-line);
      }

      .website-column {
        display: flex;
        flex: 1;
      }

      .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;
      }
    </style>
  </template>
</dom-module>