| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 | 116 |
| 117 .network-log-grid.data-grid .timeline-column .sort-order-icon-container { | 117 .network-log-grid.data-grid .timeline-column .sort-order-icon-container { |
| 118 right: 15px; | 118 right: 15px; |
| 119 pointer-events: none; | 119 pointer-events: none; |
| 120 } | 120 } |
| 121 | 121 |
| 122 #network-container:not(.brief-mode) .network-log-grid.data-grid td.name-column:h
over { | 122 #network-container:not(.brief-mode) .network-log-grid.data-grid td.name-column:h
over { |
| 123 text-decoration: underline; | 123 text-decoration: underline; |
| 124 } | 124 } |
| 125 | 125 |
| 126 .network-log-grid.data-grid.small .network-graph-side { | |
| 127 height: 19px; | |
| 128 } | |
| 129 | |
| 130 .network-log-grid.data-grid th.sortable:active { | 126 .network-log-grid.data-grid th.sortable:active { |
| 131 background-image: none !important; | 127 background-image: none !important; |
| 132 } | 128 } |
| 133 | 129 |
| 134 .network-cell-subtitle { | 130 .network-cell-subtitle { |
| 135 font-weight: normal; | 131 font-weight: normal; |
| 136 color: gray; | 132 color: gray; |
| 137 } | 133 } |
| 138 | 134 |
| 139 .network-error-row, | 135 .network-error-row, |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 | 260 |
| 265 .network-log-grid.data-grid.small .image-network-icon-preview { | 261 .network-log-grid.data-grid.small .image-network-icon-preview { |
| 266 top: 2px; | 262 top: 2px; |
| 267 bottom: 1px; | 263 bottom: 1px; |
| 268 left: 3px; | 264 left: 3px; |
| 269 right: 3px; | 265 right: 3px; |
| 270 max-width: 8px; | 266 max-width: 8px; |
| 271 max-height: 11px; | 267 max-height: 11px; |
| 272 } | 268 } |
| 273 | 269 |
| 274 /* Graph styles */ | |
| 275 | |
| 276 .network-graph-side { | |
| 277 position: relative; | |
| 278 height: 39px; | |
| 279 padding: 0; | |
| 280 white-space: nowrap; | |
| 281 overflow: hidden; | |
| 282 } | |
| 283 | |
| 284 .network-graph-bar-area { | |
| 285 position: absolute; | |
| 286 top: 0; | |
| 287 bottom: 0; | |
| 288 } | |
| 289 | |
| 290 .network-graph-bar-area, | |
| 291 .network-timeline-grid .resources-dividers, | |
| 292 .network-timeline-grid .resources-event-dividers, | |
| 293 .network-timeline-grid .resources-dividers-label-bar { | |
| 294 right: 12px; | |
| 295 left: 12px; | |
| 296 } | |
| 297 | |
| 298 .network-timeline-grid .resources-event-dividers { | |
| 299 margin-left: 1px; | |
| 300 } | |
| 301 | |
| 302 .network-graph-label { | |
| 303 position: absolute; | |
| 304 top: 0; | |
| 305 bottom: 0; | |
| 306 height: 13px; | |
| 307 line-height: 13px; | |
| 308 margin: auto; | |
| 309 font-size: 90%; | |
| 310 color: rgba(0, 0, 0, 0.75); | |
| 311 text-shadow: rgba(255, 255, 255, 0.25) 1px 0 0, rgba(255, 255, 255, 0.25) -1
px 0 0, rgba(255, 255, 255, 0.333) 0 1px 0, rgba(255, 255, 255, 0.25) 0 -1px 0; | |
| 312 z-index: 150; | |
| 313 overflow: hidden; | |
| 314 text-align: center; | |
| 315 visibility: hidden; | |
| 316 } | |
| 317 | |
| 318 .network-graph-side:hover .network-graph-label { | |
| 319 visibility: visible; | |
| 320 } | |
| 321 | |
| 322 .network-graph-label:empty { | |
| 323 display: none; | |
| 324 } | |
| 325 | |
| 326 .network-graph-label.waiting { | |
| 327 margin-right: 5px; | |
| 328 } | |
| 329 | |
| 330 .network-graph-label.before { | |
| 331 color: rgba(0, 0, 0, 0.7); | |
| 332 text-shadow: none; | |
| 333 text-align: right; | |
| 334 margin-right: -1px; | |
| 335 } | |
| 336 | |
| 337 .network-graph-label.before::after { | |
| 338 padding-left: 2px; | |
| 339 height: 6px; | |
| 340 content: url(Images/graphLabelCalloutLeft.png); | |
| 341 } | |
| 342 | |
| 343 .network-graph-label.after { | |
| 344 color: rgba(0, 0, 0, 0.7); | |
| 345 text-shadow: none; | |
| 346 text-align: left; | |
| 347 margin-left: -1px; | |
| 348 } | |
| 349 | |
| 350 .network-graph-label.after::before { | |
| 351 padding-right: 2px; | |
| 352 height: 6px; | |
| 353 content: url(Images/graphLabelCalloutRight.png); | |
| 354 } | |
| 355 | |
| 356 .small .network-graph-bar { | |
| 357 top: 3px; | |
| 358 bottom: 3px; | |
| 359 } | |
| 360 | |
| 361 .network-graph-bar { | |
| 362 position: absolute; | |
| 363 top: 13px; | |
| 364 bottom: 13px; | |
| 365 min-width: 3px; | |
| 366 } | |
| 367 | |
| 368 .network-graph-bar:not(.request-timing) { | |
| 369 border-width: 1px; | |
| 370 border-style: solid; | |
| 371 border-color: hsl(0, 0%, 75%); | |
| 372 background: linear-gradient(0deg, hsl(0, 0%, 85%), hsl(0, 0%, 95%)); | |
| 373 } | |
| 374 | |
| 375 .network-graph-bar.waiting:not(.request-timing) { | |
| 376 opacity: 0.5; | |
| 377 } | |
| 378 | |
| 379 /* Resource categories */ | |
| 380 /* TODO(allada) Remove these when we remove canvas timeline experiment */ | |
| 381 .network-graph-bar.request-timing.queueing, | |
| 382 .network-graph-bar.request-timing.total, | |
| 383 .network-graph-bar.request-timing.proxy, | |
| 384 .network-graph-bar.request-timing.dns, | |
| 385 .network-graph-bar.request-timing.ssl, | |
| 386 .network-graph-bar.request-timing.connecting, | |
| 387 .network-graph-bar.request-timing.blocking, | |
| 388 .network-graph-bar.request-timing.push { | |
| 389 margin: 3px 0; | |
| 390 } | |
| 391 | |
| 392 .network-graph-bar.request-timing.queueing, | |
| 393 .network-graph-bar.request-timing.total, -theme-preserve { | |
| 394 border: solid 1px #AAAAAA; | |
| 395 } | |
| 396 | |
| 397 .network-graph-bar.request-timing.receiving, -theme-preserve, | |
| 398 .network-graph-bar.request-timing.receiving-push, -theme-preserve { | |
| 399 background-color: #03A9F4; | |
| 400 } | |
| 401 | |
| 402 .network-graph-bar.request-timing.waiting, -theme-preserve { | |
| 403 background-color: #00C853; | |
| 404 } | |
| 405 | |
| 406 .network-graph-bar.request-timing.connecting, -theme-preserve { | |
| 407 background-color: #FF9800; | |
| 408 } | |
| 409 | |
| 410 .network-graph-bar.request-timing.ssl, -theme-preserve { | |
| 411 background-color: #9C27B0; | |
| 412 } | |
| 413 | |
| 414 .network-graph-bar.request-timing.dns, -theme-preserve { | |
| 415 background-color: #009688; | |
| 416 } | |
| 417 | |
| 418 .network-graph-bar.request-timing.proxy, -theme-preserve { | |
| 419 background-color: #A1887F; | |
| 420 } | |
| 421 | |
| 422 .network-graph-bar.request-timing.blocking, -theme-preserve { | |
| 423 background-color: #AAAAAA; | |
| 424 } | |
| 425 | |
| 426 .network-graph-bar.request-timing.push, -theme-preserve { | |
| 427 background-color: #8CDBff; | |
| 428 } | |
| 429 | |
| 430 .network-graph-bar.cached { | |
| 431 background: hsl(0, 0%, 90%); | |
| 432 } | |
| 433 | |
| 434 .network-graph-bar.document { | |
| 435 border-color: hsl(215, 49%, 60%); | |
| 436 background: linear-gradient(0deg, hsl(215, 72%, 65%), hsl(215, 100%, 80%)); | |
| 437 } | |
| 438 | |
| 439 .network-graph-bar.cached.document { | |
| 440 background: hsl(215, 99%, 80%); | |
| 441 } | |
| 442 | |
| 443 .network-graph-bar.stylesheet { | |
| 444 border-color: hsl(99, 34%, 60%); | |
| 445 background: linear-gradient(0deg, hsl(100, 50%, 65%), hsl(90, 50%, 80%)); | |
| 446 } | |
| 447 | |
| 448 .network-graph-bar.cached.stylesheet { | |
| 449 background: hsl(99, 100%, 80%); | |
| 450 } | |
| 451 | |
| 452 .network-graph-bar.image { | |
| 453 border-color: hsl(272, 31%, 60%); | |
| 454 background: linear-gradient(0deg, hsl(272, 46%, 65%), hsl(272, 64%, 80%)); | |
| 455 } | |
| 456 | |
| 457 .network-graph-bar.cached.image { | |
| 458 background: hsl(272, 65%, 80%); | |
| 459 } | |
| 460 | |
| 461 .network-graph-bar.media { | |
| 462 border-color: hsl(272, 31%, 60%); | |
| 463 background: linear-gradient(0deg, hsl(272, 46%, 65%), hsl(272, 64%, 80%)); | |
| 464 } | |
| 465 | |
| 466 .network-graph-bar.cached.media { | |
| 467 background: hsl(272, 65%, 80%); | |
| 468 } | |
| 469 | |
| 470 .network-graph-bar.font { | |
| 471 border-color: hsl(8, 49%, 60%); | |
| 472 background: linear-gradient(0deg, hsl(8, 72%, 65%), hsl(8, 100%, 80%)); | |
| 473 } | |
| 474 | |
| 475 .network-graph-bar.cached.font { | |
| 476 background: hsl(8, 100%, 80%); | |
| 477 } | |
| 478 | |
| 479 .network-graph-bar.texttrack { | |
| 480 border-color: hsl(8, 49%, 60%); | |
| 481 background: linear-gradient(0deg, hsl(8, 72%, 65%), hsl(8, 100%, 80%)); | |
| 482 } | |
| 483 | |
| 484 .network-graph-bar.cached.texttrack { | |
| 485 background: hsl(8, 100%, 80%); | |
| 486 } | |
| 487 | |
| 488 .network-graph-bar.script { | |
| 489 border-color: hsl(31, 49%, 60%); | |
| 490 background: linear-gradient(0deg, hsl(31, 72%, 65%), hsl(31, 100%, 80%)); | |
| 491 } | |
| 492 | |
| 493 .network-graph-bar.cached.script { | |
| 494 background: hsl(31, 100%, 80%); | |
| 495 } | |
| 496 | |
| 497 .network-graph-bar.xhr { | |
| 498 border-color: hsl(53, 49%, 60%); | |
| 499 background: linear-gradient(0deg, hsl(53, 72%, 65%), hsl(53, 100%, 80%)); | |
| 500 } | |
| 501 | |
| 502 .network-graph-bar.cached.xhr { | |
| 503 background: hsl(53, 100%, 80%); | |
| 504 } | |
| 505 | |
| 506 .network-graph-bar.websocket { | |
| 507 border-color: hsl(0, 0%, 60%); | |
| 508 background: linear-gradient(0deg, hsl(0, 0%, 65%), hsl(0, 0%, 80%)); | |
| 509 } | |
| 510 | |
| 511 .network-graph-bar.cached.websocket { | |
| 512 background: hsl(0, 0%, 80%); | |
| 513 } | |
| 514 | |
| 515 .network-dim-cell { | 270 .network-dim-cell { |
| 516 color: grey; | 271 color: grey; |
| 517 } | 272 } |
| 518 | 273 |
| 519 /* Dividers */ | |
| 520 | |
| 521 .network-timeline-grid { | |
| 522 position: absolute; | |
| 523 top: 0; | |
| 524 bottom: 0; | |
| 525 left: 0; | |
| 526 right: 14px; /* Keep in sync with td.corner width */ | |
| 527 pointer-events: none; | |
| 528 } | |
| 529 | |
| 530 .network-event-divider { | |
| 531 position: absolute; | |
| 532 width: 1px; | |
| 533 margin-left: -1px; | |
| 534 top: 31px; | |
| 535 bottom: 0; | |
| 536 z-index: 300; | |
| 537 } | |
| 538 | |
| 539 .network-event-divider.invisible { | |
| 540 visibility: hidden; | |
| 541 } | |
| 542 | |
| 543 .network-timeline-grid.small .network-event-divider { | |
| 544 top: 23px; | |
| 545 } | |
| 546 | |
| 547 .network-red-divider { | |
| 548 background-color: rgba(255, 0, 0, 0.5); | |
| 549 } | |
| 550 | |
| 551 .-theme-with-dark-background .network-red-divider { | |
| 552 background-color: hsla(0, 100%, 80%, 0.7); | |
| 553 } | |
| 554 | |
| 555 .network-summary-bar .summary-red { | 274 .network-summary-bar .summary-red { |
| 556 color: red; | 275 color: red; |
| 557 } | 276 } |
| 558 | 277 |
| 559 .-theme-with-dark-background .network-blue-divider { | |
| 560 background-color: hsla(240, 100%, 80%, 0.7); | |
| 561 } | |
| 562 | |
| 563 .network-frame-divider { | 278 .network-frame-divider { |
| 564 width: 2px; | 279 width: 2px; |
| 565 background-color: #FCCC49; | 280 background-color: #FCCC49; |
| 566 z-index: 10; | 281 z-index: 10; |
| 567 visibility: hidden; | 282 visibility: hidden; |
| 568 } | 283 } |
| 569 | 284 |
| 570 .network-frame-divider-selected { | 285 #network-container:not(.brief-mode) .data-container { |
| 571 visibility: visible; | 286 overflow: hidden; |
| 572 } | 287 } |
| 573 | 288 |
| 574 .network-summary-bar .summary-blue { | 289 .network-summary-bar .summary-blue { |
| 575 color: blue; | 290 color: blue; |
| 576 } | 291 } |
| 577 | 292 |
| 578 .-theme-with-dark-background .network-summary-bar .summary-blue { | 293 .-theme-with-dark-background .network-summary-bar .summary-blue { |
| 579 color: #03A9F4; | 294 color: #03A9F4; |
| 580 } | 295 } |
| 581 | 296 |
| 582 .network-log-grid.data-grid .resources-dividers { | 297 .network-log-grid.data-grid .resources-dividers { |
| 583 z-index: 0; | 298 z-index: 0; |
| 584 } | 299 } |
| 585 | 300 |
| 586 .network-log-grid.data-grid .resources-dividers-label-bar { | 301 .network-log-grid.data-grid .resources-dividers-label-bar { |
| 587 background-color: transparent; | 302 background-color: transparent; |
| 588 border: none; | 303 border: none; |
| 589 height: 30px; | 304 height: 30px; |
| 590 pointer-events: none; | 305 pointer-events: none; |
| 591 } | 306 } |
| 592 | 307 |
| 593 .network-timeline-grid.small .resources-dividers-label-bar { | |
| 594 height: 23px; | |
| 595 } | |
| 596 | |
| 597 .network-timeline-grid .resources-divider-label { | |
| 598 top: 0; | |
| 599 margin-top: -5px; | |
| 600 } | |
| 601 | |
| 602 .network-timeline-grid .resources-dividers-label-bar .resources-divider { | |
| 603 top: 23px; | |
| 604 } | |
| 605 | |
| 606 .network-timeline-grid.small .resources-dividers-label-bar .resources-divider { | |
| 607 top: 15px; | |
| 608 } | |
| 609 | |
| 610 .network-timeline-grid .resources-divider:first-child .resources-divider-label { | |
| 611 display: none; | |
| 612 } | |
| 613 | |
| 614 .network-timeline-grid .resources-dividers-label-bar .resources-divider:first-ch
ild { | |
| 615 background-color: transparent; | |
| 616 } | |
| 617 | |
| 618 #network-container { | 308 #network-container { |
| 619 overflow: hidden; | 309 overflow: hidden; |
| 620 } | 310 } |
| 621 | 311 |
| 622 /* Brief mode peculiarities. */ | |
| 623 #network-container.brief-mode .network-timeline-grid { | |
| 624 display: none; | |
| 625 } | |
| 626 | |
| 627 .network-log-grid.data-grid .data-container tr:not(.data-grid-filler-row):not(.s
elected).hover { | 312 .network-log-grid.data-grid .data-container tr:not(.data-grid-filler-row):not(.s
elected).hover { |
| 628 background-color: #ebf2fc; | 313 background-color: #ebf2fc; |
| 629 } | 314 } |
| 630 | 315 |
| 631 .network-log-grid .network-node-on-initiator-path { | 316 .network-log-grid .network-node-on-initiator-path { |
| 632 background-color: hsla(120, 68%, 54%, 0.2) !important; | 317 background-color: hsla(120, 68%, 54%, 0.2) !important; |
| 633 } | 318 } |
| 634 | 319 |
| 635 .network-log-grid .network-node-on-initiated-path { | 320 .network-log-grid .network-node-on-initiated-path { |
| 636 background-color: hsla(0, 68%, 54%, 0.2) !important; | 321 background-color: hsla(0, 68%, 54%, 0.2) !important; |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 699 | 384 |
| 700 .network-timeline-header .sort-ascending.sort-order-icon { | 385 .network-timeline-header .sort-ascending.sort-order-icon { |
| 701 display: block; | 386 display: block; |
| 702 background-position: -4px -111px; | 387 background-position: -4px -111px; |
| 703 } | 388 } |
| 704 | 389 |
| 705 .network-timeline-header .sort-descending.sort-order-icon { | 390 .network-timeline-header .sort-descending.sort-order-icon { |
| 706 display: block; | 391 display: block; |
| 707 background-position: -20px -99px; | 392 background-position: -20px -99px; |
| 708 } | 393 } |
| OLD | NEW |