Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / devtools / front_end / 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-overview-panel .split-view-sidebar > label {
41     margin: 6px 0 3px 5px;
42     height: auto;
43     display: flex;
44 }
45
46 #timeline-overview-panel .split-view-sidebar > label > input {
47     margin-right: 6px;
48 }
49
50 .timeline-records-title, .timeline-records-list {
51     background-color: rgb(236, 236, 236);
52 }
53
54 .timeline-records-title {
55     padding: 3px 3px 3px 5px;
56     flex: 0 0 19px;
57     color: rgb(92, 110, 129); text-shadow: rgba(255, 255, 255, 0.75) 0 1px 0;
58 }
59
60 .timeline-records-list {
61     flex: auto;
62 }
63
64 #timeline-overview-grid {
65     background-color: rgb(255, 255, 255);
66 }
67
68 .timeline-overview-frames-mode #timeline-overview-grid {
69     display: none;
70 }
71
72 #timeline-overview-grid .resources-dividers-label-bar {
73     pointer-events: auto;
74 }
75
76 .timeline-overview-frames-mode .overview-grid-window,
77 .timeline-overview-frames-mode .overview-grid-dividers-background {
78     height: 100%;
79 }
80
81 #timeline-overview-grid #resources-graphs {
82     position: absolute;
83     top: 0;
84     left: 0;
85     right: 0;
86     height: 80px;
87 }
88
89 #timeline-container {
90     border-right: 0 none transparent;
91     overflow-y: scroll;
92     overflow-x: hidden;
93 }
94
95 .timeline-records-view {
96     overflow: hidden !important;
97 }
98
99 .timeline-details-split {
100     flex: auto;
101 }
102
103 .timeline-view {
104     flex: auto;
105 }
106
107 .timeline-view-stack {
108     flex: auto;
109     display: flex;
110 }
111
112 #timeline-container .webkit-html-external-link,
113 #timeline-container .webkit-html-resource-link {
114     color: inherit;
115 }
116
117 .timeline-tree-item {
118     height: 18px;
119     line-height: 15px;
120     padding-right: 5px;
121     padding-left: 5px;
122     padding-top: 2px;
123     white-space: nowrap;
124     text-overflow: ellipsis;
125     overflow: hidden;
126 }
127
128 .timeline-tree-item.selected {
129     background-color: rgb(56, 121, 217) !important;
130     color: white;
131 }
132
133 .timeline-tree-item.hovered:not(.selected),
134 .timeline-graph-side.hovered {
135     background-color: rgba(0, 0, 0, 0.05) !important;
136 }
137
138 .timeline-expandable {
139     position: absolute;
140     border-left: 1px solid rgb(163, 163, 163);
141     pointer-events: none;
142 }
143
144 .timeline-expandable-left {
145     position: absolute;
146     top: 0;
147     bottom: 0;
148     left: 0;
149     width: 3px;
150     border-top: 1px solid rgb(163, 163, 163);
151     border-bottom: 1px solid rgb(163, 163, 163);
152 }
153
154 .timeline-tree-item-expand-arrow {
155     display: inline-block;
156     -webkit-user-select: none;
157     -webkit-mask-image: url(Images/statusbarButtonGlyphs.png);
158     -webkit-mask-size: 320px 144px;
159     width: 10px;
160     height: 10px;
161     content: "";
162     background-color: rgb(110, 110, 110);
163     position: relative;
164     top: -1px;
165     left: -1px;
166 }
167
168 @media (-webkit-min-device-pixel-ratio: 1.5) {
169 .timeline-tree-item-expand-arrow {
170     -webkit-mask-image: url(Images/statusbarButtonGlyphs_2x.png);
171 }
172 } /* media */
173
174 .timeline-tree-item-expand-arrow.parent {
175     -webkit-mask-position: -4px -96px;
176 }
177
178 .timeline-tree-item-expand-arrow.parent.expanded {
179     -webkit-mask-position: -20px -96px;
180 }
181
182 .timeline-expandable-arrow {
183     background-image: url(Images/statusbarButtonGlyphs.png);
184     background-size: 320px 144px;
185     opacity: 0.5;
186     width: 10px;
187     height: 10px;
188     position: relative;
189     top: 3px;
190     left: 2px;
191 }
192
193 @media (-webkit-min-device-pixel-ratio: 1.5) {
194 .timeline-expandable-arrow {
195     background-image: url(Images/statusbarButtonGlyphs_2x.png);
196 }
197 } /* media */
198
199 .timeline-expandable-collapsed .timeline-expandable-arrow {
200     background-position: -4px -96px;
201 }
202
203 .timeline-expandable-expanded .timeline-expandable-arrow {
204     background-position: -20px -96px;
205 }
206
207 .timeline-tree-item .type {
208     padding-left: 5px;
209 }
210
211 .timeline-tree-item .count {
212     font-weight: bold;
213 }
214
215 .timeline-tree-item .timeline-tree-icon {
216     position: relative;
217     top: -1px;
218     left: 1px;
219     width: 7px;
220     height: 7px;
221     border-radius: 1px;
222     border: solid 1px;
223     display: inline-block;
224 }
225
226 .timeline-tree-item.background .timeline-tree-icon {
227     background: none !important;
228 }
229
230 .timeline-tree-item-warning {
231     display: block;
232     background-image: url(Images/statusbarButtonGlyphs.png);
233     background-size: 320px 144px;
234     width: 10px;
235     height: 10px;
236     float: right;
237     background-position: -202px -107px;
238     position: relative;
239     top: 2px;
240 }
241
242 .timeline-tree-item-child-warning {
243     opacity: 0.6;
244 }
245
246 @media (-webkit-min-device-pixel-ratio: 1.5) {
247 .timeline-tree-item-warning {
248     background-image: url(Images/statusbarButtonGlyphs_2x.png);
249 }
250 } /* media */
251
252 .timeline-tree-item .data.dimmed {
253     color: rgba(0, 0, 0, 0.7);
254     pointer-events: none;
255     padding-left: 4px;
256 }
257
258 .timeline-tree-item.selected .data.dimmed {
259     color: rgba(255, 255, 255, 0.8);
260     pointer-events: auto;
261 }
262
263 .timeline-tree-item.selected .timeline-tree-item-expand-arrow {
264     background-color: white;
265 }
266
267 #timeline-overview-events,
268 #timeline-overview-memory,
269 #timeline-overview-power {
270     flex: 0 0 60px;
271     z-index: 160;
272     width: 100%;
273 }
274
275 #timeline-overview-memory {
276     flex-basis: 20px;
277 }
278
279 #timeline-overview-frames {
280     flex-basis: 79px;
281 }
282
283 #timeline-overview-pane {
284     flex: none;
285     position: relative;
286     overflow: hidden;
287 }
288
289 #timeline-overview-container {
290     display: flex;
291     flex-direction: column;
292     flex: none;
293     position: relative;
294     overflow: hidden;
295 }
296
297 #timeline-overview-container canvas {
298     width: 100%;
299     height: 100%;
300 }
301
302 #timeline-overview-frames canvas {
303     z-index: 200;
304     background-color: rgba(255, 255, 255, 0.8);
305 }
306
307 #timeline-graphs {
308     position: absolute;
309     left: 0;
310     right: 0;
311     max-height: 100%;
312     top: 20px;
313 }
314
315 .timeline-graph-side {
316     position: relative;
317     height: 18px;
318     padding: 0 5px;
319     white-space: nowrap;
320     margin-top: 0;
321     border-top: 1px solid transparent;
322     overflow: hidden;
323 }
324
325 .timeline-graph-side.selected {
326     background-color: rgba(56, 121, 217, 0.1) !important;
327 }
328
329 .timeline-graph-bar-area {
330     position: absolute;
331     top: 0;
332     bottom: 0;
333     right: 0;
334     left: 3px;
335     pointer-events: none;
336 }
337
338 .timeline-graph-bar {
339     position: absolute;
340     top: -1px;
341     bottom: 0;
342     margin: auto -2px;
343     height: 10px;
344     min-width: 5px;
345     z-index: 180;
346     pointer-events: visibleFill;
347     border-radius: 1px;
348     border: 1px solid;
349 }
350
351 .timeline-graph-bar.with-children {
352     opacity: 0.25;
353     box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
354 }
355
356 .timeline-graph-bar.cpu {
357     opacity: 0.7;
358 }
359
360 .timeline-graph-side.background .timeline-graph-bar {
361     background: transparent !important;
362     border-width: 2px;
363 }
364
365 .timeline-aggregated-category {
366     display: inline-block;
367     height: 11px;
368     margin-right: 2px;
369     margin-left: 6px;
370     position: relative;
371     top: 2px;
372     width: 10px;
373     border: solid 1px;
374 }
375
376 .popover .timeline-aggregated-category.timeline-loading {
377     margin-left: 0;
378 }
379
380 .popover ul {
381     margin: 0;
382     padding: 0;
383     list-style-type: none;
384 }
385
386 .timeline-garbage-collect-status-bar-item .glyph {
387     -webkit-mask-position: -128px -24px;
388 }
389
390 .timeline-frames-status-bar-item .glyph {
391     -webkit-mask-position: -160px -48px;
392 }
393
394 .timeline-flame-chart-status-bar-item .glyph {
395     -webkit-mask-position: -192px -48px;
396 }
397
398 #resources-container-content {
399     overflow: hidden;
400     min-height: 100%;
401 }
402
403 #resources-graphs {
404     position: absolute;
405     left: 0;
406     right: 0;
407     max-height: 100%;
408     top: 112px;
409 }
410
411 .resources-graph-side {
412     position: relative;
413     height: 36px;
414     padding: 0 5px;
415     white-space: nowrap;
416     margin-top: 1px;
417     border-top: 1px solid transparent;
418     overflow: hidden;
419 }
420
421 .resources-graph-bar-area {
422     position: absolute;
423     top: 0;
424     bottom: 0;
425     right: 8px;
426     left: 9px;
427 }
428
429 .memory-graph-label {
430     position: absolute;
431     left: 5px;
432     font-size: 9px;
433     color: rgb(50%, 50%, 50%);
434     white-space: nowrap;
435 }
436
437 #memory-graphs-canvas-container {
438     overflow: hidden;
439     flex: auto;
440     position: relative;
441 }
442
443 #memory-counters-graph {
444     flex: auto;
445 }
446
447 #memory-graphs-canvas-container .memory-counter-marker {
448     position: absolute;
449     border-radius: 3px;
450     width: 5px;
451     height: 5px;
452     margin-left: -3px;
453     margin-top: -2px;
454 }
455
456 #memory-graphs-container .split-view-contents-first {
457     background-color: rgb(236, 236, 236);
458     overflow-y: hidden;
459 }
460
461 #memory-graphs-container .sidebar-tree-section {
462     flex: 0 0 24px;
463     padding: 5px 0 0 5px;
464 }
465
466 .memory-counter-sidebar-info {
467     flex: 0 0 18px;
468     margin-left: 5px;
469     white-space: nowrap;
470 }
471
472 .memory-counter-sidebar-info .swatch {
473     background-image: none;
474     border: 1px solid rgba(0,0,0,0.3);
475     opacity: 0.5;
476 }
477
478 .memory-counter-sidebar-info.bottom-border-visible {
479     border-bottom: 1px solid #AAA;
480 }
481
482 .memory-counter-sidebar-info .title {
483     margin: 4px;
484 }
485
486 .memory-counter-value {
487     margin: 4px;
488 }
489
490 #counter-values-bar {
491     flex: 0 0 18px;
492     border-bottom: solid 1px lightgray;
493     width: 100%;
494     overflow: hidden;
495     line-height: 18px;
496 }
497
498 .timeline .resources-event-divider {
499     height: 19px;
500     width: 8px;
501     border-left-width: 2px;
502     border-left-style: solid;
503     bottom: auto;
504     pointer-events: auto;
505 }
506
507 .resources-red-divider {
508     border-color: rgba(255, 0, 0, 0.5);
509 }
510
511 .resources-blue-divider {
512     border-color: rgba(0, 0, 255, 0.5);
513 }
514
515 .resources-orange-divider {
516     border-color: rgba(255, 178, 23, 0.5);
517 }
518
519 .resources-green-divider {
520     border-color: rgba(0, 130, 0, 0.5);
521 }
522
523 .resources-divider:last-child {
524     border-color: transparent;
525 }
526
527 .timeline .resources-event-divider.timeline-frame-divider {
528     background-color: rgba(180, 180, 180, 0.8);
529     border-style: none;
530     width: 1px;
531     height: 100%;
532     pointer-events: none;
533 }
534
535 .timeline-frame-container {
536     height: 19px;
537     overflow: hidden;
538     background-color: rgb(220, 220, 220);
539     opacity: 0.8;
540     color: black;
541     text-align: center;
542     z-index: 220;
543     pointer-events: auto;
544 }
545
546 .timeline-frame-strip {
547     position: absolute;
548     height: 19px;
549     padding-top: 3px;
550 }
551
552 .timeline-frame-strip.selected {
553     background-color: rgb(56, 121, 217);
554     color: white;
555 }
556
557 #timeline-grid-header {
558     pointer-events: none;
559     height: 19px;
560 }
561
562 #timeline-graph-records-header {
563     pointer-events: none;
564     height: 19px;
565     padding: 1px 0;
566     justify-content: center;
567 }
568
569 .timeline-utilization-strip {
570     z-index: 250;
571     overflow: hidden;
572     flex: 0 1 12px;
573     position: relative;
574     height: 9px;
575 }
576
577 .timeline-utilization-strip .timeline-graph-bar {
578     border-color: rgb(192, 192, 192);
579     background-color: rgba(0, 0, 0, 0.1);
580     margin: 1.5px auto;
581     height: auto;
582 }
583
584 .timeline-utilization-strip.gpu .timeline-graph-bar {
585     background-color: #00a;
586     border: none;
587     opacity: 0.3;
588     min-width: 0;
589 }
590
591 .timeline-utilization-strip.gpu .timeline-graph-bar.gpu-task-foreign {
592     background-color: #aaa;
593 }
594
595 .timeline-cpu-curtain-left, .timeline-cpu-curtain-right {
596     background-color: rgba(210, 210, 210, 0.5);
597     position: absolute;
598     top: 0;
599     height: 100%;
600     z-index: 300;
601 }
602
603 .timeline-cpu-curtain-left {
604     left: 0;
605 }
606
607 .timeline-cpu-curtain-right {
608     right: 0;
609 }
610
611 .image-preview-container {
612     background: transparent;
613     text-align: left;
614     border-spacing: 0;
615 }
616
617 .image-preview-container img {
618     max-width: 100px;
619     max-height: 100px;
620     background-image: url(Images/checker.png);
621     -webkit-user-select: text;
622     -webkit-user-drag: auto;
623 }
624
625 .image-container {
626     padding: 0;
627 }
628
629 .memory-category-value {
630     float: right;
631 }
632
633 .timeline-filters-header {
634     flex: 0 0 23px;
635     overflow: hidden;
636 }
637
638 .timeline-details {
639     -webkit-user-select: text;
640     vertical-align: top;
641 }
642
643 .timeline-details-title {
644     border-bottom: 1px solid #B8B8B8;
645     font-weight: bold;
646     padding-bottom: 5px;
647     padding-top: 0;
648     white-space: nowrap;
649 }
650
651 .timeline-details-row-title {
652     font-weight: bold;
653     text-align: right;
654     white-space: nowrap;
655 }
656
657 .timeline-details-row-data {
658     white-space: nowrap;
659 }
660
661 .timeline-details-view {
662     color: #333;
663     overflow: hidden;
664 }
665
666 .timeline-details-view-title {
667     padding: 2px 5px;
668     flex: 0 0 19px;
669     border-bottom: 1px solid rgb(202, 202, 202);
670     background-color: rgb(236, 236, 236);
671     white-space: nowrap;
672     display: flex;
673     color: rgb(92, 110, 129);
674     text-shadow: rgba(255, 255, 255, 0.75) 0 1px 0;
675     overflow: hidden;
676     text-overflow: ellipsis;
677 }
678
679 .timeline-details-view-body {
680     padding-top: 2px;
681     flex: auto;
682     overflow: auto;
683     position: relative;
684 }
685
686 .timeline-details-view-block {
687     flex: none;
688 }
689
690 .timeline-details-view-row {
691     padding: 2px 0 2px 6px;
692     white-space: nowrap;
693 }
694
695 .timeline-details-view-row-title {
696     font-weight: bold;
697     color: rgb(48, 57, 66);
698 }
699
700 .timeline-details-view-row-value {
701     padding-left: 10px;
702 }
703
704 .timeline-details-view-row-details {
705     padding-left: 10px;
706 }
707
708 .timeline-details-view-row-details .image-preview-container {
709     padding: 10px;
710 }
711
712 .timeline-details-view-row-details table {
713     padding-left: 10px;
714 }
715
716 .timeline-details-view-row-details table td {
717     text-align: left;
718     vertical-align: top;
719 }
720
721 .timeline-details-view-row-details table td .section {
722     margin-top: -1px;
723 }
724
725 .timeline-details-view-row-details table td .section  > .header .title {
726     white-space: nowrap;
727 }
728
729 .timeline-details-view-row-stack-trace {
730     padding: 4px 0 4px 20px;
731 }
732
733 .timeline-details-view-row-stack-trace div {
734     white-space: nowrap;
735     text-overflow: ellipsis;
736 }
737
738 .timeline-details-view-row-stack-trace .webkit-html-external-link,
739 .timeline-details-view-row-stack-trace .webkit-html-resource-link {
740     color: #333 !important;
741 }
742
743 .timeline-memory-split {
744     flex: auto;
745 }
746
747 .timeline-memory-split > .split-view-contents-first {
748     overflow: hidden;
749 }
750
751 .timeline-aggregated-info {
752     flex: none;
753     position: relative;
754     margin: 8px 2px;
755     width: 200px;
756 }
757
758 .timeline-aggregated-info-legend > div {
759     overflow: hidden;
760     white-space: nowrap;
761     text-overflow: ellipsis;
762 }
763
764 .timeline-aggregated-info .pie-chart {
765     margin-left: 20px;
766     margin-bottom: 10px;
767 }
768
769 .timeline-flamechart {
770     overflow: hidden;
771 }
772
773 .timeline-progress-pane {
774     position: absolute;
775     top: 0px;
776     right: 0px;
777     bottom: 0px;
778     left: 0px;
779     color: #777;
780     background-color: rgba(255, 255, 255, 0.8);
781     font-size: 30px;
782     z-index: 500;
783     display: flex;
784     justify-content: center;
785     align-items: center;
786 }
787
788 .revealable-link {
789     text-decoration: underline;
790     cursor: pointer;
791 }