blob: 6960bdf87c59e3db8d7c27b2c968d6b4a3e4b75f (
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
/* 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 > .identity-credential-list-item-radio {
appearance: none;
background-color: var(--checkbox-unchecked-bgcolor);
background-image: url("chrome://global/skin/icons/radio.svg");
border: 1px solid var(--checkbox-border-color);
border-radius: 100%;
align-self: center;
outline: none;
-moz-context-properties: fill;
fill: transparent;
}
.identity-credential-list-item > .identity-credential-list-item-radio:focus-visible {
outline-offset: var(--focus-outline-offset);
}
.identity-credential-list-item > .identity-credential-list-item-radio:hover {
background-color: var(--checkbox-unchecked-hover-bgcolor);
}
.identity-credential-list-item > .identity-credential-list-item-radio:hover:active {
background-color: var(--checkbox-unchecked-active-bgcolor);
}
.identity-credential-list-item > .identity-credential-list-item-radio:checked {
fill: var(--checkbox-checked-color);
background-color: var(--checkbox-checked-bgcolor);
border-color: var(--checkbox-checked-border-color);
}
.identity-credential-list-item > .identity-credential-list-item-radio:checked:hover {
background-color: var(--checkbox-checked-hover-bgcolor);
}
.identity-credential-list-item > .identity-credential-list-item-radio:checked:hover:active {
background-color: var(--checkbox-checked-active-bgcolor);
}
.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-label {
align-self: center;
font-weight: 600;
}
.identity-credential-list-item-label-stack > .identity-credential-list-item-label-name {
font-weight: 600;
}
.identity-credential-list-item-label-stack > .identity-credential-list-item-label-email {
font-size: 80%;
}
.identity-credential-list-item > .identity-credential-list-item-label-stack {
display: flex;
flex-direction: column;
gap: 4px;
}
|