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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/timeline/timelinePanel.css

Issue 2358253002: DevTools: extract a component for layer viewer (Closed)
Patch Set: Created 4 years, 2 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 (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org>
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 19 matching lines...) Expand all
30 .panel.timeline > .toolbar { 30 .panel.timeline > .toolbar {
31 border-bottom: 1px solid #dadada; 31 border-bottom: 1px solid #dadada;
32 } 32 }
33 33
34 #timeline-overview-panel { 34 #timeline-overview-panel {
35 flex: none; 35 flex: none;
36 position: relative; 36 position: relative;
37 border-bottom: 1px solid rgb(140, 140, 140); 37 border-bottom: 1px solid rgb(140, 140, 140);
38 } 38 }
39 39
40 .panel.timeline .banner, 40 .panel.timeline .banner {
41 .panel.layers .banner {
42 color: #777; 41 color: #777;
43 background-color: white; 42 background-color: white;
44 display: flex; 43 display: flex;
45 justify-content: center; 44 justify-content: center;
46 align-items: center; 45 align-items: center;
47 text-align: center; 46 text-align: center;
48 padding: 20px; 47 padding: 20px;
49 position: absolute; 48 position: absolute;
50 top: 0; 49 top: 0;
51 right: 0; 50 right: 0;
52 bottom: 0; 51 bottom: 0;
53 left: 0; 52 left: 0;
54 font-size: 13px; 53 font-size: 13px;
55 overflow: auto; 54 overflow: auto;
56 z-index: 500; 55 z-index: 500;
57 } 56 }
58 57
59 .panel.timeline .banner a, 58 .panel.timeline .banner a {
60 .panel.layers .banner a {
61 color: inherit; 59 color: inherit;
62 } 60 }
63 61
64 #timeline-overview-panel .timeline-graph-bar { 62 #timeline-overview-panel .timeline-graph-bar {
65 pointer-events: none; 63 pointer-events: none;
66 } 64 }
67 65
68 #timeline-overview-grid { 66 #timeline-overview-grid {
69 background-color: rgb(255, 255, 255); 67 background-color: rgb(255, 255, 255);
70 } 68 }
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 } 456 }
459 457
460 .timeline-flamechart { 458 .timeline-flamechart {
461 overflow: hidden; 459 overflow: hidden;
462 } 460 }
463 461
464 .timeline-status-pane.banner { 462 .timeline-status-pane.banner {
465 text-align: left !important; 463 text-align: left !important;
466 } 464 }
467 465
468 .layer-tree,
469 .profiler-log-view {
470 overflow: auto;
471 }
472
473 .layers-3d-view {
474 overflow: hidden;
475 -webkit-user-select: none;
476 }
477
478 .layers-3d-view canvas {
479 flex: 1 1;
480 }
481
482 .transform-control-panel {
483 white-space: nowrap;
484 flex: none;
485 }
486
487 .layer-details-view table td {
488 padding-left: 8px;
489 }
490
491 .layer-details-view table td:first-child {
492 font-weight: bold;
493 }
494
495 .layer-details-view .scroll-rect.active {
496 background-color: rgba(100, 100, 100, 0.2);
497 }
498
499 .paint-profiler-overview .banner {
500 z-index: 500;
501 }
502
503 .paint-profiler-canvas-container {
504 flex: auto;
505 position: relative;
506 }
507
508 .paint-profiler-overview {
509 background-color: #eee;
510 }
511
512 .paint-profiler-pie-chart {
513 width: 60px !important;
514 height: 60px !important;
515 padding: 2px;
516 overflow: hidden;
517 font-size: 10px;
518 }
519
520 .paint-profiler-canvas-container canvas {
521 z-index: 200;
522 background-color: white;
523 opacity: 0.95;
524 height: 100%;
525 width: 100%;
526 }
527
528 .paint-profiler-canvas-container .overview-grid-dividers-background,
529 .paint-profiler-canvas-container .overview-grid-window {
530 bottom: 0;
531 height: auto;
532 }
533
534 .paint-profiler-canvas-container .overview-grid-window-resizer {
535 z-index: 2000;
536 }
537
538 .paint-profiler-image-view {
539 overflow: hidden;
540 }
541
542 .paint-profiler-image-view .paint-profiler-image-container {
543 -webkit-transform-origin: 0 0;
544 }
545
546 .paint-profiler-image-view .paint-profiler-image-container div {
547 border-color: rgba(100, 100, 100, 0.4);
548 border-style: solid;
549 z-index: 100;
550 position: absolute;
551 top: 0;
552 left: 0;
553 }
554
555 .paint-profiler-image-view img {
556 border: solid 1px black;
557 }
558
559 .layer-details-view ul {
560 list-style: none;
561 -webkit-padding-start: 0;
562 -webkit-margin-before: 0;
563 -webkit-margin-after: 0;
564 }
565
566 .layer-details-view a {
567 padding: 8px;
568 display: block;
569 }
570
571 .timeline-layers-view > div:last-child, 466 .timeline-layers-view > div:last-child,
572 .timeline-layers-view-properties > div:last-child { 467 .timeline-layers-view-properties > div:last-child {
573 background-color: #eee; 468 background-color: #eee;
574 } 469 }
575 470
576 .timeline-layers-view-properties table { 471 .timeline-layers-view-properties table {
577 width: 100%; 472 width: 100%;
578 border-collapse: collapse; 473 border-collapse: collapse;
579 } 474 }
580 475
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 border-bottom: 1px solid #ddd; 630 border-bottom: 1px solid #ddd;
736 background-color: #f3f3f3 631 background-color: #f3f3f3
737 } 632 }
738 633
739 .timeline-stack-view-header { 634 .timeline-stack-view-header {
740 height: 26px; 635 height: 26px;
741 background-color: white; 636 background-color: white;
742 padding: 6px 10px; 637 padding: 6px 10px;
743 color: #5a5a5a; 638 color: #5a5a5a;
744 } 639 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698