Upstream version 11.39.266.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / devtools / front_end / profilesPanel.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 /* Profiler Style */
31
32 #profile-views {
33     flex: auto;
34     position: relative;
35 }
36
37 .profile-view .data-grid table.data {
38     background: white;
39 }
40
41 .profile-view .data-grid tr:not(.selected) .highlight {
42     background-color: rgb(255, 230, 179);
43 }
44
45 .profile-view .data-grid tr:hover td:not(.bottom-filler-td) {
46     background-color: rgba(0, 0, 0, 0.1);
47 }
48
49 .profile-view .data-grid td.numeric-column {
50     text-align: right;
51 }
52
53 .profile-view .data-grid div.profile-multiple-values {
54     float: right;
55 }
56
57 .profile-view .data-grid span.percent-column {
58     color: #999;
59     width: 48px;
60     display: inline-block;
61 }
62
63 .profile-view .data-grid tr.selected span {
64     color: inherit;
65 }
66
67 .profiles.panel .status-bar {
68     border-bottom: 1px solid rgb(202, 202, 202);
69     border-top: none;
70 }
71
72 .profiles-status-bar {
73     background-color: rgb(236, 236, 236);
74     flex: 0 0 23px;
75 }
76
77 .profile-launcher-view-tree-item > .icon {
78     width: 4px !important;
79     visibility: hidden;
80 }
81
82 .profiles-sidebar-tree-box {
83     overflow: auto;
84     flex: auto;
85 }
86
87 .profiles-sidebar-tree-box > ol {
88     overflow: auto;
89     flex: auto;
90 }
91
92 .profile-sidebar-tree-item .icon {
93     content: url(Images/profileIcon.png);
94 }
95
96 .profile-sidebar-tree-item.small .icon {
97     content: url(Images/profileSmallIcon.png);
98 }
99
100 .profile-group-sidebar-tree-item .icon {
101     content: url(Images/profileGroupIcon.png);
102 }
103
104 .sidebar-tree-item .title-container > .save-link {
105     text-decoration: underline;
106     margin-left: auto;
107     display: none;
108 }
109
110 .sidebar-tree-item.selected .title-container > .save-link {
111     display: block;
112 }
113
114 .cpu-profile-view {
115     display: none;
116     overflow: hidden;
117     position: absolute;
118     top: 0;
119     left: 0;
120     right: 0;
121     bottom: 0;
122 }
123
124 .cpu-profile-view.visible {
125     display: flex;
126 }
127
128 .cpu-profile-view .data-grid {
129     border: none;
130     flex: auto;
131 }
132
133 .cpu-profile-view .data-grid th.self-column {
134     text-align: center;
135 }
136
137 .cpu-profile-view .data-grid th.total-column {
138     text-align: center;
139 }
140
141 .profile-node-file {
142     float: right;
143     color: gray;
144 }
145
146 .profile-warn-marker {
147     background-image: url(Images/statusbarButtonGlyphs.png);
148     background-size: 320px 144px;
149     background-position: -202px -107px;
150     width: 10px;
151     height: 10px;
152     vertical-align: -1px;
153     margin-right: 2px;
154     display: inline-block;
155 }
156
157 .data-grid tr.selected .profile-node-file {
158     color: rgb(33%, 33%, 33%);
159 }
160
161 .data-grid:focus tr.selected .profile-node-file {
162     color: white;
163 }
164
165 .focus-profile-node-status-bar-item .glyph {
166     -webkit-mask-position: -96px 0;
167 }
168
169 .exclude-profile-node-status-bar-item .glyph {
170     -webkit-mask-position: -128px 0;
171 }
172
173 .reset-profile-status-bar-item .glyph {
174     -webkit-mask-position: 0 0;
175 }
176
177 .profile-launcher-view-content {
178     padding: 0 16px;
179     text-align: left;
180 }
181
182 .control-profiling {
183     -webkit-align-self: flex-start;
184     margin-right: 50px;
185 }
186
187 .profile-launcher-view-content h1 {
188     padding: 15px 0 10px;
189 }
190
191 .panel-enabler-view.profile-launcher-view form {
192     padding: 0;
193     font-size: 13px;
194     width: 100%;
195 }
196
197 .panel-enabler-view.profile-launcher-view label {
198     margin: 0;
199 }
200
201 .profile-launcher-view-content p {
202     color: grey;
203     margin-top: 1px;
204     margin-left: 22px;
205 }
206
207 .profile-launcher-view-content button.running {
208     color: hsl(0, 100%, 58%);
209 }
210
211 .profile-launcher-view-content button.running:hover {
212     color: hsl(0, 100%, 42%);
213 }
214
215 body.inactive .profile-launcher-view-content button.running:not(.status-bar-item) {
216     color: rgb(220, 130, 130);
217 }
218
219 .highlighted-row {
220     -webkit-animation: "row_highlight" 2s 0s;
221 }
222
223 @-webkit-keyframes row_highlight {
224     from {background-color: rgba(255, 255, 120, 1); }
225     to { background-color: rgba(255, 255, 120, 0); }
226 }
227
228 .profile-canvas-decoration .warning-icon-small {
229     margin-right: 4px;
230 }
231
232 .profile-canvas-decoration {
233     color: red;
234     margin: -14px 0 13px 22px;
235     padding-left: 14px;
236 }
237
238 .profile-canvas-decoration button {
239     margin: 0 0 0 10px !important;
240 }
241
242 .profile-entry-info {
243     position: absolute;
244     bottom: 20px;
245     left: 20px;
246     height: 120px;
247     background-color: rgba(255, 255, 255, 0.7);
248     pointer-events: none;
249 }
250
251 .profiles.panel select.chrome-select {
252     font-size: 12px;
253     width: 150px;
254     margin-left: 10px;
255     margin-right: 10px;
256 }
257
258 .text-button.load-profile {
259     margin-left: 20px;
260 }
261
262 .text-button.load-profile.multi-target {
263     display: block;
264     margin-top: 14px;
265     margin-left: 0px;
266 }