Upstream version 7.36.149.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(.filler):hover td {
42     background-color: rgba(0, 0, 0, 0.1);
43 }
44
45 .profile-view .data-grid td.numeric-column {
46     text-align: right;
47 }
48
49 .profile-view .data-grid div.profile-multiple-values {
50     float: right;
51 }
52
53 .profile-view .data-grid span.percent-column {
54     color: #999;
55     width: 48px;
56     display: inline-block;
57 }
58
59 .profile-view .data-grid tr.selected span {
60     color: inherit;
61 }
62
63 .profiles.panel .status-bar {
64     border-bottom: 1px solid rgb(202, 202, 202);
65     border-top: none;
66 }
67
68 .profiles-status-bar {
69     background-color: rgb(236, 236, 236);
70     flex: 0 0 23px;
71 }
72
73 .profile-launcher-view-tree-item > .icon {
74     width: 4px !important;
75     visibility: hidden;
76 }
77
78 .profiles-sidebar-tree-box {
79     overflow: auto;
80     flex: auto;
81 }
82
83 .profiles-sidebar-tree-box > ol {
84     overflow: auto;
85     flex: auto;
86 }
87
88 .profile-sidebar-tree-item .icon {
89     content: url(Images/profileIcon.png);
90 }
91
92 .profile-sidebar-tree-item.small .icon {
93     content: url(Images/profileSmallIcon.png);
94 }
95
96 .profile-group-sidebar-tree-item .icon {
97     content: url(Images/profileGroupIcon.png);
98 }
99
100 .sidebar-tree-item .title-container > .save-link {
101     text-decoration: underline;
102     margin-left: auto;
103     display: none;
104 }
105
106 .sidebar-tree-item.selected .title-container > .save-link {
107     display: block;
108 }
109
110 .cpu-profile-view {
111     display: none;
112     overflow: hidden;
113     position: absolute;
114     top: 0;
115     left: 0;
116     right: 0;
117     bottom: 0;
118 }
119
120 .cpu-profile-view.visible {
121     display: flex;
122 }
123
124 .cpu-profile-view .data-grid {
125     border: none;
126     flex: auto;
127 }
128
129 .cpu-profile-view .data-grid th.self-column {
130     text-align: center;
131 }
132
133 .cpu-profile-view .data-grid th.total-column {
134     text-align: center;
135 }
136
137 .profile-node-file {
138     float: right;
139     color: gray;
140 }
141
142 .profile-warn-marker {
143     background-image: url(Images/statusbarButtonGlyphs.png);
144     background-size: 320px 144px;
145     background-position: -202px -107px;
146     width: 10px;
147     height: 10px;
148     vertical-align: -1px;
149     margin-right: 2px;
150     display: inline-block;
151 }
152
153 .data-grid tr.selected .profile-node-file {
154     color: rgb(33%, 33%, 33%);
155 }
156
157 .data-grid:focus tr.selected .profile-node-file {
158     color: white;
159 }
160
161 .focus-profile-node-status-bar-item .glyph {
162     -webkit-mask-position: -96px 0;
163 }
164
165 .exclude-profile-node-status-bar-item .glyph {
166     -webkit-mask-position: -128px 0;
167 }
168
169 .reset-profile-status-bar-item .glyph {
170     -webkit-mask-position: 0 0;
171 }
172
173 .profile-launcher-view-content {
174     padding: 0 16px;
175     text-align: left;
176 }
177
178 .control-profiling {
179     -webkit-align-self: flex-start;
180     margin-right: 50px;
181 }
182
183 .profile-launcher-view > .profile-launcher-view-content > .load-profile {
184     margin-left: 20px;
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:not(.status-bar-item) {
208     color: red;
209 }
210
211 body.inactive .profile-launcher-view-content button.running:not(.status-bar-item) {
212     color: rgb(220, 130, 130);
213 }
214
215 .highlighted-row {
216     -webkit-animation: "row_highlight" 2s 0s;
217 }
218
219 @-webkit-keyframes row_highlight {
220     from {background-color: rgba(255, 255, 120, 1); }
221     to { background-color: rgba(255, 255, 120, 0); }
222 }
223
224 .profile-canvas-decoration .warning-icon-small {
225     margin-right: 4px;
226 }
227
228 .profile-canvas-decoration {
229     color: red;
230     margin: -14px 0 13px 22px;
231     padding-left: 14px;
232 }
233
234 .profile-canvas-decoration button {
235     margin: 0 0 0 10px !important;
236 }
237
238 .profile-entry-info {
239     position: absolute;
240     bottom: 20px;
241     left: 20px;
242     height: 120px;
243     background-color: rgba(255, 255, 255, 0.7);
244     pointer-events: none;
245 }