summaryrefslogtreecommitdiffstats
path: root/browser/themes/shared/identity-credential-notification.css
blob: 769361c06744955ae888b882674ec7d153cde915 (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
/* 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/. */

#identity-credential-notification {
  --list-item-border: color-mix(in srgb, currentColor 10%, transparent);
  --list-item-checked-bgcolor: color-mix(in srgb, var(--button-primary-bgcolor) 6%, transparent);
  --list-item-checked-border: color-mix(in srgb, var(--button-primary-bgcolor) 20%, transparent);
}

@media (prefers-contrast) {
  #identity-credential-notification {
    --list-item-border: ThreeDShadow;
    --list-item-checked-bgcolor: transparent;
    --list-item-checked-border: AccentColor;
  }
}

#identity-credential-provider-selector-container,
#identity-credential-account-selector-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 540px;
  overflow: auto;
}

#identity-credential-header-text {
  font-weight: 600;
}

.identity-credential-header-container {
  margin: 16px 16px -16px 16px;
  display: flex;
}

.identity-credential-header-icon {
  width: 16px;
  height: 16px;
  margin-inline-end: 8px;
}

.identity-credential-list-item {
  display: flex;
  gap: 10px;
  padding-block: max(calc(var(--arrowpanel-menuitem-padding-block) * 2), 4px);
  padding-inline: calc(var(--arrowpanel-menuitem-padding-inline) * 2);
  border: 2px solid var(--list-item-border);
  border-radius: 4px;
}

.identity-credential-list-item.checked {
  background-color: var(--list-item-checked-bgcolor);
  border-color: var(--list-item-checked-border);
}

.identity-credential-list-item-icon {
  -moz-context-properties: fill, fill-opacity;
  fill: currentColor;
  fill-opacity: 0.6;
  clip-path: circle(50%);
  width: 32px;
  height: 32px;
}

.identity-credential-list-item > .identity-credential-list-item-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.identity-credential-list-item .identity-credential-list-item-label-primary {
  font-weight: 600;
}

.identity-credential-list-item .identity-credential-list-item-label-secondary {
  font-size: 80%;
}

.identity-credential-list-item > .identity-credential-list-item-label-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}