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 {
38 #timeline-overview-panel .timeline-graph-bar {
45 bottom: auto !important;
48 .timeline.split-view-vertical .split-view-resizer {
52 .timeline-sidebar-background {
57 #timeline-overview-separator {
62 background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(253, 253, 253)), to(rgb(213, 213, 213)));
63 border-top: 1px solid rgb(140, 140, 140);
64 border-bottom: 1px solid rgb(115, 115, 115);
68 #timeline-overview-sidebar {
75 background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(242, 242, 242)), to(rgb(209, 209, 209)));
76 border-right: 1px solid rgb(163, 163, 163);
79 #timeline-overview-grid {
80 background-color: rgb(255, 255, 255);
83 .timeline-frame-overview #timeline-overview-grid {
87 #timeline-overview-grid .resources-dividers-label-bar {
91 .timeline-frame-overview .overview-grid-window {
95 .timeline-frame-overview .overview-grid-dividers-background {
99 #timeline-overview-grid #resources-graphs {
107 #timeline-container {
113 border-right: 0 none transparent;
118 #timeline-container .split-view-sidebar {
122 #timeline-container .webkit-html-external-link,
123 #timeline-container .webkit-html-resource-link {
127 .timeline-misc-status-bar-items {
131 .timeline-misc-status-bar-filters {
132 display: -webkit-flex;
133 -webkit-flex-orientation: row;
136 .timeline-category-statusbar-item {
141 text-overflow: ellipsis;
145 -webkit-flex: auto 0 1;
148 .timeline-category-statusbar-item,
149 .timeline-records-counter {
150 color: rgb(65, 65, 65);
153 .timeline-category-statusbar-item .timeline-category-checkbox {
158 vertical-align: -2px;
161 -webkit-appearance: none;
164 .timeline-category-statusbar-item .timeline-category-checkbox:checked::before {
167 content: url(Images/tickMark.png);
170 .timeline-tree-item {
177 text-overflow: ellipsis;
181 .timeline-expandable {
183 border-left: 1px solid rgb(163, 163, 163);
186 .timeline-expandable-left {
192 border-top: 1px solid rgb(163, 163, 163);
193 border-bottom: 1px solid rgb(163, 163, 163);
196 .timeline-expandable-collapsed {
197 background-image: url(Images/disclosureTriangleSmallRightBlack.png);
198 background-position-x: 1px;
199 background-position-y: 3px;
200 background-repeat: no-repeat;
203 .timeline-expandable-expanded {
204 background-image: url(Images/disclosureTriangleSmallDownBlack.png);
205 background-position-x: 1px;
206 background-position-y: 3px;
207 background-repeat: no-repeat;
210 .timeline-tree-item .type {
214 .timeline-tree-item .count {
218 .timeline-tree-item .timeline-tree-icon {
229 .timeline-tree-item.background .timeline-tree-icon {
230 background: none !important;
233 .timeline-tree-item.even {
234 background-color: rgba(0, 0, 0, 0.05);
237 .timeline-tree-item.warning::after,
238 .timeline-tree-item.child-warning::after {
239 content: url(Images/warningIcon.png);
244 .timeline-tree-item.child-warning::after {
248 .timeline-tree-item .data.dimmed {
249 color: rgba(0, 0, 0, 0.7);
252 #timeline-overview-timelines,
253 #timeline-overview-memory {
262 .timeline-frame-overview #timeline-overview-memory {
266 #timeline-overview-memory > canvas {
282 .timeline-graph-side {
288 border-top: 1px solid transparent;
290 pointer-events: none;
293 .timeline-graph-bar-area {
299 pointer-events: none;
302 .timeline-graph-bar {
310 pointer-events: visibleFill;
315 .timeline-graph-bar.with-children {
317 box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
320 .timeline-graph-bar.cpu {
324 .timeline-graph-side.background .timeline-graph-bar {
325 background: transparent !important;
329 .timeline-graph-side.even {
330 background-color: rgba(0, 0, 0, 0.05);
333 .timeline-aggregated-category {
334 display: inline-block;
344 .popover .timeline-aggregated-category.timeline-loading {
348 .garbage-collect-status-bar-item .glyph {
349 -webkit-mask-position: -128px -24px;
352 .glue-async-status-bar-item .glyph {
353 -webkit-mask-position: -128px -48px;
356 .timeline-frame-overview-status-bar-item.toggled-on .glyph {
357 background-color: rgb(66, 129, 235) !important;
360 .timeline-records-stats, .storage-application-cache-status, .storage-application-cache-connectivity {
361 text-shadow: white 0 1px 0;
364 .timeline-records-stats {
370 .timeline-records-stats-container {
371 display: inline-block;
372 border-left: 1px solid rgb(202, 202, 202);
377 .timeline-frames-stats {
378 pointer-events: auto;
379 text-decoration: underline;
383 #resources-container-content {
396 .resources-graph-side {
402 border-top: 1px solid transparent;
406 .resources-graph-bar-area {
414 #timeline-overview-sidebar .sidebar-tree-item {
419 #timeline-overview-sidebar .sidebar-tree-item .titles.no-subtitle {
423 #timeline-overview-sidebar .icon {
428 -webkit-mask-image: url(Images/statusbarButtonGlyphs.png);
429 -webkit-mask-size: 320px 72px;
430 background-color: black;
433 @media (-webkit-min-device-pixel-ratio: 1.5) {
434 #timeline-overview-sidebar .icon {
435 -webkit-mask-image: url(Images/statusbarButtonGlyphs2x.png);
439 .timeline-overview-sidebar-events .icon {
440 -webkit-mask-position: -192px -48px;
443 .timeline-overview-sidebar-frames .icon {
444 -webkit-mask-position: -160px -48px;
447 .timeline-overview-sidebar-memory .icon {
448 -webkit-mask-position: -224px -48px;
451 .memory-graph-label {
455 color: rgb(50%, 50%, 50%);
459 .max.memory-graph-label {
463 .min.memory-graph-label {
467 #timeline-memory-splitter {
476 #memory-counters-graph {
480 #memory-graphs-container {
481 border-top: 1px solid #AAA;
484 #memory-graphs-canvas-container {
485 border-right: 1px solid #AAA;
488 #memory-graphs-canvas-container.dom-counters .resources-dividers {
492 #memory-graphs-container .split-view-contents {
496 .memory-counter-sidebar-info {
500 .memory-counter-sidebar-info .swatch{
501 background-image: none;
504 .memory-counter-sidebar-info.bottom-border-visible {
505 border-bottom: 1px solid #AAA;
508 .memory-counter-sidebar-info .title {
512 .memory-counter-value {
516 #counter-values-bar {
517 border-bottom: solid 1px lightgray;
521 .timeline-frame-overview-bars {
523 background-color: rgba(255, 255, 255, 0.8);
528 .timeline .resources-event-divider {
531 border-left-width: 2px;
532 border-left-style: solid;
534 pointer-events: auto;
537 .resources-red-divider {
538 border-color: rgba(255, 0, 0, 0.5);
541 .resources-blue-divider {
542 border-color: rgba(0, 0, 255, 0.5);
545 .resources-orange-divider {
546 border-color: rgba(255, 178, 23, 0.5);
549 .resources-divider.last {
550 border-color: transparent;
553 .timeline .resources-event-divider.timeline-frame-divider {
554 background-color: rgba(180, 180, 180, 0.8);
558 pointer-events: none;
561 .sidebar-tree-item .timeline-frame-overview-status-bar-item {
567 .timeline-frame-container {
570 background-color: rgb(220, 220, 220);
576 pointer-events: auto;
579 .timeline-frame-strip {
584 #timeline-grid-header {
590 pointer-events: none;
602 .timeline-cpu-bars .timeline-graph-bar {
603 border-color: rgb(192, 192, 192);
604 background-color: rgba(0, 0, 0, 0.1);
610 .timeline-cpu-curtain-left, .timeline-cpu-curtain-right {
611 background-color: rgba(0, 0, 0, 0.15);
617 .timeline-cpu-curtain-left {
621 .timeline-cpu-curtain-right {
625 .image-preview-container {
626 background: transparent;
631 .image-preview-container img {
634 background-image: url(Images/checker.png);
635 -webkit-user-select: text;
636 -webkit-user-drag: auto;
643 .memory-category-value {
647 .highlighted-timeline-record {
648 -webkit-animation: "timeline_record_highlight" 2s 0s;
651 @-webkit-keyframes timeline_record_highlight {
652 from {background-color: rgba(255, 255, 120, 1); }
653 to { background-color: rgba(255, 255, 120, 0); }