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

Side by Side Diff: chrome/browser/resources/tracing/timeline_view.css

Issue 10161025: Allow about:tracing Counters to be selected (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixen. Created 8 years, 8 months 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 | Annotate | Revision Log
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 .timeline-view { 5 .timeline-view {
6 -webkit-box-flex: 1; 6 -webkit-box-flex: 1;
7 -webkit-box-orient: vertical; 7 -webkit-box-orient: vertical;
8 display: -webkit-box; 8 display: -webkit-box;
9 padding: 0; 9 padding: 0;
10 } 10 }
11 11
12 .timeline-view > .control { 12 .timeline-view > .control {
13 border-bottom: 1px solid #555; 13 border-bottom: 1px solid #555;
14 display: -webkit-box; 14 display: -webkit-box;
15 } 15 }
16 16
17 .timeline-view > .control > .controls {
18 display: -webkit-box;
19 }
20
17 .timeline-view > .control > span { 21 .timeline-view > .control > span {
18 padding-left: 5px; 22 padding-left: 5px;
19 padding-right: 10px; 23 padding-right: 10px;
20 } 24 }
21 25
22 .timeline-view > .control > button { 26 .timeline-view > .control > button {
23 font-size: 75%; 27 font-size: 75%;
24 height: 20px; 28 height: 20px;
25 min-height: 10px; 29 min-height: 10px;
26 } 30 }
27 31
28 .timeline-view > .control > .spacer { 32 .timeline-view > .control > .spacer {
29 -webkit-box-flex: 1; 33 -webkit-box-flex: 1;
30 } 34 }
31 35
32 .timeline-view > .timeline-container { 36 .timeline-view > .timeline-container {
33 -webkit-box-flex: 1; 37 -webkit-box-flex: 1;
34 display: -webkit-box; 38 display: -webkit-box;
35 overflow: auto; 39 overflow: auto;
36 } 40 }
37 41
38 .timeline-view > .timeline-container > * { 42 .timeline-view > .timeline-container > * {
39 -webkit-box-flex: 1; 43 -webkit-box-flex: 1;
40 } 44 }
41 .timeline-view > .summary-container * {
42 -webkit-user-select: text;
43 }
44 45
45 .timeline-view > .summary-container { 46 .timeline-view > .analysis-container {
46 border-top: 1px solid black; 47 border-top: 1px solid black;
47 font-family: monospace;
48 max-height: 250px; 48 max-height: 250px;
49 min-height: 250px; 49 min-height: 250px;
50 overflow: auto; 50 overflow: auto;
51 } 51 }
52 52
53 .timeline-view .selection { 53 .timeline-view .selection {
54 margin: 2px; 54 margin: 2px;
55 } 55 }
56 56
57 .timeline-view .selection ul { 57 .timeline-view .selection ul {
58 margin: 0; 58 margin: 0;
59 } 59 }
60 60
61 .timeline-find-control { 61 .timeline-find-control {
62 -webkit-user-select: none; 62 -webkit-user-select: none;
63 display: -webkit-box;
63 position: relative; 64 position: relative;
64 } 65 }
65 66
66 .timeline-find-control .hit-count-label { 67 .timeline-find-control .hit-count-label {
67 left: 0; 68 left: 0;
68 opacity: 0.25; 69 opacity: 0.25;
69 pointer-events: none; 70 pointer-events: none;
70 position: absolute; 71 position: absolute;
71 text-align: right; 72 text-align: right;
72 top: 2px; 73 top: 2px;
73 width: 170px; 74 width: 170px;
74 z-index: 1; 75 z-index: 1;
75 } 76 }
76 77
77 .timeline-find-control input { 78 .timeline-find-control input {
78 -webkit-user-select: auto; 79 -webkit-user-select: auto;
79 margin-right: 1px; 80 border: 1px solid rgba(0, 0, 0, 0.4);
81 box-sizing: border-box;
82 height: 19px;
83 margin-bottom: 1px;
84 margin-left: 0;
85 margin-right: 0;
86 margin-top: 1px;
87 padding: 0;
80 width: 170px; 88 width: 170px;
81 } 89 }
82 90
83 .timeline-find-control .find-button { 91 .timeline-button.find-previous {
92 border-left: none;
93 margin-left: 0;
94 margin-right: 0;
95 }
96 .timeline-button.find-next {
97 border-bottom-right-radius: 5px;
98 border-left: none;
99 margin-left: 0;
100 }
101
102 .timeline-button {
84 background-color: rgba(255, 255, 255, 0.5); 103 background-color: rgba(255, 255, 255, 0.5);
85 border: 1px solid rgba(0, 0, 0, 0.2); 104 border: 1px solid rgba(0, 0, 0, 0.2);
86 color: rgba(0,0,0,0.2); 105 color: rgba(0,0,0,0.2);
87 font-size: 14px; 106 font-size: 14px;
88 height: 23px; 107 height: 17px;
108 margin: 1px;
89 text-align: center; 109 text-align: center;
90 width: 23px; 110 width: 23px;
91 } 111 }
92 112
93 .timeline-find-control .find-button:hover { 113 .timeline-button:hover {
94 background-color: rgba(255, 255, 255, 1.0); 114 background-color: rgba(255, 255, 255, 1.0);
95 border: 1px solid rgba(0, 0, 0, 0.8); 115 border: 1px solid rgba(0, 0, 0, 0.8);
96 border-radius: 25%;
97 box-shadow: 0 0 .05em rgba(0, 0, 0, 0.4); 116 box-shadow: 0 0 .05em rgba(0, 0, 0, 0.4);
98 color: rgba(0, 0, 0, 1); 117 color: rgba(0, 0, 0, 1);
99 } 118 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/tracing/timeline_track_test.html ('k') | chrome/browser/resources/tracing/timeline_view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698