19a5287feee3fa20ee373d46ec7efc2c5d3d551e
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / devtools / front_end / networkPanel.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 .network-larger-resources-status-bar-item .glyph {
31     -webkit-mask-position: -224px 0;
32 }
33
34 #network-views {
35     background: rgb(203, 203, 203);
36 }
37
38 #network-close-button {
39     position: absolute;
40     top: 8px;
41     left: 5px;
42     z-index: 10;
43     display: none;
44 }
45
46 #network-views.small #network-close-button {
47     top: 4px;
48 }
49
50 .network.panel.viewing-resource #network-close-button  {
51     display: block;
52 }
53
54 #network-container {
55     border-top: 1px solid rgb(179, 179, 179);
56 }
57
58 .network.panel .sidebar {
59     position: absolute;
60     top: 0;
61     bottom: 0;
62     left: 0;
63     right: 0;
64     width: auto;
65     border: none;
66     background: inherit;
67 }
68
69 .network.panel:not(.viewing-resource) .sidebar-resizer-vertical {
70     display: none;
71 }
72
73 .network.panel .data-grid th.sort-descending,
74 .network.panel .data-grid th.sort-ascending {
75     background: white;
76 }
77
78 #network-views .network-item-view .tabbed-pane-header {
79     flex: 0 0 31px;
80     padding-top: 8px;
81     padding-left: 13px;
82     white-space: nowrap;
83 }
84
85 #network-views.small .network-item-view .tabbed-pane-header {
86     flex-basis: 23px;
87     padding-top: 0;
88 }
89
90 .network-item-view {
91     display: none;
92     background: white;
93 }
94
95 .network-item-view.visible {
96     display: -webkit-flex;
97 }
98
99 .network-item-view .tabbed-pane-header {
100     border-bottom: 1px solid rgb(205, 205, 205);
101 }
102
103 .resource-headers-view {
104     display: none;
105     margin: 6px;
106     -webkit-user-select: text;
107     position: absolute;
108     top: 0;
109     left: 0;
110     right: 0;
111     bottom: 0;
112     overflow: auto;
113 }
114
115 .resource-headers-view.visible {
116     display: block;
117 }
118
119 .resource-headers-view .outline-disclosure .parent {
120     -webkit-user-select: none;
121     font-weight: bold;
122 }
123
124 .resource-headers-view .outline-disclosure .parent .section * {
125     font-weight: normal;
126 }
127
128 .resource-headers-view .outline-disclosure .children li {
129     white-space: nowrap;
130 }
131
132 .resource-headers-view .outline-disclosure li.expanded .caution {
133     color: rgb(255, 128, 0);
134 }
135
136 .resource-headers-view .outline-disclosure li:not(.expanded) .caution {
137     display: none;
138 }
139
140 .resource-headers-view .outline-disclosure li.expanded .header-count {
141     display: none;
142 }
143
144 .resource-headers-view .outline-disclosure li .header-toggle {
145     display: none;
146 }
147
148 .resource-headers-view .outline-disclosure li .status-from-cache {
149     color: gray;
150 }
151
152 .resource-headers-view .outline-disclosure li.expanded .header-toggle {
153     display: inline;
154     margin-left: 30px;
155     font-weight: normal;
156     color: rgb(45%, 45%, 45%);
157 }
158
159 .resource-headers-view .outline-disclosure li .header-toggle:hover {
160     color: rgb(20%, 20%, 45%);
161     cursor: pointer;
162 }
163
164 .resource-headers-view .outline-disclosure .header-name {
165     color: rgb(33%, 33%, 33%);
166     display: inline-block;
167     margin-right: 0.5em;
168     font-weight: bold;
169     vertical-align: top;
170     white-space: pre-wrap;
171 }
172
173 .resource-headers-view .outline-disclosure .header-value {
174     display: inline;
175     margin-right: 100px;
176     white-space: pre-wrap;
177     word-break: break-all;
178     margin-top: 1px;
179 }
180
181 .resource-cookies-view {
182     display: none;
183     position: absolute;
184     top: 0;
185     right: 0;
186     left: 0;
187     bottom: 0;
188     overflow: auto;
189     margin: 12px;
190     height: 100%;
191 }
192
193 .resource-cookies-view.visible {
194     display: flex;
195 }
196
197 .resource-cookies-view .data-grid {
198     flex: auto;
199     height: 100%;
200 }
201
202 .resource-cookies-view .data-grid .row-group {
203     font-weight: bold;
204     font-size: 11px;
205 }
206
207 .resource-timing-view {
208     display: none;
209     position: absolute;
210     top: 0;
211     right: 0;
212     left: 0;
213     bottom: 0;
214     margin: 6px;
215     font-weight: bold;
216     font-size: 11px;
217     color: rgb(30%, 30%, 30%);
218 }
219
220 .resource-timing-view table {
221     border-spacing: 21px 0;
222 }
223
224 .resource-timing-view .network-timing-bar {
225     opacity: 1;
226 }
227
228 .resource-timing-view .network-timing-bar.blocking,
229 .resource-timing-view .network-timing-bar.proxy {
230     background-image: linear-gradient(to bottom, rgb(242, 242, 194), rgb(204, 204, 102));
231     border-left: 1px solid rgb(204, 204, 102);
232 }
233
234 .resource-timing-view .network-timing-bar.dns {
235     background-image: linear-gradient(to bottom, rgb(194, 242, 194), rgb(102, 204, 102));
236     border-left: 1px solid rgb(102, 204, 102);
237 }
238
239 .resource-timing-view .network-timing-bar.connecting,
240 .resource-timing-view .network-timing-bar.ssl {
241     background-image: linear-gradient(to bottom, rgb(194, 242, 242), rgb(102, 204, 204));
242     border-left: 1px solid rgb(102, 204, 204);
243 }
244
245 .resource-timing-view .network-timing-bar.sending {
246     background-image: linear-gradient(to bottom, rgb(194, 194, 242), rgb(102, 102, 204));
247     border-left: 1px solid rgb(102, 102, 204);
248 }
249
250 .resource-timing-view .network-timing-bar.waiting {
251     background-image: linear-gradient(to bottom, rgb(242, 194, 242), rgb(204, 102, 204));
252     border-left: 1px solid rgb(204, 102, 204);
253 }
254
255 .resource-timing-view .network-timing-bar.receiving {
256     background-image: linear-gradient(to bottom, rgb(242, 194, 194), rgb(204, 102, 102));
257     border-left: 1px solid rgb(204, 102, 102);
258 }
259
260 .resource-timing-view.visible {
261     display: block;
262 }
263
264 .resource-websocket {
265     -webkit-user-select: text;
266 }
267
268 .resource-websocket,
269 .resource-websocket .data-grid {
270     position: absolute;
271     top: 0;
272     left: 0;
273     right: 0;
274     bottom: 0;
275     border: none;
276 }
277
278 .resource-websocket .data-grid .data {
279     background-image: none;
280 }
281
282 .resource-websocket td {
283     padding-top: 3px;
284     padding-bottom: 3px;
285     border-top: 1px solid rgb(240, 240, 240);
286 }
287
288 .resource-websocket .data-column div {
289     overflow: hidden;
290     text-overflow: ellipsis;
291     white-space: nowrap;
292 }
293
294 .resource-websocket-row-outcoming {
295     background-color: rgb(226, 247, 218);
296 }
297
298 .resource-websocket-row-outcoming:not(.selected) td {
299     border-left-color: rgb(177, 209, 165);
300 }
301
302 .resource-websocket-row-outcoming:not(.selected) td, .resource-websocket-row-outcoming:not(.selected) + tr td {
303     border-top-color: rgb(199, 236, 185);
304 }
305
306 .resource-websocket-row-opcode {
307     background-color: rgb(255, 255, 232);
308     color: rgb(170, 111, 71);
309 }
310
311 .resource-websocket-row-opcode td {
312     border-color: rgb(211, 187, 171);
313 }
314
315 .resource-websocket-row-opcode td, .resource-websocket-row-opcode + tr td {
316     border-top-color: rgb(248, 240, 210);
317 }
318
319 .resource-websocket-row-error {
320     background-color: rgb(255, 237, 237);
321     color: rgb(182, 0, 0);
322 }
323
324 .panel.network .split-view {
325     flex: auto;
326     position: relative;
327 }
328
329 .network-filters-header {
330     flex: 0 0 23px;
331     padding-right: 4px;
332 }