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

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

Issue 2887313002: Revert of DevTools: Roll Lighthouse binary to 2.0.0-alpha.7 (Closed)
Patch Set: 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: 12px; 20 --body-font-size: 13px;
21 --header-font-size: 14px; 21 --header-font-size: 16px;
22 --body-line-height: 1.5; 22 --body-line-height: 1.5;
23 --default-padding: 12px; 23 --default-padding: 16px;
24 --section-padding: 16px;
25 24
26 --secondary-text-color: #565656; 25 --secondary-text-color: #565656;
27 /*--accent-color: #3879d9;*/ 26 /*--accent-color: #3879d9;*/
28 --fail-color: #df332f; 27 --fail-color: #df332f;
29 --pass-color: #2b882f; 28 --pass-color: #2b882f;
30 --informative-color: #0c50c7; 29 --informative-color: #0c50c7;
31 --manual-color: #757575;
32 --average-color: #ef6c00; /* md orange 800 */ 30 --average-color: #ef6c00; /* md orange 800 */
33 --warning-color: #ffab00; /* md amber a700 */ 31 --warning-color: #ffab00; /* md amber a700 */
34 32
35 --report-border-color: #ccc; 33 --report-border-color: #ccc;
36 --report-secondary-border-color: #ebebeb; 34 --report-secondary-border-color: #ebebeb;
37 --report-width: 850px; 35 --report-width: 850px;
38 --report-menu-width: 280px; 36 --report-menu-width: 280px;
39 --report-content-width: calc(var(--report-width) + var(--report-menu-width)); 37 --report-content-width: calc(var(--report-width) + var(--report-menu-width));
40 38
41 --lh-score-highlight-bg: #fafafa; 39 --lh-score-highlight-bg: #fafafa;
42 --lh-score-icon-background-size: 24px; 40 --lh-score-icon-background-size: 24px;
43 --lh-score-margin: calc(var(--default-padding) / 2); 41 --lh-score-margin: calc(var(--default-padding) / 2);
44 42
45 --lh-table-header-bg: #ccc; 43 --lh-table-header-bg: #ccc;
46 --lh-table-higlight-bg: #fafafa; 44 --lh-table-higlight-bg: #fafafa;
47 45
48 --lh-sparkline-height: 8px; 46 --lh-sparkline-height: 10px;
49 --lh-sparkline-thin-height: 3px;
50 --lh-filmstrip-thumbnail-width: 60px;
51 --lh-audit-score-width: 35px; 47 --lh-audit-score-width: 35px;
52 --lh-category-score-width: 60px; 48 --lh-category-score-width: 60px;
53 } 49 }
54 50
55 .lh-root * { 51 .lh-root * {
56 box-sizing: border-box; 52 box-sizing: border-box;
57 } 53 }
58 54
59 .lh-root { 55 .lh-root {
60 font-family: var(--text-font-family); 56 font-family: var(--text-font-family);
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 .lh-score__value { 188 .lh-score__value {
193 flex: none; 189 flex: none;
194 margin-right: var(--lh-score-margin); 190 margin-right: var(--lh-score-margin);
195 width: var(--lh-audit-score-width); 191 width: var(--lh-audit-score-width);
196 display: flex; 192 display: flex;
197 justify-content: center; 193 justify-content: center;
198 align-items: center; 194 align-items: center;
199 border-radius: 2px; 195 border-radius: 2px;
200 position: relative; 196 position: relative;
201 font-weight: bold; 197 font-weight: bold;
202 top: 1px;
203 } 198 }
204 199
205 .lh-score__value::after { 200 .lh-score__value::after {
206 content: ''; 201 content: '';
207 position: absolute; 202 position: absolute;
208 left: 0; 203 left: 0;
209 right: 0; 204 right: 0;
210 top: 0; 205 top: 0;
211 bottom: 0; 206 bottom: 0;
212 border-radius: inherit; 207 border-radius: inherit;
213 } 208 }
214 209
215 .lh-score--informative .lh-score__value { 210 .lh-score--informative .lh-score__value {
216 color: var(--informative-color); 211 color: var(--informative-color);
217 border-radius: 50%; 212 border-radius: 50%;
218 top: 3px;
219 } 213 }
220 214
221 .lh-score--informative .lh-score__value::after { 215 .lh-score--informative .lh-score__value::after {
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%; 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%;
223 background-size: var(--lh-score-icon-background-size); 217 background-size: var(--lh-score-icon-background-size);
224 } 218 }
225 219
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
235 .lh-score__value--binary { 220 .lh-score__value--binary {
236 text-indent: -5000px; 221 text-indent: -5000px;
237 } 222 }
238 223
239 /* No icon for audits with number scores. */ 224 /* No icon for audits with number scores. */
240 .lh-score__value:not(.lh-score__value--binary)::after { 225 .lh-score__value:not(.lh-score__value--binary)::after {
241 content: none; 226 content: none;
242 } 227 }
243 228
244 .lh-score__value--pass { 229 .lh-score__value--pass {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 align-items: center; 269 align-items: center;
285 justify-content: space-between; 270 justify-content: space-between;
286 /*outline: none;*/ 271 /*outline: none;*/
287 } 272 }
288 273
289 .lh-score__snippet::-moz-list-bullet { 274 .lh-score__snippet::-moz-list-bullet {
290 display: none; 275 display: none;
291 } 276 }
292 277
293 .lh-toggle-arrow { 278 .lh-toggle-arrow {
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%; 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%;
295 background-size: contain; 280 background-size: contain;
296 background-color: transparent; 281 background-color: transparent;
297 width: 24px; 282 width: 24px;
298 height: 24px; 283 height: 24px;
299 flex: none; 284 flex: none;
300 margin-left: calc(var(--default-padding) / 2); 285 margin-left: calc(var(--default-padding) / 2);
301 transition: transform 150ms ease-in-out; 286 transition: transform 150ms ease-in-out;
302 cursor: pointer; 287 cursor: pointer;
303 border: none; 288 border: none;
304 transform: rotateZ(90deg);
305 } 289 }
306 290
307 /* Expandable Details (Audit Groups, Audits) */ 291 /* Expandable Details (Audit Groups, Audits) */
308 292
309 .lh-expandable-details { 293 .lh-expandable-details {
310 flex: 1; 294 flex: 1;
311 } 295 }
312 296
313 .lh-expandable-details__summary { 297 .lh-expandable-details__summary {
314 display: flex; 298 display: flex;
315 cursor: pointer; 299 cursor: pointer;
316 } 300 }
317 301
318 .lh-expandable-details__header { 302 .lh-expandable-details__header {
319 flex: 1; 303 flex: 1;
320 } 304 }
321 305
322 .lh-expandable-details[open] > .lh-expandable-details__summary > .lh-toggle-arro w { 306 .lh-expandable-details[open] > .lh-expandable-details__summary > .lh-toggle-arro w {
323 transform: rotateZ(-90deg); 307 transform: rotateZ(90deg);
324 } 308 }
325 309
326 .lh-expandable-details__summary::-webkit-details-marker { 310 .lh-expandable-details__summary::-webkit-details-marker {
327 display: none; 311 display: none;
328 } 312 }
329 313
330 /*.lh-score__snippet:focus .lh-score__title { 314 /*.lh-score__snippet:focus .lh-score__title {
331 outline: rgb(59, 153, 252) auto 5px; 315 outline: rgb(59, 153, 252) auto 5px;
332 }*/ 316 }*/
333 317
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
412 .lh-perf-hint { 318 .lh-perf-hint {
413 margin-top: var(--default-padding); 319 margin-top: var(--default-padding);
414 margin-left: var(--default-padding); 320 margin-left: var(--default-padding);
415 padding-bottom: var(--default-padding); 321 padding-bottom: var(--default-padding);
416 border-bottom: 1px solid var(--report-secondary-border-color); 322 border-bottom: 1px solid var(--report-secondary-border-color);
417 } 323 }
418 324
419 .lh-perf-hint:last-of-type { 325 .lh-perf-hint:last-of-type {
420 border-bottom: none; 326 border-bottom: none;
421 } 327 }
422 328
423 .lh-perf-hint__summary { 329 .lh-perf-hint__summary {
424 display: flex; 330 display: flex;
425 align-items: center; 331 align-items: center;
426 } 332 }
427 333
428 .lh-perf-hint__title { 334 .lh-perf-hint__title {
429 font-size: var(--header-font-size); 335 font-size: var(--header-font-size);
430 flex: 10; 336 flex: 0 0 30%;
431 } 337 }
432 338
433 .lh-perf-hint__sparkline { 339 .lh-perf-hint__sparkline {
434 flex: 0 0 50%; 340 flex: 0 0 50%;
435 } 341 }
436 342
437 .lh-perf-hint__sparkline .lh-sparkline { 343 .lh-perf-hint__sparkline .lh-sparkline {
438 width: calc(100% - var(--default-padding) * 2); 344 width: calc(100% - var(--default-padding) * 2);
439 float: right; 345 float: right;
440 } 346 }
441 347
442 .lh-perf-hint__stats { 348 .lh-perf-hint__stats {
349 width: 60px;
443 text-align: right; 350 text-align: right;
444 flex: 0 0 70px; 351 flex: 10;
445 } 352 }
446 353
447 .lh-perf-hint__primary-stat { 354 .lh-perf-hint__primary-stat {
448 font-size: var(--header-font-size); 355 font-size: var(--header-font-size);
449 } 356 }
450 357
451 .lh-perf-hint__description { 358 .lh-perf-hint__description {
452 color: var(--secondary-text-color); 359 color: var(--secondary-text-color);
453 margin-top: calc(var(--default-padding) / 2); 360 margin-top: calc(var(--default-padding) / 2);
454 } 361 }
(...skipping 21 matching lines...) Expand all
476 .lh-perf-hint--fail .lh-perf-hint__stats { 383 .lh-perf-hint--fail .lh-perf-hint__stats {
477 color: var(--fail-color); 384 color: var(--fail-color);
478 } 385 }
479 386
480 /* Filmstrip */ 387 /* Filmstrip */
481 388
482 .lh-filmstrip { 389 .lh-filmstrip {
483 display: flex; 390 display: flex;
484 flex-direction: row; 391 flex-direction: row;
485 justify-content: space-between; 392 justify-content: space-between;
486 padding-bottom: var(--default-padding); 393 padding: var(--default-padding);
487 } 394 }
488 395
489 .lh-filmstrip__frame { 396 .lh-filmstrip__frame {
490 text-align: center; 397 text-align: center;
491 } 398 }
492 399
493 .lh-filmstrip__timestamp { 400 .lh-filmstrip__timestamp {
494 margin-bottom: 5px; 401 margin-bottom: 5px;
495 } 402 }
496 403
497 .lh-filmstrip__thumbnail { 404 .lh-filmstrip__thumbnail {
498 border: 1px solid var(--report-secondary-border-color); 405 border: 1px solid var(--report-secondary-border-color);
499 max-height: 100px; 406 max-height: 100px;
500 } 407 }
501 408
502 /* Sparkline */ 409 /* Sparkline */
503 410
504 .lh-sparkline { 411 .lh-sparkline {
505 margin: 5px; 412 margin: 5px;
506 height: var(--lh-sparkline-height); 413 height: var(--lh-sparkline-height);
507 width: 100%; 414 width: 100%;
508 } 415 }
509 416
510 .lh-sparkline--thin {
511 height: calc(var(--lh-sparkline-height) / 2);
512 }
513
514 .lh-sparkline__bar { 417 .lh-sparkline__bar {
515 background: var(--warning-color); 418 background: var(--warning-color);
516 height: 100%; 419 height: var(--lh-sparkline-height);
517 float: right; 420 float: right;
518 } 421 }
519 422
520 /* Audit */ 423 /* Audit */
521 424
522 .lh-audit { 425 .lh-audit {
523 margin-top: var(--default-padding); 426 margin-top: var(--default-padding);
524 padding-bottom: var(--default-padding); 427 padding-bottom: var(--default-padding);
525 border-bottom: 1px solid var(--report-secondary-border-color); 428 border-bottom: 1px solid var(--report-secondary-border-color);
526 } 429 }
527 430
528 .lh-audit:last-of-type { 431 .lh-audit:last-of-type {
529 border-bottom: none; 432 border-bottom: none;
530 } 433 }
531 434
532 .lh-audit > .lh-score { 435 .lh-audit > .lh-score {
436 font-size: 16px;
533 font-size: var(--header-font-size); 437 font-size: var(--header-font-size);
534 } 438 }
535 439
536 /* Audit Group */ 440 /* Audit Group */
537 441
538 .lh-audit-group { 442 .lh-audit-group {
539 padding-top: var(--default-padding); 443 margin-top: var(--default-padding);
540 padding-bottom: var(--default-padding); 444 padding-bottom: var(--default-padding);
541 border-top: 1px solid var(--report-secondary-border-color); 445 border-bottom: 1px solid var(--report-secondary-border-color);
542 } 446 }
543 447
544 .lh-category > .lh-audit-group.lh-audit-group--manual { 448 .lh-audit-group:last-of-type {
545 border-top: none; 449 border-bottom: none;
546 margin-left: var(--default-padding);
547 } 450 }
548 451
549 .lh-audit-group__header { 452 .lh-audit-group__header {
550 font-size: 18px; 453 font-size: 18px;
551 } 454 }
552 455
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
572 .lh-audit-group__description { 456 .lh-audit-group__description {
573 font-size: var(--header-font-size); 457 font-size: 16px;
574 color: var(--secondary-text-color); 458 color: var(--secondary-text-color);
575 margin-top: calc(var(--default-padding) / 2); 459 margin-top: calc(var(--default-padding) / 2);
576 } 460 }
577 461
578 .lh-debug { 462 .lh-debug {
579 margin-top: calc(var(--default-padding) / 2); 463 margin-top: calc(var(--default-padding) / 2);
580 margin-left: calc(var(--lh-audit-score-width) + var(--lh-score-margin)); 464 margin-left: calc(var(--lh-audit-score-width) + var(--lh-score-margin));
581 color: var(--fail-color); 465 color: var(--fail-color);
582 } 466 }
583 467
(...skipping 27 matching lines...) Expand all
611 .lh-exception { 495 .lh-exception {
612 font-size: large; 496 font-size: large;
613 } 497 }
614 498
615 .lh-text__url { 499 .lh-text__url {
616 white-space: nowrap; 500 white-space: nowrap;
617 } 501 }
618 502
619 .lh-code { 503 .lh-code {
620 text-overflow: ellipsis; 504 text-overflow: ellipsis;
505 overflow: hidden;
621 white-space: pre-line; 506 white-space: pre-line;
622 margin-top: 0; 507 margin-top: 0;
623 } 508 }
624 509
625 .lh-scores-header { 510 .lh-scores-header {
626 display: flex; 511 display: flex;
627 margin: var(--report-header-height) 0 0 0; 512 margin: var(--report-header-height) 0 0 0;
628 padding: calc(var(--default-padding) * 2) var(--default-padding); 513 padding: calc(var(--default-padding) * 2) var(--default-padding);
629 border-bottom: 1px solid var(--report-border-color); 514 border-bottom: 1px solid var(--report-border-color);
630 } 515 }
631 516
632 .lh-category { 517 .lh-category {
633 padding: var(--section-padding); 518 padding: 24px calc(var(--default-padding) * 2);
634 border-top: 1px solid var(--report-border-color); 519 border-top: 1px solid var(--report-border-color);
635 } 520 }
636 521
637 .lh-category:first-of-type { 522 .lh-category:first-of-type {
638 border: none; 523 border: none;
639 } 524 }
640 525
641 .lh-category .lh-audit { 526 .lh-category .lh-audit {
642 margin-left: calc(var(--default-padding) * 2); 527 margin-left: calc(var(--lh-category-score-width) + var(--lh-score-margin));
643 } 528 }
644 529
645 .lh-category .lh-audit-group { 530 .lh-category .lh-audit-group {
646 margin-left: calc(var(--lh-category-score-width) + var(--default-padding)); 531 margin-left: calc(var(--lh-category-score-width) + var(--default-padding));
647 } 532 }
648 533
649 .lh-category > .lh-audit-group {
650 margin-left: 0;
651 }
652
653 .lh-category .lh-audit-group .lh-audit { 534 .lh-category .lh-audit-group .lh-audit {
654 margin-left: var(--default-padding); 535 margin-left: var(--default-padding);
655 } 536 }
656 537
657 .lh-category > .lh-score { 538 .lh-category > .lh-score {
658 font-size: 20px; 539 font-size: 20px;
659 padding-bottom: var(--default-padding); 540 padding-bottom: 24px;
660 } 541 }
661 542
662 .lh-category > .lh-score .lh-score__value, 543 .lh-category > .lh-score .lh-score__value,
663 .lh-category > .lh-score .lh-score__gauge .lh-gauge__label { 544 .lh-category > .lh-score .lh-score__gauge .lh-gauge__label {
664 display: none; 545 display: none;
665 } 546 }
666 547
667 .lh-category .lh-score__gauge { 548 .lh-category .lh-score__gauge {
668 margin: calc(var(--default-padding) / 2) var(--default-padding) 0 0; 549 margin: calc(var(--default-padding) / 2) var(--default-padding) 0 0;
669 flex-basis: var(--circle-size); 550 flex-basis: var(--circle-size);
(...skipping 13 matching lines...) Expand all
683 font-size: 24px; 564 font-size: 24px;
684 font-weight: 400; 565 font-weight: 400;
685 } 566 }
686 567
687 .lh-passed-audits[open] summary.lh-passed-audits-summary { 568 .lh-passed-audits[open] summary.lh-passed-audits-summary {
688 margin-bottom: calc(var(--default-padding) * 2); 569 margin-bottom: calc(var(--default-padding) * 2);
689 } 570 }
690 571
691 summary.lh-passed-audits-summary { 572 summary.lh-passed-audits-summary {
692 margin: calc(var(--default-padding) * 2) var(--default-padding); 573 margin: calc(var(--default-padding) * 2) var(--default-padding);
693 margin-left: var(--default-padding); 574 margin-left: calc(var(--lh-category-score-width) + var(--default-padding));
694 margin-bottom: 0; 575 margin-bottom: 0;
695 font-size: 15px; 576 font-size: 15px;
696 display: flex; 577 display: flex;
697 align-items: center; 578 align-items: center;
698 } 579 }
699 580
700 summary.lh-passed-audits-summary::-webkit-details-marker, 581 summary.lh-passed-audits-summary::-webkit-details-marker {
701 .lh-audit-group--manual > summary::-webkit-details-marker {
702 background: var(--pass-color); 582 background: var(--pass-color);
703 color: white; 583 color: white;
584 position: relative;
585 content: '';
704 padding: 3px 3px 3px 6px; 586 padding: 3px 3px 3px 6px;
705 border-radius: 2px; 587 border-radius: 2px;
706 } 588 }
707 589
708 .lh-passed-audits[open] summary.lh-passed-audits-summary::-webkit-details-marker , 590 .lh-passed-audits[open] summary.lh-passed-audits-summary::-webkit-details-marker {
709 .lh-audit-group--manual[open] > summary::-webkit-details-marker {
710 padding: 3px 5px 3px 4px; 591 padding: 3px 5px 3px 4px;
711 } 592 }
712 593
713 #lh-log { 594 #lh-log {
714 position: fixed; 595 position: fixed;
715 background-color: #323232; 596 background-color: #323232;
716 color: #fff; 597 color: #fff;
717 min-height: 48px; 598 min-height: 48px;
718 min-width: 288px; 599 min-width: 288px;
719 padding: 16px 24px; 600 padding: 16px 24px;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
793 white-space: nowrap; 674 white-space: nowrap;
794 } 675 }
795 676
796 .lh-thumbnail { 677 .lh-thumbnail {
797 height: var(--image-preview-size); 678 height: var(--image-preview-size);
798 width: var(--image-preview-size); 679 width: var(--image-preview-size);
799 object-fit: contain; 680 object-fit: contain;
800 } 681 }
801 682
802 /*# sourceURL=report.styles.css */ 683 /*# sourceURL=report.styles.css */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698