blob: 69b6d72b0cca9f50dfcc101506b0bc9d7d4a82ff (
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
|
/* 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/. */
.list-item {
display: flex;
align-items: center;
padding-block: 10px;
padding-inline: 12px 18px;
border-inline-start: 4px solid transparent;
user-select: none;
}
.list-item:not(.selected):hover {
background-color: var(--in-content-button-background-hover);
color: var(--in-content-button-text-color-hover);
}
.list-item:not(.selected):hover:active {
background-color: var(--in-content-button-background-active);
color: var(--in-content-button-text-color-active);
}
.list-item.keyboard-selected {
border-inline-start-color: var(--in-content-border-color);
background-color: var(--in-content-button-background-hover);
}
.list-item.selected {
border-inline-start-color: var(--in-content-accent-color);
background-color: var(--in-content-page-background);
}
.list-item.selected .title {
font-weight: 600;
}
.labels {
flex-grow: 1;
overflow: hidden;
min-height: 40px;
display: flex;
flex-direction: column;
justify-content: center;
}
.title,
.subtitle {
display: block;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.icon {
height: 16px;
width: 16px;
margin-inline-end: 12px;
-moz-context-properties: fill, fill-opacity;
fill: currentColor;
fill-opacity: 0.8;
}
.subtitle {
font-size: 0.85em;
color: var(--text-color-deemphasized);
}
.alert-icon {
min-width: 16px;
width: 16px;
margin-inline-start: 12px;
-moz-context-properties: fill, fill-opacity;
fill: currentColor;
fill-opacity: 0.75;
:host([notificationIcon="breached"]) & {
fill: var(--red-60);
fill-opacity: 1;
}
}
|