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

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: review comments addressed 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,
41 .panel.layers .banner {
42 color: #777;
43 background-color: white;
44 display: flex;
45 justify-content: center;
46 align-items: center;
47 text-align: center;
48 padding: 20px;
49 position: absolute;
50 top: 0;
51 right: 0;
52 bottom: 0;
53 left: 0;
54 font-size: 13px;
55 overflow: auto;
56 z-index: 500;
57 }
58
59 .panel.timeline .banner a,
60 .panel.layers .banner a {
61 color: inherit;
62 }
63
64 #timeline-overview-panel .timeline-graph-bar { 40 #timeline-overview-panel .timeline-graph-bar {
65 pointer-events: none; 41 pointer-events: none;
66 } 42 }
67 43
68 #timeline-overview-grid { 44 #timeline-overview-grid {
69 background-color: rgb(255, 255, 255); 45 background-color: rgb(255, 255, 255);
70 } 46 }
71 47
72 #timeline-overview-grid .timeline-grid-header { 48 #timeline-overview-grid .timeline-grid-header {
73 height: 12px; 49 height: 12px;
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 } 434 }
459 435
460 .timeline-flamechart { 436 .timeline-flamechart {
461 overflow: hidden; 437 overflow: hidden;
462 } 438 }
463 439
464 .timeline-status-pane.banner { 440 .timeline-status-pane.banner {
465 text-align: left !important; 441 text-align: left !important;
466 } 442 }
467 443
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, 444 .timeline-layers-view > div:last-child,
572 .timeline-layers-view-properties > div:last-child { 445 .timeline-layers-view-properties > div:last-child {
573 background-color: #eee; 446 background-color: #eee;
574 } 447 }
575 448
576 .timeline-layers-view-properties table { 449 .timeline-layers-view-properties table {
577 width: 100%; 450 width: 100%;
578 border-collapse: collapse; 451 border-collapse: collapse;
579 } 452 }
580 453
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 border-bottom: 1px solid #ddd; 608 border-bottom: 1px solid #ddd;
736 background-color: #f3f3f3 609 background-color: #f3f3f3
737 } 610 }
738 611
739 .timeline-stack-view-header { 612 .timeline-stack-view-header {
740 height: 26px; 613 height: 26px;
741 background-color: white; 614 background-color: white;
742 padding: 6px 10px; 615 padding: 6px 10px;
743 color: #5a5a5a; 616 color: #5a5a5a;
744 } 617 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698