summaryrefslogtreecommitdiffstats
path: root/browser/components/aboutlogins/content/aboutLogins.css
blob: 6b4a16451c19038560966a6915c91ba6d946372d (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
96
97
98
99
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

html {
   position: fixed;
}
html,
body {
  height: 100%;
  width: 100%;
}

body {
  --sidebar-width: 320px;
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  grid-template-rows: auto 1fr;
}

@media (max-width: 830px) {
  body {
    --sidebar-width: 270px;
  }
}

header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background-color: var(--in-content-page-background);
  padding-block: 9px;
  padding-inline-start: 16px;
  padding-inline-end: 23px;
}

login-filter {
  min-width: 200px;
  max-width: 400px;
  margin-inline: 40px auto;
  flex-grow: 0.5;
  align-self: center;
}

fxaccounts-button,
menu-button {
  margin-inline-start: 18px;
}

login-list {
  grid-row: 1/4;
}

:root:not(.initialized) login-intro,
:root:not(.initialized) login-item,
:root.empty-search login-intro,
:root:not(.no-logins, .empty-search, .login-selected) login-intro,
login-item[data-editing="true"] + login-intro,
.login-selected login-intro,
:root:not(.login-selected) login-item:not([data-editing="true"]),
.no-logins login-item:not([data-editing="true"]) {
  display: none;
}

.heading-wrapper {
  display: flex;
  justify-content: center;
  width: var(--sidebar-width);
  font-weight: 600;
}

:root:not(.primary-password-auth-required) #primary-password-required-overlay {
  display: none;
}

.primary-password-auth-required > body > header,
.primary-password-auth-required > body > login-list,
.primary-password-auth-required > body > section {
  filter: blur(2px)
}

#primary-password-required-overlay {
  z-index: 1;
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.2);
}

body > section {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow-y: hidden;
  overflow-x: auto;
}

login-intro {
  overflow-y: scroll;
}