blob: 5f57f97e5174de648de84795f35153bf5076a7e3 (
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
|
/* 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/>. */
.frames [role="list"] {
list-style: none;
margin: 0;
padding: 4px 0;
}
.frames [role="list"] [role="listitem"] {
padding-bottom: 2px;
overflow: hidden;
display: flex;
justify-content: space-between;
column-gap: 0.5em;
flex-direction: row;
align-items: center;
margin: 0;
max-width: 100%;
flex-wrap: wrap;
}
.frames [role="list"] [role="listitem"] * {
user-select: none;
}
.frames .badge {
flex-shrink: 0;
margin-inline-end: 10px;
}
.frames .location {
font-weight: normal;
margin: 0;
flex-grow: 1;
max-width: 100%;
overflow: hidden;
white-space: nowrap;
/* Trick to get the ellipsis at the start of the string */
text-overflow: ellipsis;
direction: rtl;
}
.call-stack-pane:dir(ltr) .frames .location {
padding-right: 10px;
text-align: right;
}
.call-stack-pane:dir(rtl) .frames .location {
padding-left: 10px;
text-align: left;
}
.call-stack-pane .location-async-cause {
color: var(--theme-comment);
}
.theme-light .frames .location {
color: var(--theme-comment);
}
:root.theme-dark .frames .location {
color: var(--theme-body-color);
opacity: 0.6;
}
.frames .title {
text-overflow: ellipsis;
overflow: hidden;
padding-inline-start: 10px;
}
.frames-group .title {
padding-inline-start: 40px;
}
.frames [role="list"] [role="listitem"]:hover,
.frames [role="list"] [role="listitem"]:focus {
background-color: var(--theme-toolbar-background-alt);
}
.frames [role="list"] [role="listitem"]:hover .location-async-cause,
.frames [role="list"] [role="listitem"]:focus .location-async-cause,
.frames [role="list"] [role="listitem"]:hover .async-label,
.frames [role="list"] [role="listitem"]:focus .async-label {
background-color: var(--theme-body-background);
}
.theme-dark .frames [role="list"] [role="listitem"]:focus,
.theme-dark .frames [role="list"] [role="listitem"]:focus .async-label,
.theme-dark .frames [role="list"] [role="listitem"]:focus .async-label {
background-color: var(--theme-tab-toolbar-background);
}
.frames [role="list"] [role="listitem"].selected,
.frames [role="list"] [role="listitem"].selected .async-label {
background-color: var(--theme-selection-background);
color: white;
}
.frames [role="list"] [role="listitem"].selected i.annotation-logo svg path {
fill: white;
}
:root.theme-light .frames [role="list"] [role="listitem"].selected .location,
:root.theme-dark .frames [role="list"] [role="listitem"].selected .location {
color: white;
}
.frames .show-more-container {
display: flex;
min-height: 24px;
padding: 4px 0;
}
.frames .show-more {
text-align: center;
padding: 8px 0px;
margin: 7px 10px 7px 7px;
border: 1px solid var(--theme-splitter-color);
background-color: var(--theme-tab-toolbar-background);
width: 100%;
font-size: inherit;
color: inherit;
}
.frames .show-more:hover {
background-color: var(--theme-toolbar-background-hover);
}
.frames .img.annotation-logo {
margin-inline-end: 4px;
background-color: currentColor;
}
/*
* We also show the library icon in locations, which are forced to RTL.
*/
.frames .location .img.annotation-logo {
margin-inline-start: 4px;
}
/* Some elements are added to the DOM only to be printed into the clipboard
when the user copy some elements. We don't want those elements to mess with
the layout so we put them outside of the screen
*/
.frames .clipboard-only {
position: absolute;
left: -9999px;
}
.call-stack-pane [role="listitem"] .location-async-cause {
height: 20px;
line-height: 20px;
color: var(--theme-icon-dimmed-color);
display: block;
z-index: 4;
position: relative;
padding-inline-start: 17px;
width: 100%;
pointer-events: none;
}
.frames-group .location-async-cause {
padding-inline-start: 47px;
}
.call-stack-pane [role="listitem"] .location-async-cause::after {
content: " ";
position: absolute;
left: 0;
z-index: -1;
height: 30px;
top: 50%;
width: 100%;
border-top: 1px solid var(--theme-tab-toolbar-background);;
}
.call-stack-pane .async-label {
z-index: 1;
background-color: var(--theme-sidebar-background);
padding: 0 3px;
display: inline-block;
}
|