2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org>
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
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.
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.
30 #timeline-overview-panel {
33 border-bottom: 1px solid rgb(140, 140, 140);
36 #timeline-overview-panel .timeline-graph-bar {
40 .timeline-records-title, .timeline-records-list {
41 background-color: rgb(236, 236, 236);
44 .timeline-records-title {
45 padding: 3px 3px 3px 5px;
47 color: rgb(92, 110, 129); text-shadow: rgba(255, 255, 255, 0.75) 0 1px 0;
50 .timeline-records-list {
54 #timeline-overview-grid {
55 background-color: rgb(255, 255, 255);
58 .timeline-overview-frames-mode #timeline-overview-grid {
62 #timeline-overview-grid .resources-dividers-label-bar {
66 .timeline-overview-frames-mode .overview-grid-window,
67 .timeline-overview-frames-mode .overview-grid-dividers-background {
71 #timeline-overview-grid #resources-graphs {
80 border-right: 0 none transparent;
85 .timeline-details-split {
94 .timeline-view-stack {
99 #timeline-container .webkit-html-external-link,
100 #timeline-container .webkit-html-resource-link {
104 .timeline-tree-item {
111 text-overflow: ellipsis;
115 .timeline-tree-item.selected {
116 background-color: rgb(56, 121, 217) !important;
120 .timeline-tree-item.hovered:not(.selected),
121 .timeline-graph-side.hovered {
122 background-color: rgba(0, 0, 0, 0.05) !important;
125 .timeline-expandable {
127 border-left: 1px solid rgb(163, 163, 163);
128 pointer-events: none;
131 .timeline-expandable-left {
137 border-top: 1px solid rgb(163, 163, 163);
138 border-bottom: 1px solid rgb(163, 163, 163);
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;
149 background-color: rgb(110, 110, 110);
155 @media (-webkit-min-device-pixel-ratio: 1.5) {
156 .timeline-tree-item-expand-arrow {
157 -webkit-mask-image: url(Images/statusbarButtonGlyphs_2x.png);
161 .timeline-tree-item-expand-arrow.parent {
162 -webkit-mask-position: -4px -96px;
165 .timeline-tree-item-expand-arrow.parent.expanded {
166 -webkit-mask-position: -20px -96px;
169 .timeline-expandable-arrow {
170 background-image: url(Images/statusbarButtonGlyphs.png);
171 background-size: 320px 144px;
180 @media (-webkit-min-device-pixel-ratio: 1.5) {
181 .timeline-expandable-arrow {
182 background-image: url(Images/statusbarButtonGlyphs_2x.png);
186 .timeline-expandable-collapsed .timeline-expandable-arrow {
187 background-position: -4px -96px;
190 .timeline-expandable-expanded .timeline-expandable-arrow {
191 background-position: -20px -96px;
194 .timeline-tree-item .type {
198 .timeline-tree-item .count {
202 .timeline-tree-item .timeline-tree-icon {
210 display: inline-block;
213 .timeline-tree-item.background .timeline-tree-icon {
214 background: none !important;
217 .timeline-tree-item-warning {
219 background-image: url(Images/statusbarButtonGlyphs.png);
220 background-size: 320px 144px;
224 background-position: -202px -107px;
229 .timeline-tree-item-child-warning {
233 @media (-webkit-min-device-pixel-ratio: 1.5) {
234 .timeline-tree-item-warning {
235 background-image: url(Images/statusbarButtonGlyphs_2x.png);
239 .timeline-tree-item .data.dimmed {
240 color: rgba(0, 0, 0, 0.7);
241 pointer-events: none;
245 .timeline-tree-item.selected .data.dimmed {
246 color: rgba(255, 255, 255, 0.8);
247 pointer-events: auto;
250 .timeline-tree-item.selected .timeline-tree-item-expand-arrow {
251 background-color: white;
254 #timeline-overview-events,
255 #timeline-overview-memory,
256 #timeline-overview-power {
262 #timeline-overview-memory {
266 #timeline-overview-frames {
270 #timeline-overview-pane {
276 #timeline-overview-container {
278 flex-direction: column;
284 #timeline-overview-container canvas {
289 #timeline-overview-frames canvas {
291 background-color: rgba(255, 255, 255, 0.8);
302 .timeline-graph-side {
308 border-top: 1px solid transparent;
312 .timeline-graph-side.selected {
313 background-color: rgba(56, 121, 217, 0.1) !important;
316 .timeline-graph-bar-area {
322 pointer-events: none;
325 .timeline-graph-bar {
333 pointer-events: visibleFill;
338 .timeline-graph-bar.cpu {
342 .timeline-graph-side.background .timeline-graph-bar {
343 background: transparent !important;
347 .timeline-aggregated-category {
348 display: inline-block;
361 list-style-type: none;
364 .timeline-garbage-collect-status-bar-item .glyph {
365 -webkit-mask-position: -128px -24px;
368 .timeline-frames-status-bar-item .glyph {
369 -webkit-mask-position: -160px -48px;
372 .timeline-flame-chart-status-bar-item .glyph {
373 -webkit-mask-position: -192px -48px;
376 #resources-container-content {
389 .memory-graph-label {
393 color: rgb(50%, 50%, 50%);
397 #memory-graphs-canvas-container {
403 #memory-counters-graph {
407 #memory-graphs-canvas-container .memory-counter-marker {
416 #memory-graphs-container .split-view-contents-first {
417 background-color: rgb(236, 236, 236);
421 #memory-graphs-container .sidebar-tree-section {
423 padding: 5px 0 0 5px;
426 .memory-counter-sidebar-info {
432 .memory-counter-sidebar-info .swatch {
433 background-image: none;
434 border: 1px solid rgba(0,0,0,0.3);
438 .memory-counter-sidebar-info .title {
442 .memory-counter-value {
446 #counter-values-bar {
448 border-bottom: solid 1px lightgray;
454 .timeline .resources-event-divider {
457 pointer-events: auto;
461 .timeline .resources-event-divider::before {
465 background-color: rgb(163, 109, 0);
471 .timeline .resources-event-divider:hover::before {
476 .timeline .resources-event-divider.resources-red-divider::before {
477 background-color: rgb(255, 0, 0);
480 .timeline .resources-event-divider.resources-blue-divider::before {
481 background-color: rgb(0, 0, 255);
484 .timeline .resources-event-divider.resources-orange-divider::before {
485 background-color: rgb(255, 178, 23);
488 .timeline .resources-event-divider.resources-green-divider::before {
489 background-color: rgb(0, 130, 0);
492 .resources-divider:last-child {
493 border-color: transparent;
496 .timeline .resources-event-divider.timeline-frame-divider {
497 background-color: rgba(180, 180, 180, 0.8);
501 pointer-events: none;
504 .timeline-frame-container {
507 background-color: rgb(220, 220, 220);
512 pointer-events: auto;
515 .timeline-frame-strip {
521 .timeline-frame-strip.selected {
522 background-color: rgb(56, 121, 217);
526 #timeline-grid-header {
527 pointer-events: none;
531 #timeline-graph-records-header {
532 pointer-events: none;
535 justify-content: center;
538 .timeline-utilization-strip {
546 .timeline-utilization-strip .timeline-graph-bar {
547 border-color: rgb(192, 192, 192);
548 background-color: rgba(0, 0, 0, 0.1);
553 .timeline-utilization-strip.gpu .timeline-graph-bar {
554 background-color: #00a;
560 .timeline-utilization-strip.gpu .timeline-graph-bar.gpu-task-foreign {
561 background-color: #aaa;
564 .timeline-cpu-curtain-left, .timeline-cpu-curtain-right {
565 background-color: rgba(210, 210, 210, 0.5);
572 .timeline-cpu-curtain-left {
576 .timeline-cpu-curtain-right {
580 .image-preview-container {
581 background: transparent;
586 .image-preview-container img {
589 background-image: url(Images/checker.png);
590 -webkit-user-select: text;
591 -webkit-user-drag: auto;
598 .timeline-filters-header {
604 -webkit-user-select: text;
608 .timeline-details-title {
609 border-bottom: 1px solid #B8B8B8;
616 .timeline-details-row-title {
622 .timeline-details-row-data {
626 .timeline-details-view {
631 .timeline-details-view-body {
638 .timeline-details-view-block {
642 .timeline-details-view-row {
643 padding: 2px 0 2px 6px;
647 .timeline-details-view-row-title {
649 color: rgb(48, 57, 66);
652 .timeline-details-view-row-value {
656 .timeline-details-view-row-details {
660 .timeline-details-view-row-details .image-preview-container {
664 .timeline-details-view-row-details table {
668 .timeline-details-view-row-details table td {
673 .timeline-details-view-row-details table td .section {
677 .timeline-details-view-row-details table td .section > .header .title {
681 .timeline-details-view-row-stack-trace {
682 padding: 4px 0 4px 20px;
685 .timeline-details-view-row-stack-trace div {
687 text-overflow: ellipsis;
690 .timeline-details-view-row-stack-trace .webkit-html-external-link,
691 .timeline-details-view-row-stack-trace .webkit-html-resource-link {
692 color: #333 !important;
695 .timeline-aggregated-info {
701 .timeline-range-summary {
706 .timeline-range-summary > div {
710 .timeline-aggregated-info-legend > div {
713 text-overflow: ellipsis;
716 .timeline-aggregated-info .pie-chart {
721 .timeline-flamechart {
725 .timeline-progress-pane {
732 background-color: rgba(255, 255, 255, 0.8);
736 justify-content: center;
740 .timeline-paint-profiler-view .outline-disclosure li {
746 text-overflow: ellipsis;
749 .paint-profiler-image-view {
753 .paint-profiler-image-view img {
754 border: solid 1px black;
755 -webkit-transform-origin: 0px 0px;