Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Side by Side Diff: Source/devtools/front_end/timelinePanel.css

Issue 104523002: [DevTools] Add power profiler and power overview in timeline panel. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org>
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 15 matching lines...) Expand all
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 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. 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */ 28 */
29 29
30 #timeline-overview-panel { 30 #timeline-overview-panel {
31 flex: 0 0 81px; 31 flex: 0 0 81px;
32 position: relative; 32 position: relative;
33 border-bottom: 1px solid rgb(140, 140, 140); 33 border-bottom: 1px solid rgb(140, 140, 140);
34 } 34 }
35 35
36 #timeline-overview-panel.with-power {
37 flex: 0 0 106px;
38 position: relative;
39 border-bottom: 1px solid rgb(140, 140, 140);
40 }
41
36 #timeline-overview-panel .timeline-graph-bar { 42 #timeline-overview-panel .timeline-graph-bar {
37 pointer-events: none; 43 pointer-events: none;
38 } 44 }
39 45
40 .timeline-records-title, .timeline-records-list { 46 .timeline-records-title, .timeline-records-list {
41 background-color: rgb(236, 236, 236); 47 background-color: rgb(236, 236, 236);
42 } 48 }
43 49
44 .timeline-records-title { 50 .timeline-records-title {
45 padding: 3px 3px 3px 5px; 51 padding: 3px 3px 3px 5px;
(...skipping 30 matching lines...) Expand all
76 } 82 }
77 83
78 #timeline-overview-grid #resources-graphs { 84 #timeline-overview-grid #resources-graphs {
79 position: absolute; 85 position: absolute;
80 top: 0; 86 top: 0;
81 left: 0; 87 left: 0;
82 right: 0; 88 right: 0;
83 height: 80px; 89 height: 80px;
84 } 90 }
85 91
92 #timeline-overview-grid.with-power #resources-graphs {
93 position: absolute;
94 top: 0;
95 left: 0;
96 right: 0;
97 height: 105px;
98 }
99
86 #timeline-container { 100 #timeline-container {
87 border-right: 0 none transparent; 101 border-right: 0 none transparent;
88 overflow-y: scroll; 102 overflow-y: scroll;
89 overflow-x: hidden; 103 overflow-x: hidden;
90 } 104 }
91 105
92 .timeline-details-split { 106 .timeline-details-split {
93 flex: auto; 107 flex: auto;
94 } 108 }
95 109
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 .timeline-tree-item.selected .data.dimmed { 256 .timeline-tree-item.selected .data.dimmed {
243 color: rgba(255, 255, 255, 0.8); 257 color: rgba(255, 255, 255, 0.8);
244 pointer-events: auto; 258 pointer-events: auto;
245 } 259 }
246 260
247 .timeline-tree-item.selected .timeline-tree-item-expand-arrow { 261 .timeline-tree-item.selected .timeline-tree-item-expand-arrow {
248 background-color: white; 262 background-color: white;
249 } 263 }
250 264
251 #timeline-overview-events, 265 #timeline-overview-events,
252 #timeline-overview-memory { 266 #timeline-overview-memory,
267 #timeline-overview-power {
253 position: absolute; 268 position: absolute;
254 left: 0; 269 left: 0;
255 right: 0; 270 right: 0;
256 bottom: 0; 271 bottom: 0;
257 top: 20px; 272 top: 20px;
258 z-index: 160; 273 z-index: 160;
259 } 274 }
260 275
261 #timeline-overview-memory { 276 #timeline-overview-memory,
277 #timeline-overview-power {
262 top: 25px; 278 top: 25px;
263 } 279 }
264 280
265 #timeline-overview-container { 281 #timeline-overview-container {
266 flex: auto; 282 flex: auto;
267 position: relative; 283 position: relative;
268 } 284 }
269 285
270 #timeline-overview-container canvas { 286 #timeline-overview-container canvas {
271 width: 100%; 287 width: 100%;
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 } 466 }
451 467
452 .timeline-overview-sidebar-frames .icon { 468 .timeline-overview-sidebar-frames .icon {
453 -webkit-mask-position: -160px -48px; 469 -webkit-mask-position: -160px -48px;
454 } 470 }
455 471
456 .timeline-overview-sidebar-memory .icon { 472 .timeline-overview-sidebar-memory .icon {
457 -webkit-mask-position: -224px -48px; 473 -webkit-mask-position: -224px -48px;
458 } 474 }
459 475
476 .timeline-overview-sidebar-power .icon {
477 -webkit-mask-position: -291px -95px;
pfeldman 2014/01/09 11:38:52 Note that this image has an svg source in Images/s
Pan 2014/02/24 09:49:47 done, thanks!
478 }
479
460 .memory-graph-label { 480 .memory-graph-label {
461 position: absolute; 481 position: absolute;
462 left: 5px; 482 left: 5px;
463 font-size: 9px; 483 font-size: 9px;
464 color: rgb(50%, 50%, 50%); 484 color: rgb(50%, 50%, 50%);
465 white-space: nowrap; 485 white-space: nowrap;
466 } 486 }
467 487
468 .max.memory-graph-label { 488 .max.memory-graph-label {
469 top: 5px; 489 top: 5px;
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 819
800 .timeline-aggregated-info-legend > div { 820 .timeline-aggregated-info-legend > div {
801 overflow: hidden; 821 overflow: hidden;
802 white-space: nowrap; 822 white-space: nowrap;
803 text-overflow: ellipsis; 823 text-overflow: ellipsis;
804 } 824 }
805 825
806 .timeline-aggregated-info .pie-chart { 826 .timeline-aggregated-info .pie-chart {
807 margin-left: 20px; 827 margin-left: 20px;
808 } 828 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698