lighthouse 11.7.0-dev.20240403 → 11.7.0-dev.20240404
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/lib/tracehouse/trace-processor.js +15 -2
- package/package.json +1 -1
- package/flow-report/assets/standalone-flow-template.html +0 -25
- package/flow-report/assets/styles.css +0 -725
- package/flow-report/clients/standalone.d.ts +0 -7
- package/flow-report/clients/standalone.ts +0 -23
- package/report/assets/standalone-template.html +0 -27
- package/report/assets/styles.css +0 -2138
- package/report/assets/templates.html +0 -866
- package/report/clients/bundle.d.ts +0 -6
- package/report/clients/bundle.js +0 -18
- package/report/clients/standalone.d.ts +0 -2
- package/report/clients/standalone.js +0 -62
|
@@ -1,866 +0,0 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
@license
|
|
3
|
-
Copyright 2018 Google LLC
|
|
4
|
-
SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
-->
|
|
6
|
-
|
|
7
|
-
<!-- Lighthouse run warnings -->
|
|
8
|
-
<template id="warningsToplevel">
|
|
9
|
-
<div class="lh-warnings lh-warnings--toplevel">
|
|
10
|
-
<p class="lh-warnings__msg"></p>
|
|
11
|
-
<ul></ul>
|
|
12
|
-
</div>
|
|
13
|
-
</template>
|
|
14
|
-
|
|
15
|
-
<!-- Lighthouse score scale -->
|
|
16
|
-
<template id="scorescale">
|
|
17
|
-
<div class="lh-scorescale">
|
|
18
|
-
<span class="lh-scorescale-range lh-scorescale-range--fail">0–49</span>
|
|
19
|
-
<span class="lh-scorescale-range lh-scorescale-range--average">50–89</span>
|
|
20
|
-
<span class="lh-scorescale-range lh-scorescale-range--pass">90–100</span>
|
|
21
|
-
</div>
|
|
22
|
-
</template>
|
|
23
|
-
|
|
24
|
-
<!-- Toggle arrow chevron -->
|
|
25
|
-
<template id="chevron">
|
|
26
|
-
<svg class="lh-chevron" viewbox="0 0 100 100">
|
|
27
|
-
<g class="lh-chevron__lines">
|
|
28
|
-
<path class="lh-chevron__line lh-chevron__line-left" d="M10 50h40"></path>
|
|
29
|
-
<path class="lh-chevron__line lh-chevron__line-right" d="M90 50H50"></path>
|
|
30
|
-
</g>
|
|
31
|
-
</svg>
|
|
32
|
-
</template>
|
|
33
|
-
|
|
34
|
-
<!-- Lighthouse category header -->
|
|
35
|
-
<template id="categoryHeader">
|
|
36
|
-
<div class="lh-category-header">
|
|
37
|
-
<div class="lh-score__gauge" role="heading" aria-level="2"></div>
|
|
38
|
-
<div class="lh-category-header__description"></div>
|
|
39
|
-
</div>
|
|
40
|
-
</template>
|
|
41
|
-
|
|
42
|
-
<!-- Lighthouse clump -->
|
|
43
|
-
<template id="clump">
|
|
44
|
-
<div class="lh-audit-group">
|
|
45
|
-
<!-- TODO: group classes shouldn't be reused for clumps. -->
|
|
46
|
-
<details class="lh-clump">
|
|
47
|
-
<summary>
|
|
48
|
-
<div class="lh-audit-group__summary">
|
|
49
|
-
<div class="lh-audit-group__header">
|
|
50
|
-
<span class="lh-audit-group__title"></span>
|
|
51
|
-
<span class="lh-audit-group__itemcount"></span>
|
|
52
|
-
<!-- .lh-audit-group__description will be added here -->
|
|
53
|
-
<!-- .lh-metrics-toggle will be added here -->
|
|
54
|
-
</div>
|
|
55
|
-
<div class="lh-clump-toggle">
|
|
56
|
-
<span class="lh-clump-toggletext--show"></span>
|
|
57
|
-
<span class="lh-clump-toggletext--hide"></span>
|
|
58
|
-
</div>
|
|
59
|
-
</div>
|
|
60
|
-
</summary>
|
|
61
|
-
</details>
|
|
62
|
-
</div>
|
|
63
|
-
</template>
|
|
64
|
-
|
|
65
|
-
<!-- Lighthouse audit -->
|
|
66
|
-
<template id="audit">
|
|
67
|
-
<div class="lh-audit">
|
|
68
|
-
<details class="lh-expandable-details">
|
|
69
|
-
<summary>
|
|
70
|
-
<div class="lh-audit__header lh-expandable-details__summary">
|
|
71
|
-
<span class="lh-audit__score-icon"></span>
|
|
72
|
-
<span class="lh-audit__title-and-text">
|
|
73
|
-
<span class="lh-audit__title"></span>
|
|
74
|
-
<span class="lh-audit__display-text"></span>
|
|
75
|
-
</span>
|
|
76
|
-
<div class="lh-chevron-container"></div>
|
|
77
|
-
</div>
|
|
78
|
-
</summary>
|
|
79
|
-
<div class="lh-audit__description"></div>
|
|
80
|
-
<div class="lh-audit__stackpacks"></div>
|
|
81
|
-
</details>
|
|
82
|
-
</div>
|
|
83
|
-
</template>
|
|
84
|
-
|
|
85
|
-
<!-- Lighthouse perf metric -->
|
|
86
|
-
<template id="metric">
|
|
87
|
-
<div class="lh-metric">
|
|
88
|
-
<div class="lh-metric__innerwrap">
|
|
89
|
-
<div class="lh-metric__icon"></div>
|
|
90
|
-
<span class="lh-metric__title"></span>
|
|
91
|
-
<div class="lh-metric__value"></div>
|
|
92
|
-
<div class="lh-metric__description"></div>
|
|
93
|
-
</div>
|
|
94
|
-
</div>
|
|
95
|
-
</template>
|
|
96
|
-
|
|
97
|
-
<!-- Lighthouse score container -->
|
|
98
|
-
<template id="scoresWrapper">
|
|
99
|
-
<style>
|
|
100
|
-
.lh-scores-container {
|
|
101
|
-
display: flex;
|
|
102
|
-
flex-direction: column;
|
|
103
|
-
padding: var(--default-padding) 0;
|
|
104
|
-
position: relative;
|
|
105
|
-
width: 100%;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.lh-sticky-header {
|
|
109
|
-
--gauge-circle-size: var(--gauge-circle-size-sm);
|
|
110
|
-
--plugin-badge-size: 16px;
|
|
111
|
-
--plugin-icon-size: 75%;
|
|
112
|
-
--gauge-wrapper-width: 60px;
|
|
113
|
-
--gauge-percentage-font-size: 13px;
|
|
114
|
-
position: fixed;
|
|
115
|
-
left: 0;
|
|
116
|
-
right: 0;
|
|
117
|
-
top: var(--topbar-height);
|
|
118
|
-
font-weight: 500;
|
|
119
|
-
display: none;
|
|
120
|
-
justify-content: center;
|
|
121
|
-
background-color: var(--sticky-header-background-color);
|
|
122
|
-
border-bottom: 1px solid var(--color-gray-200);
|
|
123
|
-
padding-top: var(--score-container-padding);
|
|
124
|
-
padding-bottom: 4px;
|
|
125
|
-
z-index: 2;
|
|
126
|
-
pointer-events: none;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.lh-devtools .lh-sticky-header {
|
|
130
|
-
/* The report within DevTools is placed in a container with overflow, which changes the placement of this header unless we change `position` to `sticky.` */
|
|
131
|
-
position: sticky;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.lh-sticky-header--visible {
|
|
135
|
-
display: grid;
|
|
136
|
-
grid-auto-flow: column;
|
|
137
|
-
pointer-events: auto;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
/* Disable the gauge arc animation for the sticky header, so toggling display: none
|
|
141
|
-
does not play the animation. */
|
|
142
|
-
.lh-sticky-header .lh-gauge-arc {
|
|
143
|
-
animation: none;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.lh-sticky-header .lh-gauge__label,
|
|
147
|
-
.lh-sticky-header .lh-fraction__label {
|
|
148
|
-
display: none;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.lh-highlighter {
|
|
152
|
-
width: var(--gauge-wrapper-width);
|
|
153
|
-
height: 1px;
|
|
154
|
-
background-color: var(--highlighter-background-color);
|
|
155
|
-
/* Position at bottom of first gauge in sticky header. */
|
|
156
|
-
position: absolute;
|
|
157
|
-
grid-column: 1;
|
|
158
|
-
bottom: -1px;
|
|
159
|
-
left: 0px;
|
|
160
|
-
right: 0px;
|
|
161
|
-
}
|
|
162
|
-
</style>
|
|
163
|
-
<div class="lh-scores-wrapper">
|
|
164
|
-
<div class="lh-scores-container">
|
|
165
|
-
<div class="lh-pyro">
|
|
166
|
-
<div class="lh-pyro-before"></div>
|
|
167
|
-
<div class="lh-pyro-after"></div>
|
|
168
|
-
</div>
|
|
169
|
-
</div>
|
|
170
|
-
</div>
|
|
171
|
-
</template>
|
|
172
|
-
|
|
173
|
-
<!-- Lighthouse topbar -->
|
|
174
|
-
<template id="topbar">
|
|
175
|
-
<style>
|
|
176
|
-
.lh-topbar {
|
|
177
|
-
position: sticky;
|
|
178
|
-
top: 0;
|
|
179
|
-
left: 0;
|
|
180
|
-
right: 0;
|
|
181
|
-
z-index: 1000;
|
|
182
|
-
display: flex;
|
|
183
|
-
align-items: center;
|
|
184
|
-
height: var(--topbar-height);
|
|
185
|
-
padding: var(--topbar-padding);
|
|
186
|
-
font-size: var(--report-font-size-secondary);
|
|
187
|
-
background-color: var(--topbar-background-color);
|
|
188
|
-
border-bottom: 1px solid var(--color-gray-200);
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.lh-topbar__logo {
|
|
192
|
-
width: var(--topbar-logo-size);
|
|
193
|
-
height: var(--topbar-logo-size);
|
|
194
|
-
user-select: none;
|
|
195
|
-
flex: none;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.lh-topbar__url {
|
|
199
|
-
margin: var(--topbar-padding);
|
|
200
|
-
text-decoration: none;
|
|
201
|
-
color: var(--report-text-color);
|
|
202
|
-
text-overflow: ellipsis;
|
|
203
|
-
overflow: hidden;
|
|
204
|
-
white-space: nowrap;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.lh-tools {
|
|
208
|
-
display: flex;
|
|
209
|
-
align-items: center;
|
|
210
|
-
margin-left: auto;
|
|
211
|
-
will-change: transform;
|
|
212
|
-
min-width: var(--report-icon-size);
|
|
213
|
-
}
|
|
214
|
-
.lh-tools__button {
|
|
215
|
-
width: var(--report-icon-size);
|
|
216
|
-
min-width: 24px;
|
|
217
|
-
height: var(--report-icon-size);
|
|
218
|
-
cursor: pointer;
|
|
219
|
-
margin-right: 5px;
|
|
220
|
-
/* This is actually a button element, but we want to style it like a transparent div. */
|
|
221
|
-
display: flex;
|
|
222
|
-
background: none;
|
|
223
|
-
color: inherit;
|
|
224
|
-
border: none;
|
|
225
|
-
padding: 0;
|
|
226
|
-
font: inherit;
|
|
227
|
-
outline: inherit;
|
|
228
|
-
}
|
|
229
|
-
.lh-tools__button svg {
|
|
230
|
-
fill: var(--tools-icon-color);
|
|
231
|
-
}
|
|
232
|
-
.lh-dark .lh-tools__button svg {
|
|
233
|
-
filter: invert(1);
|
|
234
|
-
}
|
|
235
|
-
.lh-tools__button.lh-active + .lh-tools__dropdown {
|
|
236
|
-
opacity: 1;
|
|
237
|
-
clip: rect(-1px, 194px, 270px, -3px);
|
|
238
|
-
visibility: visible;
|
|
239
|
-
}
|
|
240
|
-
.lh-tools__dropdown {
|
|
241
|
-
position: absolute;
|
|
242
|
-
background-color: var(--report-background-color);
|
|
243
|
-
border: 1px solid var(--report-border-color);
|
|
244
|
-
border-radius: 3px;
|
|
245
|
-
padding: calc(var(--default-padding) / 2) 0;
|
|
246
|
-
cursor: pointer;
|
|
247
|
-
top: 36px;
|
|
248
|
-
right: 0;
|
|
249
|
-
box-shadow: 1px 1px 3px #ccc;
|
|
250
|
-
min-width: 125px;
|
|
251
|
-
clip: rect(0, 164px, 0, 0);
|
|
252
|
-
visibility: hidden;
|
|
253
|
-
opacity: 0;
|
|
254
|
-
transition: all 200ms cubic-bezier(0,0,0.2,1);
|
|
255
|
-
}
|
|
256
|
-
.lh-tools__dropdown a {
|
|
257
|
-
color: currentColor;
|
|
258
|
-
text-decoration: none;
|
|
259
|
-
white-space: nowrap;
|
|
260
|
-
padding: 0 6px;
|
|
261
|
-
line-height: 2;
|
|
262
|
-
}
|
|
263
|
-
.lh-tools__dropdown a:hover,
|
|
264
|
-
.lh-tools__dropdown a:focus {
|
|
265
|
-
background-color: var(--color-gray-200);
|
|
266
|
-
outline: none;
|
|
267
|
-
}
|
|
268
|
-
/* save-gist option hidden in report. */
|
|
269
|
-
.lh-tools__dropdown a[data-action='save-gist'] {
|
|
270
|
-
display: none;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
.lh-locale-selector {
|
|
274
|
-
width: 100%;
|
|
275
|
-
color: var(--report-text-color);
|
|
276
|
-
background-color: var(--locale-selector-background-color);
|
|
277
|
-
padding: 2px;
|
|
278
|
-
}
|
|
279
|
-
.lh-tools-locale {
|
|
280
|
-
display: flex;
|
|
281
|
-
align-items: center;
|
|
282
|
-
flex-direction: row-reverse;
|
|
283
|
-
}
|
|
284
|
-
.lh-tools-locale__selector-wrapper {
|
|
285
|
-
transition: opacity 0.15s;
|
|
286
|
-
opacity: 0;
|
|
287
|
-
max-width: 200px;
|
|
288
|
-
}
|
|
289
|
-
.lh-button.lh-tool-locale__button {
|
|
290
|
-
height: var(--topbar-height);
|
|
291
|
-
color: var(--tools-icon-color);
|
|
292
|
-
padding: calc(var(--default-padding) / 2);
|
|
293
|
-
}
|
|
294
|
-
.lh-tool-locale__button.lh-active + .lh-tools-locale__selector-wrapper {
|
|
295
|
-
opacity: 1;
|
|
296
|
-
clip: rect(-1px, 194px, 242px, -3px);
|
|
297
|
-
visibility: visible;
|
|
298
|
-
margin: 0 4px;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
@media screen and (max-width: 964px) {
|
|
302
|
-
.lh-tools__dropdown {
|
|
303
|
-
right: 0;
|
|
304
|
-
left: initial;
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
@media print {
|
|
308
|
-
.lh-topbar {
|
|
309
|
-
position: static;
|
|
310
|
-
margin-left: 0;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
.lh-tools__dropdown {
|
|
314
|
-
display: none;
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
</style>
|
|
318
|
-
|
|
319
|
-
<div class="lh-topbar">
|
|
320
|
-
<!-- Lighthouse logo. -->
|
|
321
|
-
<svg role="img" class="lh-topbar__logo" title="Lighthouse logo" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48">
|
|
322
|
-
<path d="m14 7 10-7 10 7v10h5v7h-5l5 24H9l5-24H9v-7h5V7Z" fill="#F63"/>
|
|
323
|
-
<path d="M31.561 24H14l-1.689 8.105L31.561 24ZM18.983 48H9l1.022-4.907L35.723 32.27l1.663 7.98L18.983 48Z" fill="#FFA385"/>
|
|
324
|
-
<path fill="#FF3" d="M20.5 10h7v7h-7z"/>
|
|
325
|
-
</svg>
|
|
326
|
-
|
|
327
|
-
<a href="" class="lh-topbar__url" target="_blank" rel="noopener"></a>
|
|
328
|
-
|
|
329
|
-
<div class="lh-tools">
|
|
330
|
-
<div class="lh-tools-locale lh-hidden">
|
|
331
|
-
<button id="lh-button__swap-locales" class="lh-button lh-tool-locale__button" title="Show Language Picker" aria-label="Toggle language picker" aria-haspopup="menu" aria-expanded="false" aria-controls="lh-tools-locale__selector-wrapper">
|
|
332
|
-
<svg width="20px" height="20px" viewBox="0 0 24 24" fill="currentColor"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"/></svg>
|
|
333
|
-
</button>
|
|
334
|
-
<div id="lh-tools-locale__selector-wrapper" class="lh-tools-locale__selector-wrapper" role="menu" aria-labelledby="lh-button__swap-locales" aria-hidden="true">
|
|
335
|
-
<!-- Select element created by ReportUIFeatures._enableSwapLocale: .lh-locale-selector -->
|
|
336
|
-
</div>
|
|
337
|
-
</div>
|
|
338
|
-
|
|
339
|
-
<button id="lh-tools-button" class="lh-tools__button" title="Tools menu" aria-label="Toggle report tools menu" aria-haspopup="menu" aria-expanded="false" aria-controls="lh-tools-dropdown">
|
|
340
|
-
<svg width="100%" height="100%" viewBox="0 0 24 24">
|
|
341
|
-
<path d="M0 0h24v24H0z" fill="none"/>
|
|
342
|
-
<path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/>
|
|
343
|
-
</svg>
|
|
344
|
-
</button>
|
|
345
|
-
<div id="lh-tools-dropdown" role="menu" class="lh-tools__dropdown" aria-labelledby="lh-tools-button">
|
|
346
|
-
<a role="menuitem" tabindex="-1" href="#" class="lh-report-icon lh-report-icon--print" data-i18n="dropdownPrintSummary" data-action="print-summary"></a>
|
|
347
|
-
<a role="menuitem" tabindex="-1" href="#" class="lh-report-icon lh-report-icon--print" data-i18n="dropdownPrintExpanded" data-action="print-expanded"></a>
|
|
348
|
-
<a role="menuitem" tabindex="-1" href="#" class="lh-report-icon lh-report-icon--copy" data-i18n="dropdownCopyJSON" data-action="copy"></a>
|
|
349
|
-
<!-- Only enabled if Options.getStandaloneReportHTML is set. -->
|
|
350
|
-
<a role="menuitem" tabindex="-1" href="#" class="lh-report-icon lh-report-icon--download lh-hidden" data-i18n="dropdownSaveHTML" data-action="save-html"></a>
|
|
351
|
-
<a role="menuitem" tabindex="-1" href="#" class="lh-report-icon lh-report-icon--download" data-i18n="dropdownSaveJSON" data-action="save-json"></a>
|
|
352
|
-
<a role="menuitem" tabindex="-1" href="#" class="lh-report-icon lh-report-icon--open" data-i18n="dropdownViewer" data-action="open-viewer"></a>
|
|
353
|
-
<a role="menuitem" tabindex="-1" href="#" class="lh-report-icon lh-report-icon--open" data-i18n="dropdownSaveGist" data-action="save-gist"></a>
|
|
354
|
-
<!-- Only enabled if Options.onViewTrace is set and we are on simulated throttling. -->
|
|
355
|
-
<a role="menuitem" tabindex="-1" href="#" class="lh-report-icon lh-report-icon--open lh-hidden" data-i18n="dropdownViewUnthrottledTrace" data-action="view-unthrottled-trace"></a>
|
|
356
|
-
<a role="menuitem" tabindex="-1" href="#" class="lh-report-icon lh-report-icon--dark" data-i18n="dropdownDarkTheme" data-action="toggle-dark"></a>
|
|
357
|
-
</div>
|
|
358
|
-
</div>
|
|
359
|
-
</div>
|
|
360
|
-
</template>
|
|
361
|
-
|
|
362
|
-
<!-- Lighthouse header -->
|
|
363
|
-
<template id="heading">
|
|
364
|
-
<style>
|
|
365
|
-
/* CSS Fireworks. Originally by Eddie Lin
|
|
366
|
-
https://codepen.io/paulirish/pen/yEVMbP
|
|
367
|
-
*/
|
|
368
|
-
.lh-pyro {
|
|
369
|
-
display: none;
|
|
370
|
-
z-index: 1;
|
|
371
|
-
pointer-events: none;
|
|
372
|
-
}
|
|
373
|
-
.lh-score100 .lh-pyro {
|
|
374
|
-
display: block;
|
|
375
|
-
}
|
|
376
|
-
.lh-score100 .lh-lighthouse stop:first-child {
|
|
377
|
-
stop-color: hsla(200, 12%, 95%, 0);
|
|
378
|
-
}
|
|
379
|
-
.lh-score100 .lh-lighthouse stop:last-child {
|
|
380
|
-
stop-color: hsla(65, 81%, 76%, 1);
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
.lh-pyro > .lh-pyro-before, .lh-pyro > .lh-pyro-after {
|
|
384
|
-
position: absolute;
|
|
385
|
-
width: 5px;
|
|
386
|
-
height: 5px;
|
|
387
|
-
border-radius: 2.5px;
|
|
388
|
-
box-shadow: 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff;
|
|
389
|
-
animation: 1s bang ease-out infinite backwards, 1s gravity ease-in infinite backwards, 5s position linear infinite backwards;
|
|
390
|
-
animation-delay: 1s, 1s, 1s;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
.lh-pyro > .lh-pyro-after {
|
|
394
|
-
animation-delay: 2.25s, 2.25s, 2.25s;
|
|
395
|
-
animation-duration: 1.25s, 1.25s, 6.25s;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
@keyframes bang {
|
|
399
|
-
to {
|
|
400
|
-
opacity: 1;
|
|
401
|
-
box-shadow: -70px -115.67px #47ebbc, -28px -99.67px #eb47a4, 58px -31.67px #7eeb47, 13px -141.67px #eb47c5, -19px 6.33px #7347eb, -2px -74.67px #ebd247, 24px -151.67px #eb47e0, 57px -138.67px #b4eb47, -51px -104.67px #479eeb, 62px 8.33px #ebcf47, -93px 0.33px #d547eb, -16px -118.67px #47bfeb, 53px -84.67px #47eb83, 66px -57.67px #eb47bf, -93px -65.67px #91eb47, 30px -13.67px #86eb47, -2px -59.67px #83eb47, -44px 1.33px #eb47eb, 61px -58.67px #47eb73, 5px -22.67px #47e8eb, -66px -28.67px #ebe247, 42px -123.67px #eb5547, -75px 26.33px #7beb47, 15px -52.67px #a147eb, 36px -51.67px #eb8347, -38px -12.67px #eb5547, -46px -59.67px #47eb81, 78px -114.67px #eb47ba, 15px -156.67px #eb47bf, -36px 1.33px #eb4783, -72px -86.67px #eba147, 31px -46.67px #ebe247, -68px 29.33px #47e2eb, -55px 19.33px #ebe047, -56px 27.33px #4776eb, -13px -91.67px #eb5547, -47px -138.67px #47ebc7, -18px -96.67px #eb47ac, 11px -88.67px #4783eb, -67px -28.67px #47baeb, 53px 10.33px #ba47eb, 11px 19.33px #5247eb, -5px -11.67px #eb4791, -68px -4.67px #47eba7, 95px -37.67px #eb478b, -67px -162.67px #eb5d47, -54px -120.67px #eb6847, 49px -12.67px #ebe047, 88px 8.33px #47ebda, 97px 33.33px #eb8147, 6px -71.67px #ebbc47;
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
@keyframes gravity {
|
|
405
|
-
from {
|
|
406
|
-
opacity: 1;
|
|
407
|
-
}
|
|
408
|
-
to {
|
|
409
|
-
transform: translateY(80px);
|
|
410
|
-
opacity: 0;
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
@keyframes position {
|
|
414
|
-
0%, 19.9% {
|
|
415
|
-
margin-top: 4%;
|
|
416
|
-
margin-left: 47%;
|
|
417
|
-
}
|
|
418
|
-
20%, 39.9% {
|
|
419
|
-
margin-top: 7%;
|
|
420
|
-
margin-left: 30%;
|
|
421
|
-
}
|
|
422
|
-
40%, 59.9% {
|
|
423
|
-
margin-top: 6%;
|
|
424
|
-
margin-left: 70%;
|
|
425
|
-
}
|
|
426
|
-
60%, 79.9% {
|
|
427
|
-
margin-top: 3%;
|
|
428
|
-
margin-left: 20%;
|
|
429
|
-
}
|
|
430
|
-
80%, 99.9% {
|
|
431
|
-
margin-top: 3%;
|
|
432
|
-
margin-left: 80%;
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
</style>
|
|
436
|
-
|
|
437
|
-
<div class="lh-header-container">
|
|
438
|
-
<div class="lh-scores-wrapper-placeholder"></div>
|
|
439
|
-
</div>
|
|
440
|
-
</template>
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
<!-- Lighthouse footer -->
|
|
444
|
-
<template id="footer">
|
|
445
|
-
<style>
|
|
446
|
-
.lh-footer {
|
|
447
|
-
padding: var(--footer-padding-vertical) calc(var(--default-padding) * 2);
|
|
448
|
-
max-width: var(--report-content-max-width);
|
|
449
|
-
margin: 0 auto;
|
|
450
|
-
}
|
|
451
|
-
.lh-footer .lh-generated {
|
|
452
|
-
text-align: center;
|
|
453
|
-
}
|
|
454
|
-
</style>
|
|
455
|
-
<footer class="lh-footer">
|
|
456
|
-
<ul class="lh-meta__items">
|
|
457
|
-
</ul>
|
|
458
|
-
|
|
459
|
-
<div class="lh-generated">
|
|
460
|
-
<!-- TODO(i18n): use ICU replacement to replace version w/o concatenation. -->
|
|
461
|
-
Generated by <b>Lighthouse</b> <span class="lh-footer__version"></span> |
|
|
462
|
-
<a href="https://github.com/GoogleChrome/Lighthouse/issues" target="_blank" rel="noopener" class="lh-footer__version_issue">File an issue</a>
|
|
463
|
-
</div>
|
|
464
|
-
</footer>
|
|
465
|
-
</template>
|
|
466
|
-
|
|
467
|
-
<!-- Lighthouse score gauge -->
|
|
468
|
-
<template id="gauge">
|
|
469
|
-
<a class="lh-gauge__wrapper">
|
|
470
|
-
<!-- Wrapper exists for the ::before plugin icon. Cannot create pseudo-elements on svgs. -->
|
|
471
|
-
<div class="lh-gauge__svg-wrapper">
|
|
472
|
-
<svg viewBox="0 0 120 120" class="lh-gauge">
|
|
473
|
-
<circle class="lh-gauge-base" r="56" cx="60" cy="60" stroke-width="8"></circle>
|
|
474
|
-
<circle class="lh-gauge-arc" r="56" cx="60" cy="60" stroke-width="8"></circle>
|
|
475
|
-
</svg>
|
|
476
|
-
</div>
|
|
477
|
-
<div class="lh-gauge__percentage"></div>
|
|
478
|
-
<!-- TODO: should likely be an h2 -->
|
|
479
|
-
<div class="lh-gauge__label"></div>
|
|
480
|
-
</a>
|
|
481
|
-
</template>
|
|
482
|
-
|
|
483
|
-
<!-- Lighthouse score gauge - explodey version -->
|
|
484
|
-
<template id="explodeyGauge">
|
|
485
|
-
<div class="lh-exp-gauge-component">
|
|
486
|
-
<div class="lh-exp-gauge__wrapper" target="_blank">
|
|
487
|
-
<div class="lh-exp-gauge__svg-wrapper">
|
|
488
|
-
<svg class="lh-exp-gauge">
|
|
489
|
-
<g class="lh-exp-gauge__inner">
|
|
490
|
-
<circle class="lh-exp-gauge__bg" />
|
|
491
|
-
<circle class="lh-exp-gauge__base lh-exp-gauge--faded" />
|
|
492
|
-
<circle class="lh-exp-gauge__arc" />
|
|
493
|
-
<text class="lh-exp-gauge__percentage"></text>
|
|
494
|
-
</g>
|
|
495
|
-
<g class="lh-exp-gauge__outer">
|
|
496
|
-
<circle class="lh-cover" />
|
|
497
|
-
</g>
|
|
498
|
-
<text class="lh-exp-gauge__label" text-anchor="middle" x="0" y="60"></text>
|
|
499
|
-
</svg>
|
|
500
|
-
</div>
|
|
501
|
-
</div>
|
|
502
|
-
</div>
|
|
503
|
-
</template>
|
|
504
|
-
|
|
505
|
-
<!-- Lighthouse category fraction -->
|
|
506
|
-
<template id="fraction">
|
|
507
|
-
<a class="lh-fraction__wrapper">
|
|
508
|
-
<div class="lh-fraction__content-wrapper">
|
|
509
|
-
<div class="lh-fraction__content">
|
|
510
|
-
<div class="lh-fraction__background"></div>
|
|
511
|
-
</div>
|
|
512
|
-
</div>
|
|
513
|
-
<div class="lh-fraction__label"></div>
|
|
514
|
-
</a>
|
|
515
|
-
</template>
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
<!-- Lighthouse PWA badge gauge -->
|
|
519
|
-
<template id="gaugePwa">
|
|
520
|
-
<style>
|
|
521
|
-
.lh-gauge--pwa .lh-gauge--pwa__component {
|
|
522
|
-
display: none;
|
|
523
|
-
}
|
|
524
|
-
.lh-gauge--pwa__wrapper:not(.lh-badged--all) .lh-gauge--pwa__logo > path {
|
|
525
|
-
/* Gray logo unless everything is passing. */
|
|
526
|
-
fill: #B0B0B0;
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
.lh-gauge--pwa__disc {
|
|
530
|
-
fill: var(--color-gray-200);
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
.lh-gauge--pwa__logo--primary-color {
|
|
534
|
-
fill: #304FFE;
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
.lh-gauge--pwa__logo--secondary-color {
|
|
538
|
-
fill: #3D3D3D;
|
|
539
|
-
}
|
|
540
|
-
.lh-dark .lh-gauge--pwa__logo--secondary-color {
|
|
541
|
-
fill: #D8B6B6;
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
/* No passing groups. */
|
|
545
|
-
.lh-gauge--pwa__wrapper:not([class*='lh-badged--']) .lh-gauge--pwa__na-line {
|
|
546
|
-
display: inline;
|
|
547
|
-
}
|
|
548
|
-
/* Just optimized. Same n/a line as no passing groups. */
|
|
549
|
-
.lh-gauge--pwa__wrapper.lh-badged--pwa-optimized:not(.lh-badged--pwa-installable) .lh-gauge--pwa__na-line {
|
|
550
|
-
display: inline;
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
/* Just installable. */
|
|
554
|
-
.lh-gauge--pwa__wrapper.lh-badged--pwa-installable .lh-gauge--pwa__installable-badge {
|
|
555
|
-
display: inline;
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
/* All passing groups. */
|
|
559
|
-
.lh-gauge--pwa__wrapper.lh-badged--all .lh-gauge--pwa__check-circle {
|
|
560
|
-
display: inline;
|
|
561
|
-
}
|
|
562
|
-
</style>
|
|
563
|
-
|
|
564
|
-
<a class="lh-gauge__wrapper lh-gauge--pwa__wrapper">
|
|
565
|
-
<svg viewBox="0 0 60 60" class="lh-gauge lh-gauge--pwa">
|
|
566
|
-
<defs>
|
|
567
|
-
<linearGradient id="lh-gauge--pwa__check-circle__gradient" x1="50%" y1="0%" x2="50%" y2="100%">
|
|
568
|
-
<stop stop-color="#00C852" offset="0%"></stop>
|
|
569
|
-
<stop stop-color="#009688" offset="100%"></stop>
|
|
570
|
-
</linearGradient>
|
|
571
|
-
<linearGradient id="lh-gauge--pwa__installable__shadow-gradient" x1="76.056%" x2="24.111%" y1="82.995%" y2="24.735%">
|
|
572
|
-
<stop stop-color="#A5D6A7" offset="0%"></stop>
|
|
573
|
-
<stop stop-color="#80CBC4" offset="100%"></stop>
|
|
574
|
-
</linearGradient>
|
|
575
|
-
|
|
576
|
-
<g id="lh-gauge--pwa__installable-badge">
|
|
577
|
-
<circle fill="#FFFFFF" cx="10" cy="10" r="10"></circle>
|
|
578
|
-
<path fill="#009688" d="M10 4.167A5.835 5.835 0 0 0 4.167 10 5.835 5.835 0 0 0 10 15.833 5.835 5.835 0 0 0 15.833 10 5.835 5.835 0 0 0 10 4.167zm2.917 6.416h-2.334v2.334H9.417v-2.334H7.083V9.417h2.334V7.083h1.166v2.334h2.334v1.166z"/>
|
|
579
|
-
</g>
|
|
580
|
-
</defs>
|
|
581
|
-
|
|
582
|
-
<g stroke="none" fill-rule="nonzero">
|
|
583
|
-
<!-- Background and PWA logo (color by default) -->
|
|
584
|
-
<circle class="lh-gauge--pwa__disc" cx="30" cy="30" r="30"></circle>
|
|
585
|
-
<g class="lh-gauge--pwa__logo">
|
|
586
|
-
<path class="lh-gauge--pwa__logo--secondary-color" d="M35.66 19.39l.7-1.75h2L37.4 15 38.6 12l3.4 9h-2.51l-.58-1.61z"/>
|
|
587
|
-
<path class="lh-gauge--pwa__logo--primary-color" d="M33.52 21l3.65-9h-2.42l-2.5 5.82L30.5 12h-1.86l-1.9 5.82-1.35-2.65-1.21 3.72L25.4 21h2.38l1.72-5.2 1.64 5.2z"/>
|
|
588
|
-
<path class="lh-gauge--pwa__logo--secondary-color" fill-rule="nonzero" d="M20.3 17.91h1.48c.45 0 .85-.05 1.2-.15l.39-1.18 1.07-3.3a2.64 2.64 0 0 0-.28-.37c-.55-.6-1.36-.91-2.42-.91H18v9h2.3V17.9zm1.96-3.84c.22.22.33.5.33.87 0 .36-.1.65-.29.87-.2.23-.59.35-1.15.35h-.86v-2.41h.87c.52 0 .89.1 1.1.32z"/>
|
|
589
|
-
</g>
|
|
590
|
-
|
|
591
|
-
<!-- No badges. -->
|
|
592
|
-
<rect class="lh-gauge--pwa__component lh-gauge--pwa__na-line" fill="#FFFFFF" x="20" y="32" width="20" height="4" rx="2"></rect>
|
|
593
|
-
|
|
594
|
-
<!-- Just installable. -->
|
|
595
|
-
<g class="lh-gauge--pwa__component lh-gauge--pwa__installable-badge" transform="translate(20, 29)">
|
|
596
|
-
<path fill="url(#lh-gauge--pwa__installable__shadow-gradient)" d="M33.629 19.487c-4.272 5.453-10.391 9.39-17.415 10.869L3 17.142 17.142 3 33.63 19.487z"/>
|
|
597
|
-
<use href="#lh-gauge--pwa__installable-badge" />
|
|
598
|
-
</g>
|
|
599
|
-
|
|
600
|
-
<!-- Full PWA. -->
|
|
601
|
-
<g class="lh-gauge--pwa__component lh-gauge--pwa__check-circle" transform="translate(18, 28)">
|
|
602
|
-
<circle fill="#FFFFFF" cx="12" cy="12" r="12"></circle>
|
|
603
|
-
<path fill="url(#lh-gauge--pwa__check-circle__gradient)" d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"></path>
|
|
604
|
-
</g>
|
|
605
|
-
</g>
|
|
606
|
-
</svg>
|
|
607
|
-
|
|
608
|
-
<div class="lh-gauge__label"></div>
|
|
609
|
-
</a>
|
|
610
|
-
</template>
|
|
611
|
-
|
|
612
|
-
<!-- Lighthouse crtiical request chains component -->
|
|
613
|
-
<template id="crc">
|
|
614
|
-
<div class="lh-crc-container">
|
|
615
|
-
<style>
|
|
616
|
-
.lh-crc .lh-tree-marker {
|
|
617
|
-
width: 12px;
|
|
618
|
-
height: 26px;
|
|
619
|
-
display: block;
|
|
620
|
-
float: left;
|
|
621
|
-
background-position: top left;
|
|
622
|
-
}
|
|
623
|
-
.lh-crc .lh-horiz-down {
|
|
624
|
-
background: url('data:image/svg+xml;utf8,<svg width="16" height="26" viewBox="0 0 16 26" xmlns="http://www.w3.org/2000/svg"><g fill="%23D8D8D8" fill-rule="evenodd"><path d="M16 12v2H-2v-2z"/><path d="M9 12v14H7V12z"/></g></svg>');
|
|
625
|
-
}
|
|
626
|
-
.lh-crc .lh-right {
|
|
627
|
-
background: url('data:image/svg+xml;utf8,<svg width="16" height="26" viewBox="0 0 16 26" xmlns="http://www.w3.org/2000/svg"><path d="M16 12v2H0v-2z" fill="%23D8D8D8" fill-rule="evenodd"/></svg>');
|
|
628
|
-
}
|
|
629
|
-
.lh-crc .lh-up-right {
|
|
630
|
-
background: url('data:image/svg+xml;utf8,<svg width="16" height="26" viewBox="0 0 16 26" xmlns="http://www.w3.org/2000/svg"><path d="M7 0h2v14H7zm2 12h7v2H9z" fill="%23D8D8D8" fill-rule="evenodd"/></svg>');
|
|
631
|
-
}
|
|
632
|
-
.lh-crc .lh-vert-right {
|
|
633
|
-
background: url('data:image/svg+xml;utf8,<svg width="16" height="26" viewBox="0 0 16 26" xmlns="http://www.w3.org/2000/svg"><path d="M7 0h2v27H7zm2 12h7v2H9z" fill="%23D8D8D8" fill-rule="evenodd"/></svg>');
|
|
634
|
-
}
|
|
635
|
-
.lh-crc .lh-vert {
|
|
636
|
-
background: url('data:image/svg+xml;utf8,<svg width="16" height="26" viewBox="0 0 16 26" xmlns="http://www.w3.org/2000/svg"><path d="M7 0h2v26H7z" fill="%23D8D8D8" fill-rule="evenodd"/></svg>');
|
|
637
|
-
}
|
|
638
|
-
.lh-crc .lh-crc-tree {
|
|
639
|
-
font-size: 14px;
|
|
640
|
-
width: 100%;
|
|
641
|
-
overflow-x: auto;
|
|
642
|
-
}
|
|
643
|
-
.lh-crc .lh-crc-node {
|
|
644
|
-
height: 26px;
|
|
645
|
-
line-height: 26px;
|
|
646
|
-
white-space: nowrap;
|
|
647
|
-
}
|
|
648
|
-
.lh-crc .lh-crc-node__tree-value {
|
|
649
|
-
margin-left: 10px;
|
|
650
|
-
}
|
|
651
|
-
.lh-crc .lh-crc-node__tree-value div {
|
|
652
|
-
display: inline;
|
|
653
|
-
}
|
|
654
|
-
.lh-crc .lh-crc-node__chain-duration {
|
|
655
|
-
font-weight: 700;
|
|
656
|
-
}
|
|
657
|
-
.lh-crc .lh-crc-initial-nav {
|
|
658
|
-
color: #595959;
|
|
659
|
-
font-style: italic;
|
|
660
|
-
}
|
|
661
|
-
.lh-crc__summary-value {
|
|
662
|
-
margin-bottom: 10px;
|
|
663
|
-
}
|
|
664
|
-
</style>
|
|
665
|
-
<div>
|
|
666
|
-
<div class="lh-crc__summary-value">
|
|
667
|
-
<span class="lh-crc__longest_duration_label"></span> <b class="lh-crc__longest_duration"></b>
|
|
668
|
-
</div>
|
|
669
|
-
</div>
|
|
670
|
-
<div class="lh-crc">
|
|
671
|
-
<div class="lh-crc-initial-nav"></div>
|
|
672
|
-
<!-- crcChain -->
|
|
673
|
-
</div>
|
|
674
|
-
</div>
|
|
675
|
-
</template>
|
|
676
|
-
|
|
677
|
-
<!-- Lighthouse crtiical request chains component, single chain -->
|
|
678
|
-
<template id="crcChain">
|
|
679
|
-
<div class="lh-crc-node">
|
|
680
|
-
<span class="lh-crc-node__tree-marker"></span>
|
|
681
|
-
<span class="lh-crc-node__tree-value"></span>
|
|
682
|
-
</div>
|
|
683
|
-
</template>
|
|
684
|
-
|
|
685
|
-
<template id="3pFilter">
|
|
686
|
-
<style>
|
|
687
|
-
.lh-3p-filter {
|
|
688
|
-
color: var(--color-gray-600);
|
|
689
|
-
float: right;
|
|
690
|
-
padding: 6px var(--stackpack-padding-horizontal);
|
|
691
|
-
}
|
|
692
|
-
.lh-3p-filter-label, .lh-3p-filter-input {
|
|
693
|
-
vertical-align: middle;
|
|
694
|
-
user-select: none;
|
|
695
|
-
}
|
|
696
|
-
.lh-3p-filter-input:disabled + .lh-3p-ui-string {
|
|
697
|
-
text-decoration: line-through;
|
|
698
|
-
}
|
|
699
|
-
</style>
|
|
700
|
-
<div class="lh-3p-filter">
|
|
701
|
-
<label class="lh-3p-filter-label">
|
|
702
|
-
<input type="checkbox" class="lh-3p-filter-input" checked />
|
|
703
|
-
<span class="lh-3p-ui-string">Show 3rd party resources</span> (<span class="lh-3p-filter-count"></span>)
|
|
704
|
-
</label>
|
|
705
|
-
</div>
|
|
706
|
-
</template>
|
|
707
|
-
|
|
708
|
-
<!-- Lighthouse snippet component -->
|
|
709
|
-
<template id="snippet">
|
|
710
|
-
<div class="lh-snippet">
|
|
711
|
-
<style>
|
|
712
|
-
:root {
|
|
713
|
-
--snippet-highlight-light: #fbf1f2;
|
|
714
|
-
--snippet-highlight-dark: #ffd6d8;
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
.lh-snippet__header {
|
|
718
|
-
position: relative;
|
|
719
|
-
overflow: hidden;
|
|
720
|
-
padding: 10px;
|
|
721
|
-
border-bottom: none;
|
|
722
|
-
color: var(--snippet-color);
|
|
723
|
-
background-color: var(--snippet-background-color);
|
|
724
|
-
border: 1px solid var(--report-border-color-secondary);
|
|
725
|
-
}
|
|
726
|
-
.lh-snippet__title {
|
|
727
|
-
font-weight: bold;
|
|
728
|
-
float: left;
|
|
729
|
-
}
|
|
730
|
-
.lh-snippet__node {
|
|
731
|
-
float: left;
|
|
732
|
-
margin-left: 4px;
|
|
733
|
-
}
|
|
734
|
-
.lh-snippet__toggle-expand {
|
|
735
|
-
padding: 1px 7px;
|
|
736
|
-
margin-top: -1px;
|
|
737
|
-
margin-right: -7px;
|
|
738
|
-
float: right;
|
|
739
|
-
background: transparent;
|
|
740
|
-
border: none;
|
|
741
|
-
cursor: pointer;
|
|
742
|
-
font-size: 14px;
|
|
743
|
-
color: #0c50c7;
|
|
744
|
-
}
|
|
745
|
-
|
|
746
|
-
.lh-snippet__snippet {
|
|
747
|
-
overflow: auto;
|
|
748
|
-
border: 1px solid var(--report-border-color-secondary);
|
|
749
|
-
}
|
|
750
|
-
/* Container needed so that all children grow to the width of the scroll container */
|
|
751
|
-
.lh-snippet__snippet-inner {
|
|
752
|
-
display: inline-block;
|
|
753
|
-
min-width: 100%;
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
.lh-snippet:not(.lh-snippet--expanded) .lh-snippet__show-if-expanded {
|
|
757
|
-
display: none;
|
|
758
|
-
}
|
|
759
|
-
.lh-snippet.lh-snippet--expanded .lh-snippet__show-if-collapsed {
|
|
760
|
-
display: none;
|
|
761
|
-
}
|
|
762
|
-
|
|
763
|
-
.lh-snippet__line {
|
|
764
|
-
background: white;
|
|
765
|
-
white-space: pre;
|
|
766
|
-
display: flex;
|
|
767
|
-
}
|
|
768
|
-
.lh-snippet__line:not(.lh-snippet__line--message):first-child {
|
|
769
|
-
padding-top: 4px;
|
|
770
|
-
}
|
|
771
|
-
.lh-snippet__line:not(.lh-snippet__line--message):last-child {
|
|
772
|
-
padding-bottom: 4px;
|
|
773
|
-
}
|
|
774
|
-
.lh-snippet__line--content-highlighted {
|
|
775
|
-
background: var(--snippet-highlight-dark);
|
|
776
|
-
}
|
|
777
|
-
.lh-snippet__line--message {
|
|
778
|
-
background: var(--snippet-highlight-light);
|
|
779
|
-
}
|
|
780
|
-
.lh-snippet__line--message .lh-snippet__line-number {
|
|
781
|
-
padding-top: 10px;
|
|
782
|
-
padding-bottom: 10px;
|
|
783
|
-
}
|
|
784
|
-
.lh-snippet__line--message code {
|
|
785
|
-
padding: 10px;
|
|
786
|
-
padding-left: 5px;
|
|
787
|
-
color: var(--color-fail);
|
|
788
|
-
font-family: var(--report-font-family);
|
|
789
|
-
}
|
|
790
|
-
.lh-snippet__line--message code {
|
|
791
|
-
white-space: normal;
|
|
792
|
-
}
|
|
793
|
-
.lh-snippet__line-icon {
|
|
794
|
-
padding-top: 10px;
|
|
795
|
-
display: none;
|
|
796
|
-
}
|
|
797
|
-
.lh-snippet__line--message .lh-snippet__line-icon {
|
|
798
|
-
display: block;
|
|
799
|
-
}
|
|
800
|
-
.lh-snippet__line-icon:before {
|
|
801
|
-
content: "";
|
|
802
|
-
display: inline-block;
|
|
803
|
-
vertical-align: middle;
|
|
804
|
-
margin-right: 4px;
|
|
805
|
-
width: var(--score-icon-size);
|
|
806
|
-
height: var(--score-icon-size);
|
|
807
|
-
background-image: var(--fail-icon-url);
|
|
808
|
-
}
|
|
809
|
-
.lh-snippet__line-number {
|
|
810
|
-
flex-shrink: 0;
|
|
811
|
-
width: 40px;
|
|
812
|
-
text-align: right;
|
|
813
|
-
font-family: monospace;
|
|
814
|
-
padding-right: 5px;
|
|
815
|
-
margin-right: 5px;
|
|
816
|
-
color: var(--color-gray-600);
|
|
817
|
-
user-select: none;
|
|
818
|
-
}
|
|
819
|
-
</style>
|
|
820
|
-
</div>
|
|
821
|
-
</template>
|
|
822
|
-
|
|
823
|
-
<template id="snippetHeader">
|
|
824
|
-
<div class="lh-snippet__header">
|
|
825
|
-
<div class="lh-snippet__title"></div>
|
|
826
|
-
<div class="lh-snippet__node"></div>
|
|
827
|
-
<button class="lh-snippet__toggle-expand">
|
|
828
|
-
<span class="lh-snippet__btn-label-collapse lh-snippet__show-if-expanded"></span>
|
|
829
|
-
<span class="lh-snippet__btn-label-expand lh-snippet__show-if-collapsed"></span>
|
|
830
|
-
</button>
|
|
831
|
-
</div>
|
|
832
|
-
</template>
|
|
833
|
-
|
|
834
|
-
<template id="snippetContent">
|
|
835
|
-
<div class="lh-snippet__snippet">
|
|
836
|
-
<div class="lh-snippet__snippet-inner"></div>
|
|
837
|
-
</div>
|
|
838
|
-
</template>
|
|
839
|
-
|
|
840
|
-
<template id="snippetLine">
|
|
841
|
-
<div class="lh-snippet__line">
|
|
842
|
-
<div class="lh-snippet__line-number"></div>
|
|
843
|
-
<div class="lh-snippet__line-icon"></div>
|
|
844
|
-
<code></code>
|
|
845
|
-
</div>
|
|
846
|
-
</template>
|
|
847
|
-
|
|
848
|
-
<!-- Lighthouse element screenshot -->
|
|
849
|
-
<template id="elementScreenshot">
|
|
850
|
-
<div class="lh-element-screenshot">
|
|
851
|
-
<div class="lh-element-screenshot__content">
|
|
852
|
-
<div class="lh-element-screenshot__image">
|
|
853
|
-
<div class="lh-element-screenshot__mask">
|
|
854
|
-
<svg height="0" width="0">
|
|
855
|
-
<defs>
|
|
856
|
-
<clipPath clipPathUnits="objectBoundingBox"></clipPath>
|
|
857
|
-
<!-- clipPath filled by ElementScreenshotRenderer.renderClipPath -->
|
|
858
|
-
</defs>
|
|
859
|
-
</svg>
|
|
860
|
-
</div>
|
|
861
|
-
<div class="lh-element-screenshot__element-marker"></div>
|
|
862
|
-
</div>
|
|
863
|
-
</div>
|
|
864
|
-
</div>
|
|
865
|
-
</template>
|
|
866
|
-
|