Upstream version 8.36.161.0
[platform/framework/web/crosswalk.git] / src / chrome / tools / test / reference_build / chrome_linux / resources / inspector / 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: 0 0 81px;
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: rgb(236, 236, 236);
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-sidebar {
55     flex: none;
56     padding-right: 10px;
57     border-right: 1px solid rgb(64%, 64%, 64%);
58 }
59
60 #timeline-overview-grid {
61     background-color: rgb(255, 255, 255);
62 }
63
64 .timeline-frames-view .timeline-records-counter {
65     display: none;
66 }
67
68 .timeline-frames-view #timeline-overview-grid {
69     display: none;
70 }
71
72 #timeline-overview-grid .resources-dividers-label-bar {
73     pointer-events: auto;
74 }
75
76 .timeline-frames-view .overview-grid-window,
77 .timeline-frames-view .overview-grid-dividers-background,
78 .timeline-frames-view .overview-grid-window-resizer {
79     height: 15px;
80 }
81
82 #timeline-overview-grid #resources-graphs {
83     position: absolute;
84     top: 0;
85     left: 0;
86     right: 0;
87     height: 80px;
88 }
89
90 #timeline-container {
91     border-right: 0 none transparent;
92     overflow-y: scroll;
93     overflow-x: hidden;
94 }
95
96 .timeline-records-view {
97     overflow: hidden !important;
98 }
99
100 .timeline-details-split {
101     flex: auto;
102 }
103
104 .timeline-view {
105     flex: auto;
106 }
107
108 .timeline-view-stack {
109     flex: auto;
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/statusbarButtonGlyphs2x.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/statusbarButtonGlyphs2x.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/statusbarButtonGlyphs2x.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     position: absolute;
270     left: 0;
271     right: 0;
272     bottom: 0;
273     top: 20px;
274     z-index: 160;
275 }
276
277 #timeline-overview-memory  {
278     top: 25px;
279 }
280
281 #timeline-overview-pane {
282     flex: auto;
283     position: relative;
284 }
285
286 #timeline-overview-container {
287     flex: auto;
288     position: relative;
289     height: 80px;
290 }
291
292 #timeline-overview-container canvas {
293     width: 100%;
294     height: 100%;
295 }
296
297 #timeline-overview-frames canvas {
298     z-index: 200;
299     background-color: rgba(255, 255, 255, 0.8);
300 }
301
302 #timeline-graphs {
303     position: absolute;
304     left: 0;
305     right: 0;
306     max-height: 100%;
307     top: 20px;
308 }
309
310 .timeline-graph-side {
311     position: relative;
312     height: 18px;
313     padding: 0 5px;
314     white-space: nowrap;
315     margin-top: 0;
316     border-top: 1px solid transparent;
317     overflow: hidden;
318 }
319
320 .timeline-graph-side.selected {
321     background-color: rgba(56, 121, 217, 0.1) !important;
322 }
323
324 .timeline-graph-bar-area {
325     position: absolute;
326     top: 0;
327     bottom: 0;
328     right: 0;
329     left: 3px;
330     pointer-events: none;
331 }
332
333 .timeline-graph-bar {
334     position: absolute;
335     top: -1px;
336     bottom: 0;
337     margin: auto -2px;
338     height: 10px;
339     min-width: 5px;
340     z-index: 180;
341     pointer-events: visibleFill;
342     border-radius: 1px;
343     border: 1px solid;
344 }
345
346 .timeline-graph-bar.with-children {
347     opacity: 0.25;
348     box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
349 }
350
351 .timeline-graph-bar.cpu {
352     opacity: 0.7;
353 }
354
355 .timeline-graph-side.background .timeline-graph-bar {
356     background: transparent !important;
357     border-width: 2px;
358 }
359
360 .timeline-aggregated-category {
361     display: inline-block;
362     height: 11px;
363     margin-right: 2px;
364     margin-left: 6px;
365     position: relative;
366     top: 2px;
367     width: 10px;
368     border: solid 1px;
369 }
370
371 .popover .timeline-aggregated-category.timeline-loading {
372     margin-left: 0;
373 }
374
375 .popover ul {
376     margin: 0;
377     padding: 0;
378     list-style-type: none;
379 }
380
381 .garbage-collect-status-bar-item .glyph {
382     -webkit-mask-position: -128px -24px;
383 }
384
385 .glue-async-status-bar-item .glyph {
386     -webkit-mask-position: -128px -48px;
387 }
388
389 .glue-async-status-bar-item.toggled-on:disabled .glyph {
390     background-color: rgba(0, 0, 0, 0.75);
391 }
392
393 #resources-container-content {
394     overflow: hidden;
395     min-height: 100%;
396 }
397
398 #resources-graphs {
399     position: absolute;
400     left: 0;
401     right: 0;
402     max-height: 100%;
403     top: 112px;
404 }
405
406 .resources-graph-side {
407     position: relative;
408     height: 36px;
409     padding: 0 5px;
410     white-space: nowrap;
411     margin-top: 1px;
412     border-top: 1px solid transparent;
413     overflow: hidden;
414 }
415
416 .resources-graph-bar-area {
417     position: absolute;
418     top: 0;
419     bottom: 0;
420     right: 8px;
421     left: 9px;
422 }
423
424 #timeline-overview-sidebar .sidebar-tree {
425     height: 100%;
426 }
427
428 #timeline-overview-sidebar .sidebar-tree-item {
429     height: auto;
430     flex: auto;
431     margin: 1px 0 1px 0;
432     border-top: none;
433     display: flex;
434     align-items: center;
435     border-left: 6px solid transparent;
436     padding-left: 0;
437     color: #666;
438 }
439
440 #timeline-overview-sidebar .sidebar-tree-item:hover {
441     color: inherit;
442 }
443
444 #timeline-overview-sidebar .sidebar-tree-item.selected {
445     font-weight: bold;
446     color: inherit;
447     text-shadow: none;
448     background: none;
449     border-left: 6px solid #555;
450 }
451
452 #timeline-overview-sidebar .sidebar-tree-item .titles.no-subtitle {
453     top: initial;
454 }
455
456 #timeline-overview-sidebar .icon {
457     height: 24px;
458     margin: 0;
459     -webkit-mask-image: url(Images/statusbarButtonGlyphs.png);
460     -webkit-mask-size: 320px 144px;
461     background-color: black;
462 }
463
464 @media (-webkit-min-device-pixel-ratio: 1.5) {
465 #timeline-overview-sidebar .icon {
466     -webkit-mask-image: url(Images/statusbarButtonGlyphs2x.png);
467 }
468 } /* media */
469
470 .timeline-overview-sidebar-events .icon {
471     -webkit-mask-position: -192px -48px;
472 }
473
474 .timeline-overview-sidebar-frames .icon {
475     -webkit-mask-position: -160px -48px;
476 }
477
478 .timeline-overview-sidebar-memory .icon {
479     -webkit-mask-position: -224px -48px;
480 }
481
482 .memory-graph-label {
483     position: absolute;
484     left: 5px;
485     font-size: 9px;
486     color: rgb(50%, 50%, 50%);
487     white-space: nowrap;
488 }
489
490 .max.memory-graph-label {
491     top: 5px;
492 }
493
494 .min.memory-graph-label {
495     bottom: 5px;
496 }
497
498 #memory-counters-graph {
499     border-right: 1px solid rgb(196, 196, 196);
500 }
501
502 #memory-graphs-canvas-container {
503     overflow: hidden;
504 }
505
506 #memory-graphs-canvas-container.dom-counters .resources-dividers,
507 #memory-counters-graph {
508     top: 17px;
509 }
510
511 #memory-graphs-container .split-view-contents-first {
512     background-color: rgb(236, 236, 236);
513     overflow-y: hidden;
514 }
515
516 #memory-graphs-container .sidebar-tree-section {
517     padding-left: 5px;
518 }
519
520 .memory-counter-sidebar-info {
521     margin: 5px;
522     white-space: nowrap;
523 }
524
525 .memory-counter-sidebar-info .swatch{
526     background-image: none;
527     border: 1px solid rgba(0,0,0,0.3);
528     opacity: 0.5;
529 }
530
531 .memory-counter-sidebar-info.bottom-border-visible {
532     border-bottom: 1px solid #AAA;
533 }
534
535 .memory-counter-sidebar-info .title {
536     margin: 4px;
537 }
538
539 .memory-counter-value {
540     margin: 4px;
541 }
542
543 #counter-values-bar {
544     border-bottom: solid 1px lightgray;
545     width: 100%;
546     height: 17px;
547     overflow: hidden;
548 }
549
550 .timeline .resources-event-divider {
551     height: 19px;
552     width: 8px;
553     border-left-width: 2px;
554     border-left-style: solid;
555     bottom: auto;
556     pointer-events: auto;
557 }
558
559 .resources-red-divider {
560     border-color: rgba(255, 0, 0, 0.5);
561 }
562
563 .resources-blue-divider {
564     border-color: rgba(0, 0, 255, 0.5);
565 }
566
567 .resources-orange-divider {
568     border-color: rgba(255, 178, 23, 0.5);
569 }
570
571 .resources-green-divider {
572     border-color: rgba(0, 130, 0, 0.5);
573 }
574
575 .resources-divider:last-child {
576     border-color: transparent;
577 }
578
579 .timeline .resources-event-divider.timeline-frame-divider {
580     background-color: rgba(180, 180, 180, 0.8);
581     border-style: none;
582     width: 1px;
583     height: 100%;
584     pointer-events: none;
585 }
586
587 .timeline-frame-container {
588     height: 19px;
589     overflow: hidden;
590     background-color: rgb(220, 220, 220);
591     opacity: 0.8;
592     color: black;
593     text-align: center;
594     padding-top: 3px;
595     z-index: 350;
596     pointer-events: auto;
597 }
598
599 .timeline-frame-strip {
600     position: absolute;
601     height: 19px;
602 }
603
604 #timeline-grid-header {
605     pointer-events: none;
606 }
607
608 .timeline-utilization-strips {
609     height: 19px;
610     padding: 1px 0;
611     justify-content: center;
612 }
613
614 .timeline-utilization-strip {
615     z-index: 350;
616     overflow: hidden;
617     flex: 0 1 12px;
618     position: relative;
619 }
620
621 .timeline-utilization-strip .timeline-graph-bar {
622     border-color: rgb(192, 192, 192);
623     background-color: rgba(0, 0, 0, 0.1);
624     margin: 1.5px auto;
625     height: auto;
626 }
627
628 .timeline-utilization-strip.gpu .timeline-graph-bar {
629     background-color: #00a;
630     border: none;
631     opacity: 0.3;
632     min-width: 0;
633 }
634
635 .timeline-utilization-strip.gpu .timeline-graph-bar.gpu-task-foreign {
636     background-color: #aaa;
637 }
638
639 .timeline-cpu-curtain-left, .timeline-cpu-curtain-right {
640     background-color: rgba(210, 210, 210, 0.5);
641     position: absolute;
642     top: 0;
643     height: 100%;
644     z-index: 300;
645 }
646
647 .timeline-cpu-curtain-left {
648     left: 0;
649 }
650
651 .timeline-cpu-curtain-right {
652     right: 0;
653 }
654
655 .image-preview-container {
656     background: transparent;
657     text-align: left;
658     border-spacing: 0;
659 }
660
661 .image-preview-container img {
662     max-width: 100px;
663     max-height: 100px;
664     background-image: url(Images/checker.png);
665     -webkit-user-select: text;
666     -webkit-user-drag: auto;
667 }
668
669 .image-container {
670     padding: 0;
671 }
672
673 .memory-category-value {
674     float: right;
675 }
676
677 .highlighted-timeline-record {
678     -webkit-animation: "timeline_record_highlight" 2s 0s;
679 }
680
681 @-webkit-keyframes timeline_record_highlight {
682     from {background-color: rgba(255, 255, 120, 1); }
683     to { background-color: rgba(255, 255, 120, 0); }
684 }
685
686 .timeline-filters-header {
687     flex: 0 0 23px;
688     overflow: hidden;
689 }
690
691 .timeline-details {
692     -webkit-user-select: text;
693     vertical-align: top;
694 }
695
696 .timeline-details-title {
697     border-bottom: 1px solid #B8B8B8;
698     font-weight: bold;
699     padding-bottom: 5px;
700     padding-top: 0;
701     white-space: nowrap;
702 }
703
704 .timeline-details-row-title {
705     font-weight: bold;
706     text-align: right;
707     white-space: nowrap;
708 }
709
710 .timeline-details-row-data {
711     white-space: nowrap;
712 }
713
714 .timeline-details-view {
715     color: #333;
716 }
717
718 .timeline-details-view-title {
719     padding: 2px 5px;
720     flex: 0 0 19px;
721     border-bottom: 1px solid rgb(202, 202, 202);
722     background-color: rgb(236, 236, 236);
723     white-space: nowrap;
724     display: flex;
725     color: rgb(92, 110, 129);
726     text-shadow: rgba(255, 255, 255, 0.75) 0 1px 0;
727 }
728
729 .timeline-details-view-body {
730     padding-top: 2px;
731     flex: auto;
732     overflow: auto;
733     position: relative;
734 }
735
736 .timeline-details-view-block {
737     flex: none;
738 }
739
740 .timeline-details-view-row {
741     padding: 2px 0 2px 6px;
742     white-space: nowrap;
743 }
744
745 .timeline-details-view-row-title {
746     font-weight: bold;
747     color: rgb(48, 57, 66);
748 }
749
750 .timeline-details-view-row-value {
751     padding-left: 10px;
752 }
753
754 .timeline-details-view-row-details {
755     padding-left: 10px;
756 }
757
758 .timeline-details-view-row-details .image-preview-container {
759     padding: 10px;
760 }
761
762 .timeline-details-view-row-stack-trace {
763     padding: 4px 0 4px 20px;
764 }
765
766 .timeline-details-view-row-stack-trace div {
767     white-space: nowrap;
768     text-overflow: ellipsis;
769 }
770
771 .timeline-details-view-row-stack-trace .webkit-html-external-link,
772 .timeline-details-view-row-stack-trace .webkit-html-resource-link {
773     color: #333 !important;
774 }
775
776 .timeline-memory-split {
777     flex: auto;
778 }
779
780 .timeline-memory-split > .split-view-contents-first {
781     overflow: hidden;
782 }
783
784 .pie-chart {
785     width: 100px;
786     height: 110px;
787 }
788
789 .pie-chart-background {
790     position: absolute;
791     width: 100px;
792     height: 100px;
793     border-radius: 50px;
794     background-color: rgb(248, 248, 248);
795     box-shadow: 0 1px 2px;
796 }
797
798 .pie-chart-foreground {
799     position: absolute;
800     width: 100px;
801     height: 100px;
802     text-align: center;
803     line-height: 100px;
804     z-index: 10;
805 }
806
807 .pie-chart-slice {
808     position: absolute;
809     width: 100px;
810     height: 100px;
811     border-radius: 50px;
812     clip: rect(0px, 100px, 100px, 50px);
813 }
814
815 .pie-chart-slice-inner {
816     position: absolute;
817     width: 100px;
818     height: 100px;
819     border-radius: 50px;
820     clip: rect(0px, 50px, 100px, 0px);
821 }
822
823 .timeline-aggregated-info {
824     flex: none;
825     position: relative;
826     margin: 8px 2px;
827     width: 160px;
828 }
829
830 .timeline-aggregated-info-legend > div {
831     overflow: hidden;
832     white-space: nowrap;
833     text-overflow: ellipsis;
834 }
835
836 .timeline-aggregated-info .pie-chart {
837     margin-left: 20px;
838 }