Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/audits2/lighthouse/report-styles.css

Issue 2888263002: DevTools: Roll Lighthouse binary to 2.0.1-alpha.0 (Closed)
Patch Set: rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /** 1 /**
2 * Copyright 2017 Google Inc. All rights reserved. 2 * Copyright 2017 Google Inc. All rights reserved.
3 * 3 *
4 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License. 5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at 6 * You may obtain a copy of the License at
7 * 7 *
8 * http://www.apache.org/licenses/LICENSE-2.0 8 * http://www.apache.org/licenses/LICENSE-2.0
9 * 9 *
10 * Unless required by applicable law or agreed to in writing, software 10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS, 11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and 13 * See the License for the specific language governing permissions and
14 * limitations under the License. 14 * limitations under the License.
15 */ 15 */
16 16
17 .lh-vars { 17 .lh-vars {
18 --text-font-family: '.SFNSDisplay-Regular', 'Helvetica Neue', 'Lucida Grande', sans-serif; 18 --text-font-family: '.SFNSDisplay-Regular', 'Helvetica Neue', 'Lucida Grande', sans-serif;
19 --monospace-font-family: 'Menlo', 'dejavu sans mono', 'Consolas', 'Lucida Cons ole', monospace; 19 --monospace-font-family: 'Menlo', 'dejavu sans mono', 'Consolas', 'Lucida Cons ole', monospace;
20 --body-font-size: 13px; 20 --body-font-size: 12px;
21 --header-font-size: 16px; 21 --header-font-size: 14px;
22 --body-line-height: 1.5; 22 --body-line-height: 1.5;
23 --default-padding: 16px; 23 --default-padding: 12px;
24 --section-padding: 16px;
24 25
25 --secondary-text-color: #565656; 26 --secondary-text-color: #565656;
26 /*--accent-color: #3879d9;*/ 27 /*--accent-color: #3879d9;*/
27 --fail-color: #df332f; 28 --fail-color: #df332f;
28 --pass-color: #2b882f; 29 --pass-color: #2b882f;
29 --informative-color: #0c50c7; 30 --informative-color: #0c50c7;
31 --manual-color: #757575;
30 --average-color: #ef6c00; /* md orange 800 */ 32 --average-color: #ef6c00; /* md orange 800 */
31 --warning-color: #ffab00; /* md amber a700 */ 33 --warning-color: #ffab00; /* md amber a700 */
32 34
33 --report-border-color: #ccc; 35 --report-border-color: #ccc;
34 --report-secondary-border-color: #ebebeb; 36 --report-secondary-border-color: #ebebeb;
35 --report-width: 850px; 37 --report-width: 850px;
36 --report-menu-width: 280px; 38 --report-menu-width: 280px;
37 --report-content-width: calc(var(--report-width) + var(--report-menu-width)); 39 --report-content-width: calc(var(--report-width) + var(--report-menu-width));
38 40
39 --lh-score-highlight-bg: #fafafa; 41 --lh-score-highlight-bg: #fafafa;
40 --lh-score-icon-background-size: 24px; 42 --lh-score-icon-background-size: 24px;
41 --lh-score-margin: calc(var(--default-padding) / 2); 43 --lh-score-margin: calc(var(--default-padding) / 2);
42 44
43 --lh-table-header-bg: #ccc; 45 --lh-table-header-bg: #ccc;
44 --lh-table-higlight-bg: #fafafa; 46 --lh-table-higlight-bg: #fafafa;
45 47
46 --lh-sparkline-height: 10px; 48 --lh-sparkline-height: 8px;
49 --lh-sparkline-thin-height: 3px;
50 --lh-filmstrip-thumbnail-width: 60px;
47 --lh-audit-score-width: 35px; 51 --lh-audit-score-width: 35px;
48 --lh-category-score-width: 60px; 52 --lh-category-score-width: 60px;
49 } 53 }
50 54
51 .lh-root * { 55 .lh-root * {
52 box-sizing: border-box; 56 box-sizing: border-box;
53 } 57 }
54 58
55 .lh-root { 59 .lh-root {
56 font-family: var(--text-font-family); 60 font-family: var(--text-font-family);
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 .lh-score__value { 192 .lh-score__value {
189 flex: none; 193 flex: none;
190 margin-right: var(--lh-score-margin); 194 margin-right: var(--lh-score-margin);
191 width: var(--lh-audit-score-width); 195 width: var(--lh-audit-score-width);
192 display: flex; 196 display: flex;
193 justify-content: center; 197 justify-content: center;
194 align-items: center; 198 align-items: center;
195 border-radius: 2px; 199 border-radius: 2px;
196 position: relative; 200 position: relative;
197 font-weight: bold; 201 font-weight: bold;
202 top: 1px;
198 } 203 }
199 204
200 .lh-score__value::after { 205 .lh-score__value::after {
201 content: ''; 206 content: '';
202 position: absolute; 207 position: absolute;
203 left: 0; 208 left: 0;
204 right: 0; 209 right: 0;
205 top: 0; 210 top: 0;
206 bottom: 0; 211 bottom: 0;
207 border-radius: inherit; 212 border-radius: inherit;
208 } 213 }
209 214
210 .lh-score--informative .lh-score__value { 215 .lh-score--informative .lh-score__value {
211 color: var(--informative-color); 216 color: var(--informative-color);
212 border-radius: 50%; 217 border-radius: 50%;
218 top: 3px;
213 } 219 }
214 220
215 .lh-score--informative .lh-score__value::after { 221 .lh-score--informative .lh-score__value::after {
216 background: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox=" 0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>info</title><path d="M12 2C 6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8 h-2V7h2v2z" fill="#0c50c7"/></svg>') no-repeat 50% 50%; 222 background: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox=" 0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>info</title><path d="M12 2C 6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8 h-2V7h2v2z" fill="#0c50c7"/></svg>') no-repeat 50% 50%;
217 background-size: var(--lh-score-icon-background-size); 223 background-size: var(--lh-score-icon-background-size);
218 } 224 }
219 225
226 .lh-score--manual .lh-score__value::after {
227 background: url('data:image/svg+xml;utf8,<svg width="12" height="12" viewBox=" 0 0 12 12" xmlns="http://www.w3.org/2000/svg"><title>manual</title><path d="M2 5 h8v2H2z" fill="#fff" fill-rule="evenodd"/></svg>') no-repeat 50% 50%;
228 background-size: 18px;
229 background-color: var(--manual-color);
230 width: 20px;
231 height: 20px;
232 position: relative;
233 }
234
220 .lh-score__value--binary { 235 .lh-score__value--binary {
221 text-indent: -5000px; 236 text-indent: -5000px;
222 } 237 }
223 238
224 /* No icon for audits with number scores. */ 239 /* No icon for audits with number scores. */
225 .lh-score__value:not(.lh-score__value--binary)::after { 240 .lh-score__value:not(.lh-score__value--binary)::after {
226 content: none; 241 content: none;
227 } 242 }
228 243
229 .lh-score__value--pass { 244 .lh-score__value--pass {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 align-items: center; 284 align-items: center;
270 justify-content: space-between; 285 justify-content: space-between;
271 /*outline: none;*/ 286 /*outline: none;*/
272 } 287 }
273 288
274 .lh-score__snippet::-moz-list-bullet { 289 .lh-score__snippet::-moz-list-bullet {
275 display: none; 290 display: none;
276 } 291 }
277 292
278 .lh-toggle-arrow { 293 .lh-toggle-arrow {
279 background: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox ="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M8.59 16.34l 4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"/><path d="M0-.25h24v24H0z" fill="none"/></ svg>') no-repeat 50% 50%; 294 background: url('data:image/svg+xml;utf8,<svg fill="#9e9e9e" height="24" viewB ox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M8.59 16.3 4l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"/><path d="M0-.25h24v24H0z" fill="none"/> </svg>') no-repeat 50% 50%;
280 background-size: contain; 295 background-size: contain;
281 background-color: transparent; 296 background-color: transparent;
282 width: 24px; 297 width: 24px;
283 height: 24px; 298 height: 24px;
284 flex: none; 299 flex: none;
285 margin-left: calc(var(--default-padding) / 2); 300 margin-left: calc(var(--default-padding) / 2);
286 transition: transform 150ms ease-in-out; 301 transition: transform 150ms ease-in-out;
287 cursor: pointer; 302 cursor: pointer;
288 border: none; 303 border: none;
304 transform: rotateZ(90deg);
289 } 305 }
290 306
291 /* Expandable Details (Audit Groups, Audits) */ 307 /* Expandable Details (Audit Groups, Audits) */
292 308
293 .lh-expandable-details { 309 .lh-expandable-details {
294 flex: 1; 310 flex: 1;
295 } 311 }
296 312
297 .lh-expandable-details__summary { 313 .lh-expandable-details__summary {
298 display: flex; 314 display: flex;
299 cursor: pointer; 315 cursor: pointer;
300 } 316 }
301 317
302 .lh-expandable-details__header { 318 .lh-expandable-details__header {
303 flex: 1; 319 flex: 1;
304 } 320 }
305 321
306 .lh-expandable-details[open] > .lh-expandable-details__summary > .lh-toggle-arro w { 322 .lh-expandable-details[open] > .lh-expandable-details__summary > .lh-toggle-arro w {
307 transform: rotateZ(90deg); 323 transform: rotateZ(-90deg);
308 } 324 }
309 325
310 .lh-expandable-details__summary::-webkit-details-marker { 326 .lh-expandable-details__summary::-webkit-details-marker {
311 display: none; 327 display: none;
312 } 328 }
313 329
314 /*.lh-score__snippet:focus .lh-score__title { 330 /*.lh-score__snippet:focus .lh-score__title {
315 outline: rgb(59, 153, 252) auto 5px; 331 outline: rgb(59, 153, 252) auto 5px;
316 }*/ 332 }*/
317 333
334 /* Perf Timeline */
335
336 .lh-timeline {
337 padding: var(--default-padding);
338 padding-bottom: 0;
339 min-width: calc(var(--lh-filmstrip-thumbnail-width) * 10 + var(--default-paddi ng) * 2);
340 }
341
342 .lh-narrow .lh-timeline-container {
343 width: calc(100vw - var(--section-padding) * 2);
344 overflow-x: scroll;
345 }
346
347 .lh-devtools .lh-timeline-container {
348 width: 100%;
349 overflow-x: scroll;
350 }
351
352 /* Perf Timeline Metric */
353
354 .lh-timeline-metric {
355 padding: 5px 0;
356 margin-bottom: calc(var(--body-font-size) / 2);
357 }
358
359 .lh-timeline-metric__title {
360 font-size: var(--header-font-size);
361 }
362
363 .lh-timeline-metric__description {
364 color: var(--secondary-text-color);
365 }
366
367 .lh-timeline-metric__name::after {
368 margin-right: 10px;
369 content: ':';
370 }
371
372 .lh-timeline-metric--pass .lh-timeline-metric__value {
373 color: var(--pass-color);
374 }
375
376 .lh-timeline-metric--average .lh-timeline-metric__value {
377 color: var(--average-color);
378 }
379
380 .lh-timeline-metric--fail .lh-timeline-metric__value {
381 color: var(--fail-color);
382 }
383
384 .lh-timeline-metric__sparkline {
385 width: 100%;
386 }
387
388 .lh-timeline-metric__sparkline .lh-sparkline {
389 margin-left: 0;
390 margin-right: 0;
391 border-bottom: 1px solid var(--report-border-color);
392 }
393
394 .lh-timeline-metric__sparkline .lh-sparkline__bar {
395 float: none;
396 }
397
398 .lh-timeline-metric--pass .lh-sparkline__bar {
399 background: var(--pass-color);
400 }
401
402 .lh-timeline-metric--average .lh-sparkline__bar {
403 background: var(--average-color);
404 }
405
406 .lh-timeline-metric--fail .lh-sparkline__bar {
407 background: var(--fail-color);
408 }
409
410 /* Perf Hint */
411
318 .lh-perf-hint { 412 .lh-perf-hint {
319 margin-top: var(--default-padding); 413 margin-top: var(--default-padding);
320 margin-left: var(--default-padding); 414 margin-left: var(--default-padding);
321 padding-bottom: var(--default-padding); 415 padding-bottom: var(--default-padding);
322 border-bottom: 1px solid var(--report-secondary-border-color); 416 border-bottom: 1px solid var(--report-secondary-border-color);
323 } 417 }
324 418
325 .lh-perf-hint:last-of-type { 419 .lh-perf-hint:last-of-type {
326 border-bottom: none; 420 border-bottom: none;
327 } 421 }
328 422
329 .lh-perf-hint__summary { 423 .lh-perf-hint__summary {
330 display: flex; 424 display: flex;
331 align-items: center; 425 align-items: center;
332 } 426 }
333 427
334 .lh-perf-hint__title { 428 .lh-perf-hint__title {
335 font-size: var(--header-font-size); 429 font-size: var(--header-font-size);
336 flex: 0 0 30%; 430 flex: 10;
337 } 431 }
338 432
339 .lh-perf-hint__sparkline { 433 .lh-perf-hint__sparkline {
340 flex: 0 0 50%; 434 flex: 0 0 50%;
341 } 435 }
342 436
343 .lh-perf-hint__sparkline .lh-sparkline { 437 .lh-perf-hint__sparkline .lh-sparkline {
344 width: calc(100% - var(--default-padding) * 2); 438 width: calc(100% - var(--default-padding) * 2);
345 float: right; 439 float: right;
346 } 440 }
347 441
348 .lh-perf-hint__stats { 442 .lh-perf-hint__stats {
349 width: 60px;
350 text-align: right; 443 text-align: right;
351 flex: 10; 444 flex: 0 0 70px;
352 } 445 }
353 446
354 .lh-perf-hint__primary-stat { 447 .lh-perf-hint__primary-stat {
355 font-size: var(--header-font-size); 448 font-size: var(--header-font-size);
356 } 449 }
357 450
358 .lh-perf-hint__description { 451 .lh-perf-hint__description {
359 color: var(--secondary-text-color); 452 color: var(--secondary-text-color);
360 margin-top: calc(var(--default-padding) / 2); 453 margin-top: calc(var(--default-padding) / 2);
361 } 454 }
(...skipping 21 matching lines...) Expand all
383 .lh-perf-hint--fail .lh-perf-hint__stats { 476 .lh-perf-hint--fail .lh-perf-hint__stats {
384 color: var(--fail-color); 477 color: var(--fail-color);
385 } 478 }
386 479
387 /* Filmstrip */ 480 /* Filmstrip */
388 481
389 .lh-filmstrip { 482 .lh-filmstrip {
390 display: flex; 483 display: flex;
391 flex-direction: row; 484 flex-direction: row;
392 justify-content: space-between; 485 justify-content: space-between;
393 padding: var(--default-padding); 486 padding-bottom: var(--default-padding);
394 } 487 }
395 488
396 .lh-filmstrip__frame { 489 .lh-filmstrip__frame {
397 text-align: center; 490 text-align: center;
398 } 491 }
399 492
400 .lh-filmstrip__timestamp { 493 .lh-filmstrip__timestamp {
401 margin-bottom: 5px; 494 margin-bottom: 5px;
402 } 495 }
403 496
404 .lh-filmstrip__thumbnail { 497 .lh-filmstrip__thumbnail {
405 border: 1px solid var(--report-secondary-border-color); 498 border: 1px solid var(--report-secondary-border-color);
406 max-height: 100px; 499 max-height: 100px;
407 } 500 }
408 501
409 /* Sparkline */ 502 /* Sparkline */
410 503
411 .lh-sparkline { 504 .lh-sparkline {
412 margin: 5px; 505 margin: 5px;
413 height: var(--lh-sparkline-height); 506 height: var(--lh-sparkline-height);
414 width: 100%; 507 width: 100%;
415 } 508 }
416 509
510 .lh-sparkline--thin {
511 height: calc(var(--lh-sparkline-height) / 2);
512 }
513
417 .lh-sparkline__bar { 514 .lh-sparkline__bar {
418 background: var(--warning-color); 515 background: var(--warning-color);
419 height: var(--lh-sparkline-height); 516 height: 100%;
420 float: right; 517 float: right;
421 } 518 }
422 519
423 /* Audit */ 520 /* Audit */
424 521
425 .lh-audit { 522 .lh-audit {
426 margin-top: var(--default-padding); 523 margin-top: var(--default-padding);
427 padding-bottom: var(--default-padding); 524 padding-bottom: var(--default-padding);
428 border-bottom: 1px solid var(--report-secondary-border-color); 525 border-bottom: 1px solid var(--report-secondary-border-color);
429 } 526 }
430 527
431 .lh-audit:last-of-type { 528 .lh-audit:last-of-type {
432 border-bottom: none; 529 border-bottom: none;
433 } 530 }
434 531
435 .lh-audit > .lh-score { 532 .lh-audit > .lh-score {
436 font-size: 16px;
437 font-size: var(--header-font-size); 533 font-size: var(--header-font-size);
438 } 534 }
439 535
440 /* Audit Group */ 536 /* Audit Group */
441 537
442 .lh-audit-group { 538 .lh-audit-group {
443 margin-top: var(--default-padding); 539 padding-top: var(--default-padding);
444 padding-bottom: var(--default-padding); 540 padding-bottom: var(--default-padding);
445 border-bottom: 1px solid var(--report-secondary-border-color); 541 border-top: 1px solid var(--report-secondary-border-color);
446 } 542 }
447 543
448 .lh-audit-group:last-of-type { 544 .lh-category > .lh-audit-group.lh-audit-group--manual {
449 border-bottom: none; 545 border-top: none;
546 margin-left: var(--default-padding);
450 } 547 }
451 548
452 .lh-audit-group__header { 549 .lh-audit-group__header {
453 font-size: 18px; 550 font-size: 18px;
454 } 551 }
455 552
553 .lh-audit-group--manual .lh-audit-group__summary {
554 display: flex;
555 align-items: center;
556 font-size: 15px;
557 }
558
559 .lh-audit-group--manual .lh-audit-group__summary .lh-audit-group__header {
560 font-size: inherit;
561 }
562
563 .lh-audit-group--manual .lh-audit-group__summary .lh-toggle-arrow {
564 display: none;
565 }
566
567 .lh-audit-group--manual .lh-audit-group__summary::-webkit-details-marker {
568 display: initial;
569 background: var(--manual-color) !important;
570 }
571
456 .lh-audit-group__description { 572 .lh-audit-group__description {
457 font-size: 16px; 573 font-size: var(--header-font-size);
458 color: var(--secondary-text-color); 574 color: var(--secondary-text-color);
459 margin-top: calc(var(--default-padding) / 2); 575 margin-top: calc(var(--default-padding) / 2);
460 } 576 }
461 577
462 .lh-debug { 578 .lh-debug {
463 margin-top: calc(var(--default-padding) / 2); 579 margin-top: calc(var(--default-padding) / 2);
464 margin-left: calc(var(--lh-audit-score-width) + var(--lh-score-margin)); 580 margin-left: calc(var(--lh-audit-score-width) + var(--lh-score-margin));
465 color: var(--fail-color); 581 color: var(--fail-color);
466 } 582 }
467 583
(...skipping 27 matching lines...) Expand all
495 .lh-exception { 611 .lh-exception {
496 font-size: large; 612 font-size: large;
497 } 613 }
498 614
499 .lh-text__url { 615 .lh-text__url {
500 white-space: nowrap; 616 white-space: nowrap;
501 } 617 }
502 618
503 .lh-code { 619 .lh-code {
504 text-overflow: ellipsis; 620 text-overflow: ellipsis;
505 overflow: hidden;
506 white-space: pre-line; 621 white-space: pre-line;
507 margin-top: 0; 622 margin-top: 0;
508 } 623 }
509 624
510 .lh-scores-header { 625 .lh-scores-header {
511 display: flex; 626 display: flex;
627 overflow-x: hidden;
512 margin: var(--report-header-height) 0 0 0; 628 margin: var(--report-header-height) 0 0 0;
513 padding: calc(var(--default-padding) * 2) var(--default-padding); 629 padding: calc(var(--default-padding) * 2) var(--default-padding);
514 border-bottom: 1px solid var(--report-border-color); 630 border-bottom: 1px solid var(--report-border-color);
515 } 631 }
516 632
633 .lh-categories {
634 width: 100%;
635 overflow: hidden;
636 }
637
517 .lh-category { 638 .lh-category {
518 padding: 24px calc(var(--default-padding) * 2); 639 padding: var(--section-padding);
519 border-top: 1px solid var(--report-border-color); 640 border-top: 1px solid var(--report-border-color);
520 } 641 }
521 642
522 .lh-category:first-of-type { 643 .lh-category:first-of-type {
523 border: none; 644 border: none;
524 } 645 }
525 646
526 .lh-category .lh-audit { 647 .lh-category .lh-audit {
527 margin-left: calc(var(--lh-category-score-width) + var(--lh-score-margin)); 648 margin-left: calc(var(--default-padding) * 2);
528 } 649 }
529 650
530 .lh-category .lh-audit-group { 651 .lh-category .lh-audit-group {
531 margin-left: calc(var(--lh-category-score-width) + var(--default-padding)); 652 margin-left: calc(var(--lh-category-score-width) + var(--default-padding));
532 } 653 }
533 654
655 .lh-category > .lh-audit-group {
656 margin-left: 0;
657 }
658
534 .lh-category .lh-audit-group .lh-audit { 659 .lh-category .lh-audit-group .lh-audit {
535 margin-left: var(--default-padding); 660 margin-left: var(--default-padding);
536 } 661 }
537 662
538 .lh-category > .lh-score { 663 .lh-category > .lh-score {
539 font-size: 20px; 664 font-size: 20px;
540 padding-bottom: 24px; 665 padding-bottom: var(--default-padding);
541 } 666 }
542 667
543 .lh-category > .lh-score .lh-score__value, 668 .lh-category > .lh-score .lh-score__value,
544 .lh-category > .lh-score .lh-score__gauge .lh-gauge__label { 669 .lh-category > .lh-score .lh-score__gauge .lh-gauge__label {
545 display: none; 670 display: none;
546 } 671 }
547 672
548 .lh-category .lh-score__gauge { 673 .lh-category .lh-score__gauge {
549 margin: calc(var(--default-padding) / 2) var(--default-padding) 0 0; 674 margin: calc(var(--default-padding) / 2) var(--default-padding) 0 0;
550 flex-basis: var(--circle-size); 675 flex-basis: var(--circle-size);
(...skipping 13 matching lines...) Expand all
564 font-size: 24px; 689 font-size: 24px;
565 font-weight: 400; 690 font-weight: 400;
566 } 691 }
567 692
568 .lh-passed-audits[open] summary.lh-passed-audits-summary { 693 .lh-passed-audits[open] summary.lh-passed-audits-summary {
569 margin-bottom: calc(var(--default-padding) * 2); 694 margin-bottom: calc(var(--default-padding) * 2);
570 } 695 }
571 696
572 summary.lh-passed-audits-summary { 697 summary.lh-passed-audits-summary {
573 margin: calc(var(--default-padding) * 2) var(--default-padding); 698 margin: calc(var(--default-padding) * 2) var(--default-padding);
574 margin-left: calc(var(--lh-category-score-width) + var(--default-padding)); 699 margin-left: var(--default-padding);
575 margin-bottom: 0; 700 margin-bottom: 0;
576 font-size: 15px; 701 font-size: 15px;
577 display: flex; 702 display: flex;
578 align-items: center; 703 align-items: center;
579 } 704 }
580 705
581 summary.lh-passed-audits-summary::-webkit-details-marker { 706 summary.lh-passed-audits-summary::-webkit-details-marker,
707 .lh-audit-group--manual > summary::-webkit-details-marker {
582 background: var(--pass-color); 708 background: var(--pass-color);
583 color: white; 709 color: white;
584 position: relative;
585 content: '';
586 padding: 3px 3px 3px 6px; 710 padding: 3px 3px 3px 6px;
587 border-radius: 2px; 711 border-radius: 2px;
588 } 712 }
589 713
590 .lh-passed-audits[open] summary.lh-passed-audits-summary::-webkit-details-marker { 714 .lh-passed-audits[open] summary.lh-passed-audits-summary::-webkit-details-marker ,
715 .lh-audit-group--manual[open] > summary::-webkit-details-marker {
591 padding: 3px 5px 3px 4px; 716 padding: 3px 5px 3px 4px;
592 } 717 }
593 718
594 #lh-log { 719 #lh-log {
595 position: fixed; 720 position: fixed;
596 background-color: #323232; 721 background-color: #323232;
597 color: #fff; 722 color: #fff;
598 min-height: 48px; 723 min-height: 48px;
599 min-width: 288px; 724 min-width: 288px;
600 padding: 16px 24px; 725 padding: 16px 24px;
(...skipping 12 matching lines...) Expand all
613 } 738 }
614 739
615 #lh-log.show { 740 #lh-log.show {
616 opacity: 1; 741 opacity: 1;
617 transform: translateY(0); 742 transform: translateY(0);
618 } 743 }
619 744
620 @media screen and (max-width: 767px) { 745 @media screen and (max-width: 767px) {
621 .lh-report { 746 .lh-report {
622 margin-left: 0; 747 margin-left: 0;
748 width: 100%;
749 min-width: 400px;
623 } 750 }
624 .lh-category { 751 .lh-category {
625 padding: 24px var(--default-padding); 752 padding: 24px var(--default-padding);
626 } 753 }
627 } 754 }
628 755
629 @media print { 756 @media print {
630 body { 757 body {
631 -webkit-print-color-adjust: exact; /* print background colors */ 758 -webkit-print-color-adjust: exact; /* print background colors */
632 } 759 }
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 white-space: nowrap; 801 white-space: nowrap;
675 } 802 }
676 803
677 .lh-thumbnail { 804 .lh-thumbnail {
678 height: var(--image-preview-size); 805 height: var(--image-preview-size);
679 width: var(--image-preview-size); 806 width: var(--image-preview-size);
680 object-fit: contain; 807 object-fit: contain;
681 } 808 }
682 809
683 /*# sourceURL=report.styles.css */ 810 /*# sourceURL=report.styles.css */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698