Upstream version 11.40.271.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / devtools / front_end / timeline / timelinePanel.css
1 /*
2  * Copyright (C) 2006, 2007, 2008 Apple Inc.  All rights reserved.
3  * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org>
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions
7  * are met:
8  *
9  * 1.  Redistributions of source code must retain the above copyright
10  *     notice, this list of conditions and the following disclaimer.
11  * 2.  Redistributions in binary form must reproduce the above copyright
12  *     notice, this list of conditions and the following disclaimer in the
13  *     documentation and/or other materials provided with the distribution.
14  * 3.  Neither the name of Apple Computer, Inc. ("Apple") nor the names of
15  *     its contributors may be used to endorse or promote products derived
16  *     from this software without specific prior written permission.
17  *
18  * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
19  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21  * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
22  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28  */
29
30 #timeline-overview-panel {
31     flex: none;
32     position: relative;
33     border-bottom: 1px solid rgb(140, 140, 140);
34 }
35
36 #timeline-overview-panel .timeline-graph-bar {
37     pointer-events: none;
38 }
39
40 .timeline-records-title, .timeline-records-list {
41     background-color: #eee;
42 }
43
44 .timeline-records-title {
45     padding: 3px 3px 3px 5px;
46     flex: 0 0 19px;
47     color: rgb(92, 110, 129); text-shadow: rgba(255, 255, 255, 0.75) 0 1px 0;
48 }
49
50 .timeline-records-list {
51     flex: auto;
52 }
53
54 #timeline-overview-grid {
55     background-color: rgb(255, 255, 255);
56 }
57
58 .timeline-overview-frames-mode #timeline-overview-grid {
59     display: none;
60 }
61
62 #timeline-overview-grid .resources-dividers-label-bar {
63     pointer-events: auto;
64 }
65
66 .timeline-overview-frames-mode .overview-grid-window,
67 .timeline-overview-frames-mode .overview-grid-dividers-background {
68     height: 100%;
69 }
70
71 #timeline-overview-grid #resources-graphs {
72     position: absolute;
73     top: 0;
74     left: 0;
75     right: 0;
76     height: 80px;
77 }
78
79 #timeline-container {
80     border-right: 0 none transparent;
81     overflow-y: scroll;
82     overflow-x: hidden;
83 }
84
85 .timeline-details-split {
86     flex: auto;
87 }
88
89 .timeline-view {
90     flex: auto;
91     overflow: hidden;
92 }
93
94 .timeline-view-stack {
95     flex: auto;
96     display: flex;
97 }
98
99 #timeline-container .webkit-html-external-link,
100 #timeline-container .webkit-html-resource-link {
101     color: inherit;
102 }
103
104 .timeline-tree-item {
105     height: 18px;
106     line-height: 15px;
107     padding-right: 5px;
108     padding-left: 5px;
109     padding-top: 2px;
110     white-space: nowrap;
111     text-overflow: ellipsis;
112     overflow: hidden;
113 }
114
115 .timeline-tree-item.selected {
116     background-color: rgb(56, 121, 217) !important;
117     color: white;
118 }
119
120 .timeline-tree-item.hovered:not(.selected),
121 .timeline-graph-side.hovered {
122     background-color: rgba(0, 0, 0, 0.05) !important;
123 }
124
125 .timeline-expandable {
126     position: absolute;
127     border-left: 1px solid rgb(163, 163, 163);
128     pointer-events: none;
129 }
130
131 .timeline-expandable-left {
132     position: absolute;
133     top: 0;
134     bottom: 0;
135     left: 0;
136     width: 3px;
137     border-top: 1px solid rgb(163, 163, 163);
138     border-bottom: 1px solid rgb(163, 163, 163);
139 }
140
141 .timeline-tree-item-expand-arrow {
142     display: inline-block;
143     -webkit-user-select: none;
144     -webkit-mask-image: url(Images/statusbarButtonGlyphs.png);
145     -webkit-mask-size: 320px 144px;
146     width: 10px;
147     height: 10px;
148     content: "";
149     background-color: rgb(110, 110, 110);
150     position: relative;
151     top: -1px;
152     left: -1px;
153 }
154
155 @media (-webkit-min-device-pixel-ratio: 1.5) {
156 .timeline-tree-item-expand-arrow {
157     -webkit-mask-image: url(Images/statusbarButtonGlyphs_2x.png);
158 }
159 } /* media */
160
161 .timeline-tree-item-expand-arrow.parent {
162     -webkit-mask-position: -4px -96px;
163 }
164
165 .timeline-tree-item-expand-arrow.parent.expanded {
166     -webkit-mask-position: -20px -96px;
167 }
168
169 .timeline-expandable-arrow {
170     background-image: url(Images/statusbarButtonGlyphs.png);
171     background-size: 320px 144px;
172     opacity: 0.5;
173     width: 10px;
174     height: 10px;
175     position: relative;
176     top: 3px;
177     left: 2px;
178 }
179
180 @media (-webkit-min-device-pixel-ratio: 1.5) {
181 .timeline-expandable-arrow {
182     background-image: url(Images/statusbarButtonGlyphs_2x.png);
183 }
184 } /* media */
185
186 .timeline-expandable-collapsed .timeline-expandable-arrow {
187     background-position: -4px -96px;
188 }
189
190 .timeline-expandable-expanded .timeline-expandable-arrow {
191     background-position: -20px -96px;
192 }
193
194 .timeline-tree-item .type {
195     padding-left: 5px;
196 }
197
198 .timeline-tree-item .count {
199     font-weight: bold;
200 }
201
202 .timeline-tree-item .timeline-tree-icon {
203     position: relative;
204     top: -1px;
205     left: 1px;
206     width: 7px;
207     height: 7px;
208     border-radius: 1px;
209     border-style: solid;
210     border-width: 1px;
211     display: inline-block;
212 }
213
214 .timeline-tree-item.background .timeline-tree-icon {
215     background: none !important;
216 }
217
218 .timeline-tree-item-warning {
219     display: block;
220     background-image: url(Images/statusbarButtonGlyphs.png);
221     background-size: 320px 144px;
222     width: 10px;
223     height: 10px;
224     float: right;
225     background-position: -202px -107px;
226     position: relative;
227     top: 2px;
228 }
229
230 .timeline-tree-item-child-warning {
231     opacity: 0.6;
232 }
233
234 @media (-webkit-min-device-pixel-ratio: 1.5) {
235 .timeline-tree-item-warning {
236     background-image: url(Images/statusbarButtonGlyphs_2x.png);
237 }
238 } /* media */
239
240 .timeline-tree-item .data.dimmed {
241     color: rgba(0, 0, 0, 0.7);
242     pointer-events: none;
243     padding-left: 4px;
244 }
245
246 .timeline-tree-item.selected .data.dimmed {
247     color: rgba(255, 255, 255, 0.8);
248     pointer-events: auto;
249 }
250
251 .timeline-tree-item.selected .timeline-tree-item-expand-arrow {
252     background-color: white;
253 }
254
255 #timeline-overview-events,
256 #timeline-overview-memory,
257 #timeline-overview-power {
258     flex: 0 0 60px;
259     z-index: 160;
260     width: 100%;
261 }
262
263 #timeline-overview-memory {
264     flex-basis: 20px;
265 }
266
267 #timeline-overview-frames {
268     flex-basis: 79px;
269 }
270
271 #timeline-overview-pane {
272     flex: auto;
273     position: relative;
274     overflow: hidden;
275 }
276
277 #timeline-overview-container {
278     display: flex;
279     flex-direction: column;
280     flex: none;
281     position: relative;
282     overflow: hidden;
283 }
284
285 #timeline-overview-container canvas {
286     width: 100%;
287     height: 100%;
288 }
289
290 #timeline-overview-frames canvas {
291     z-index: 200;
292     background-color: rgba(255, 255, 255, 0.8);
293 }
294
295 #timeline-graphs {
296     position: absolute;
297     left: 0;
298     right: 0;
299     max-height: 100%;
300     top: 20px;
301 }
302
303 .timeline-graph-side {
304     position: relative;
305     height: 18px;
306     padding: 0 5px;
307     white-space: nowrap;
308     margin-top: 0;
309     border-top: 1px solid transparent;
310     overflow: hidden;
311 }
312
313 .timeline-graph-side.selected {
314     background-color: rgba(56, 121, 217, 0.1) !important;
315 }
316
317 .timeline-graph-bar-area {
318     position: absolute;
319     top: 0;
320     bottom: 0;
321     right: 0;
322     left: 3px;
323     pointer-events: none;
324 }
325
326 .timeline-graph-bar {
327     position: absolute;
328     top: -1px;
329     bottom: 0;
330     margin: auto -2px;
331     height: 10px;
332     min-width: 5px;
333     z-index: 180;
334     pointer-events: visibleFill;
335     border-radius: 1px;
336     border: 1px solid;
337 }
338
339 .timeline-graph-bar.cpu {
340     opacity: 0.7;
341 }
342
343 .timeline-graph-side.background .timeline-graph-bar {
344     background: transparent !important;
345     border-width: 2px;
346 }
347
348 .timeline-aggregated-category {
349     display: inline-block;
350     height: 11px;
351     margin-right: 5px;
352     position: relative;
353     top: 2px;
354     width: 10px;
355     border: solid 1px;
356 }
357
358 .popover ul {
359     margin: 0;
360     padding: 0;
361     list-style-type: none;
362 }
363
364 .timeline-garbage-collect-status-bar-item .glyph {
365     -webkit-mask-position: -128px -24px;
366 }
367
368 .timeline-frames-status-bar-item .glyph {
369     -webkit-mask-position: -160px -48px;
370 }
371
372 .timeline-flame-chart-status-bar-item .glyph {
373     -webkit-mask-position: -192px -48px;
374 }
375
376 #resources-container-content {
377     overflow: hidden;
378     min-height: 100%;
379 }
380
381 #resources-graphs {
382     position: absolute;
383     left: 0;
384     right: 0;
385     max-height: 100%;
386     top: 112px;
387 }
388
389 .memory-graph-label {
390     position: absolute;
391     left: 5px;
392     font-size: 9px;
393     color: rgb(50%, 50%, 50%);
394     white-space: nowrap;
395 }
396
397 #memory-graphs-canvas-container {
398     overflow: hidden;
399     flex: auto;
400     position: relative;
401 }
402
403 #memory-counters-graph {
404     flex: auto;
405 }
406
407 #memory-graphs-canvas-container .memory-counter-marker {
408     position: absolute;
409     border-radius: 3px;
410     width: 5px;
411     height: 5px;
412     margin-left: -3px;
413     margin-top: -2px;
414 }
415
416 #memory-graphs-container .split-view-contents-first {
417     background-color: #eee;
418     overflow-y: hidden;
419 }
420
421 #memory-graphs-container .sidebar-tree-section {
422     flex: 0 0 24px;
423     padding: 5px 0 0 5px;
424 }
425
426 .memory-counter-sidebar-info {
427     flex: 0 0 18px;
428     margin-left: 5px;
429     white-space: nowrap;
430 }
431
432 .memory-counter-sidebar-info .swatch {
433     background-image: none;
434     border: 1px solid rgba(0,0,0,0.3);
435     opacity: 0.5;
436 }
437
438 .memory-counter-sidebar-info .title {
439     margin: 4px;
440 }
441
442 .memory-counter-value {
443     margin: 4px;
444 }
445
446 #counter-values-bar {
447     flex: 0 0 18px;
448     border-bottom: solid 1px lightgray;
449     width: 100%;
450     overflow: hidden;
451     line-height: 18px;
452 }
453
454 .timeline .resources-event-divider {
455     height: 19px;
456     width: 6px;
457     pointer-events: auto;
458     margin-left: -2px;
459 }
460
461 .timeline .resources-event-divider::before {
462     height: 19px;
463     width: 2px;
464     margin: 0 2px;
465     background-color: rgb(163, 109, 0);
466     bottom: auto;
467     content: "";
468     display: block;
469 }
470
471 .timeline .resources-event-divider:hover::before {
472     width: 4px;
473     margin: 0 1px;
474 }
475
476 .timeline .resources-event-divider.resources-red-divider::before {
477     background-color: rgb(255, 0, 0);
478 }
479
480 .timeline .resources-event-divider.resources-blue-divider::before {
481     background-color: rgb(0, 0, 255);
482 }
483
484 .timeline .resources-event-divider.resources-orange-divider::before {
485     background-color: rgb(255, 178, 23);
486 }
487
488 .timeline .resources-event-divider.resources-green-divider::before {
489     background-color: rgb(0, 130, 0);
490 }
491
492 .resources-divider:last-child {
493     border-color: transparent;
494 }
495
496 .timeline .resources-event-divider.timeline-frame-divider {
497     background-color: rgba(180, 180, 180, 0.8);
498     border-style: none;
499     width: 1px;
500     height: 100%;
501     pointer-events: none;
502 }
503
504 .timeline-frame-container {
505     height: 19px;
506     overflow: hidden;
507     background-color: rgb(220, 220, 220);
508     opacity: 0.8;
509     color: black;
510     text-align: center;
511     z-index: 220;
512     pointer-events: auto;
513 }
514
515 .timeline-frame-strip {
516     position: absolute;
517     height: 19px;
518     padding-top: 3px;
519 }
520
521 .timeline-frame-strip.selected {
522     background-color: rgb(56, 121, 217);
523     color: white;
524 }
525
526 #timeline-grid-header {
527     pointer-events: none;
528     height: 19px;
529 }
530
531 #timeline-graph-records-header {
532     pointer-events: none;
533     height: 19px;
534     padding: 1px 0;
535     justify-content: center;
536 }
537
538 .timeline-utilization-strip {
539     z-index: 250;
540     overflow: hidden;
541     flex: 0 1 12px;
542     position: relative;
543     height: 9px;
544 }
545
546 .timeline-utilization-strip .timeline-graph-bar {
547     border-color: rgb(192, 192, 192);
548     background-color: rgba(0, 0, 0, 0.1);
549     margin: 1.5px auto;
550     height: auto;
551 }
552
553 .timeline-utilization-strip.gpu .timeline-graph-bar {
554     background-color: #00a;
555     border: none;
556     opacity: 0.3;
557     min-width: 0;
558 }
559
560 .timeline-utilization-strip.gpu .timeline-graph-bar.gpu-task-foreign {
561     background-color: #aaa;
562 }
563
564 .timeline-cpu-curtain-left, .timeline-cpu-curtain-right {
565     background-color: rgba(210, 210, 210, 0.5);
566     position: absolute;
567     top: 0;
568     height: 100%;
569     z-index: 300;
570 }
571
572 .timeline-cpu-curtain-left {
573     left: 0;
574 }
575
576 .timeline-cpu-curtain-right {
577     right: 0;
578 }
579
580 .image-preview-container {
581     background: transparent;
582     text-align: left;
583     border-spacing: 0;
584 }
585
586 .image-preview-container img {
587     max-width: 100px;
588     max-height: 100px;
589     background-image: url(Images/checker.png);
590     -webkit-user-select: text;
591     -webkit-user-drag: auto;
592 }
593
594 .image-container {
595     padding: 0;
596 }
597
598 .timeline-filters-header {
599     flex: 0 0 23px;
600     overflow: hidden;
601 }
602
603 .timeline-details {
604     vertical-align: top;
605 }
606
607 .timeline-details .record-title {
608     float: left;
609     padding: 5px 10px 5px 10px;
610     font-weight: bold;
611 }
612
613 .timeline-details-title {
614     border-bottom: 1px solid #B8B8B8;
615     font-weight: bold;
616     padding-bottom: 5px;
617     padding-top: 0;
618     white-space: nowrap;
619 }
620
621 .timeline-details-row-title {
622     font-weight: bold;
623     text-align: right;
624     white-space: nowrap;
625 }
626
627 .timeline-details-row-data {
628     white-space: nowrap;
629 }
630
631 .timeline-details-view {
632     color: #333;
633     overflow: hidden;
634 }
635
636 .timeline-details-view-body {
637     flex: auto;
638     overflow: auto;
639     position: relative;
640     background-color: #eee;
641 }
642
643 .timeline-details-view-block {
644     flex: none;
645     display: flex;
646     flex-direction: column;
647 }
648
649 .timeline-details-view-row {
650     display: flex;
651     border-bottom: 1px solid #e1e1e1;
652 }
653
654 .timeline-details-view-row-title {
655     font-weight: bold;
656     color: rgb(48, 57, 66);
657     width: 130px;
658     line-height: 24px;
659     padding-left: 10px;
660     flex: none;
661 }
662
663 .timeline-details-view-row-value {
664     padding-left: 10px;
665     border-left: 1px solid #e1e1e1;
666     min-height: 24px;
667     line-height: 24px;
668     -webkit-user-select: text;
669 }
670
671 .timeline-details-view-row-details {
672     padding-left: 10px;
673 }
674
675 .timeline-details-view-pie-chart {
676     margin: 8px 10px 8px 0;
677 }
678
679 .timeline-details-view-pie-chart {
680     margin: 8px 10px 8px 0;
681 }
682
683 .timeline-details-view-row-details .image-preview-container {
684     padding: 10px;
685 }
686
687 .timeline-details-view-row-details table {
688     padding-left: 10px;
689 }
690
691 .timeline-details-view-row-details table td {
692     text-align: left;
693     vertical-align: top;
694 }
695
696 .timeline-details-view-row-details table td .section {
697     margin-top: -1px;
698 }
699
700 .timeline-details-view-row-details table td .section  > .header .title {
701     white-space: nowrap;
702 }
703
704 .timeline-details-view-row-stack-trace {
705     padding: 4px 0 4px 20px;
706 }
707
708 .timeline-details-view-row-stack-trace div {
709     white-space: nowrap;
710     text-overflow: ellipsis;
711     line-height: 12px;
712 }
713
714 .timeline-details-view-row-stack-trace .webkit-html-external-link,
715 .timeline-details-view-row-stack-trace .webkit-html-resource-link {
716     color: #333 !important;
717 }
718
719 .timeline-aggregated-info {
720     flex: none;
721     position: relative;
722     margin-left:  5px;
723 }
724
725 .timeline-range-summary {
726     align-items: left;
727     margin: 6px;
728 }
729
730 .timeline-range-summary > div {
731     flex-shrink: 0;
732 }
733
734 .timeline-aggregated-info-legend > div {
735     overflow: hidden;
736     white-space: nowrap;
737     text-overflow: ellipsis;
738 }
739
740 .timeline-flamechart {
741     overflow: hidden;
742 }
743
744 .timeline-progress-pane {
745     position: absolute;
746     top: 0px;
747     right: 0px;
748     bottom: 0px;
749     left: 0px;
750     color: #777;
751     background-color: rgba(255, 255, 255, 0.8);
752     font-size: 30px;
753     z-index: 500;
754     display: flex;
755     justify-content: center;
756     align-items: center;
757 }
758
759 .layer-tree.outline-disclosure {
760     z-index: 10;
761 }
762
763 .layer-tree.outline-disclosure > ol,
764 .profiler-log-view > ol {
765     margin-left: -12px
766 }
767
768 .layer-tree.outline-disclosure ol.children,
769 .profiler-log-view ol.children {
770     margin-left: -14px;
771     padding-left: 22px;
772 }
773
774 .layer-tree.outline-disclosure li,
775 .profiler-log-view li {
776     white-space: nowrap;
777     overflow: hidden;
778     text-overflow: ellipsis;
779     height: 16px;
780     line-height: 16px;
781     margin-top: 0;
782 }
783
784 .layer-tree.outline-disclosure .dimmed {
785     opacity: 0.6;
786 }
787
788 .layers-3d-view {
789     overflow: hidden;
790     -webkit-user-select: none;
791 }
792
793 .layers-3d-view canvas {
794     flex: 1 1;
795 }
796
797 .transform-control-panel {
798     white-space: nowrap;
799     flex: none;
800 }
801
802 .transform-control-panel .status-bar-item > .glyph {
803     -webkit-mask-image: url(Images/transformControls.png);
804     -webkit-mask-size: 96px 24px;
805     opacity: 0.8;
806 }
807
808 @media (-webkit-min-device-pixel-ratio: 1.5) {
809 .transform-control-panel .status-bar-item > .glyph {
810     -webkit-mask-image: url(Images/transformControls_2x.png);
811 }
812 } /* media */
813
814 .transform-control-panel .transform-mode-rotate .glyph {
815     -webkit-mask-position: -64px 0px;
816 }
817
818 .transform-control-panel .transform-reset .glyph {
819     -webkit-mask-position: -32px 0px;
820 }
821
822 .layer-details-view .empty-view {
823     font-size: 16px;
824 }
825
826 .layer-details-view table td {
827     padding-left: 8px;
828 }
829
830 .layer-details-view table td:first-child {
831     font-weight: bold;
832 }
833
834 .layer-details-view .scroll-rect.active {
835     background-color: rgba(100, 100, 100, 0.2);
836 }
837
838 .paint-profiler-overview .progress-banner {
839     color: #777;
840     background-color: rgba(255, 255, 255, 0.8);
841     font-size: 20px;
842     z-index: 500;
843     display: flex;
844     justify-content: center;
845     align-items: center;
846 }
847
848 .paint-profiler-canvas-container {
849     flex: auto;
850     position: relative;
851 }
852
853 .paint-profiler-overview {
854     background-color: #eee;
855 }
856
857 .paint-profiler-pie-chart {
858     width: 60px;
859     height: 60px;
860     padding: 2px;
861     overflow: hidden;
862     font-size: 10px;
863 }
864
865 .profiler-log-view.outline-disclosure,
866 .layer-tree.outline-disclosure {
867     font-size: 12px;
868     line-height: 14px;
869 }
870
871 .profiler-log-view.outline-disclosure li.parent::before,
872 .layer-tree.outline-disclosure li.parent::before  {
873     top: 1px;
874 }
875
876 .paint-profiler-canvas-container canvas {
877     z-index: 200;
878     background-color: white;
879     opacity: 0.95;
880     height: 100%;
881     width: 100%;
882 }
883
884 .paint-profiler-canvas-container .overview-grid-dividers-background,
885 .paint-profiler-canvas-container .overview-grid-window {
886     bottom: 0;
887     height: auto;
888 }
889
890 .paint-profiler-canvas-container .overview-grid-window-resizer {
891     z-index: 2000;
892 }
893
894 .profiler-log-view .console-formatted-string {
895     white-space: nowrap;
896 }
897
898 .profiler-log-view.section .properties {
899     display: block;
900     padding-right: 0px !important;
901 }
902
903 .paint-profiler-image-view {
904     overflow: hidden;
905 }
906
907 .paint-profiler-image-view img {
908     border: solid 1px black;
909     -webkit-transform-origin: 0px 0px;
910 }
911
912 .layer-details-view ul {
913     list-style: none;
914     -webkit-padding-start: 0;
915     -webkit-margin-before: 0;
916     -webkit-margin-after: 0;
917 }
918
919 .timeline-layers-view > .split-view-contents-first,
920 .timeline-layers-view-properties > .split-view-contents-second {
921     background-color: #eee;
922 }
923
924 .timeline-layers-view-properties table {
925     width: 100%;
926     border-collapse: collapse;
927 }
928
929 .timeline-layers-view-properties td {
930     border: 1px solid #e1e1e1;
931     line-height: 22px;
932 }
933
934 .timeline-paint-profiler-log-split .split-view-contents-first {
935     background-color: #eee;
936     z-index: 0;
937 }