blob: 246f92beb469d94c8bd1cc5ec7da7b1fe5c4253f [file] [log] [blame]
Blink Reformat4c46d092018-04-07 15:32:371/*
2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met:
7 *
8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above
11 * copyright notice, this list of conditions and the following disclaimer
12 * in the documentation and/or other materials provided with the
13 * distribution.
14 * * Neither the name of Google Inc. nor the names of its
15 * contributors may be used to endorse or promote products derived from
16 * this software without specific prior written permission.
17 *
18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */
30
31.network-log-grid.data-grid {
Brandon Goddardcba421f2019-10-31 16:09:4932 border: none !important;
Blink Reformat4c46d092018-04-07 15:32:3733 flex: auto;
34}
35
Brandon Goddard88d885a2019-10-31 16:11:0536.network-log-grid.data-grid.no-selection[data-keyboard-focus="true"]:focus {
37 border: none !important;
38}
39
40#network-container {
41 border: 1px solid rgb(204, 204, 204);
42}
43
44#network-container.no-node-selected:focus-within {
45 border: 1px solid var(--accent-color);
46}
47
48.network-log-grid {
49 --network-grid-default-color: rgba(255, 255, 255, 1.0);
50 --network-grid-stripe-color: rgba(245, 245, 245, 1.0);
51 --network-grid-navigation-color: rgba(221, 238, 255, 1.0);
52 --network-grid-hovered-color: rgba(235, 242, 252, 0.7);
53 --network-grid-initiator-path-color: rgba(58, 217, 58, 0.4);
54 --network-grid-initiated-path-color: rgba(217, 58, 58, 0.4);
55 --network-grid-selected-color: rgba(219, 219, 219, .6);
56 --network-grid-focus-selected-color: var(--selection-bg-color);
Jan Schefflere40d15e2019-12-12 08:11:3657 --network-grid-focus-selected-color-has-error: rgb(255, 240, 240, 1.0);
Brandon Goddard88d885a2019-10-31 16:11:0558 --network-grid-from-frame-color: rgba(224, 247, 250, .4);
59 --network-grid-is-product-color: rgba(255, 252, 225, .6);
60}
61
62.-theme-with-dark-background .network-log-grid {
63 --network-grid-default-color: rgba(36, 36, 36, 1.0);
64 --network-grid-stripe-color: rgba(41, 41, 41, 1.0);
65 --network-grid-navigation-color: rgba(221, 238, 255, 1.0);
66 --network-grid-hovered-color: rgba(20, 37, 63, 0.7);
67 --network-grid-initiator-path-color: rgba(58, 217, 58, 0.4);
68 --network-grid-initiated-path-color: rgba(217, 58, 58, 0.4);
69 --network-grid-selected-color: rgba(57, 57, 57, .6);
70 --network-grid-focus-selected-color: var(--selection-bg-color);
Jan Schefflere40d15e2019-12-12 08:11:3671 --network-grid-focus-selected-color-has-error: rgba(217, 58, 58, 0.15);
Brandon Goddard88d885a2019-10-31 16:11:0572 --network-grid-from-frame-color: rgba(224, 247, 250, .4);
73 --network-grid-is-product-color: rgba(255, 252, 225, .6);
74}
75
Blink Reformat4c46d092018-04-07 15:32:3776.network-summary-bar {
77 flex: 0 0 27px;
78 line-height: 27px;
79 padding-left: 5px;
80 background-color: #eee;
81 border-top: 1px solid #ccc;
82 white-space: nowrap;
83 text-overflow: ellipsis;
84 overflow: hidden;
Joey Arharfcb4aef2019-05-20 21:16:4185 user-select: text;
Blink Reformat4c46d092018-04-07 15:32:3786}
87
Joey Arhara86c14e2019-03-12 03:20:5088.panel.network .toolbar.network-summary-bar {
89 border-bottom: 0px;
90}
91
Joel Einbinder7fbe24c2019-01-24 05:19:0192.network-summary-bar span[is=dt-icon-label] {
Blink Reformat4c46d092018-04-07 15:32:3793 margin-right: 6px;
94}
95
96.network-summary-bar > * {
97 flex: none;
98}
99
100.network-log-grid.data-grid table.data {
101 background: transparent;
102}
103
104.network-log-grid.data-grid td {
105 height: 41px;
106 border-left: 1px solid #e1e1e1;
107 vertical-align: middle;
108}
109
110.network-log-grid.data-grid .corner {
111 display: none;
112}
113
114.network-log-grid.data-grid.small td {
115 height: 21px;
116}
117
118.network-waterfall-header, .network-log-grid.data-grid th {
119 border-bottom: 1px solid rgb(205, 205, 205);
120 border-left: 1px solid rgb(205, 205, 205);
121}
122
Brandon Goddard88d885a2019-10-31 16:11:05123.network-log-grid.data-grid table.data th {
124 border-bottom: none;
125}
126
Blink Reformat4c46d092018-04-07 15:32:37127.network-waterfall-header, .network-log-grid.data-grid .header-container {
128 height: 31px;
129 background-color: var(--toolbar-bg-color);
130}
131
132.network-log-grid.data-grid .data-container {
133 top: 31px;
134}
135
136.network-waterfall-header.small, .network-log-grid.data-grid.small .header-container {
137 height: 27px;
138}
139
140.network-log-grid.data-grid.small .data-container {
141 top: 27px;
142}
143
144.network-log-grid.data-grid select {
145 -webkit-appearance: none;
146 border: none;
147 width: 100%;
148 color: inherit;
149}
150
151.network-log-grid.data-grid .name-column {
152 cursor: pointer;
153}
154
155.network-log-grid.data-grid .waterfall-column {
156 padding: 1px 0;
157}
158
159.network-log-grid.data-grid .waterfall-column .sort-order-icon-container {
160 right: 15px;
161 pointer-events: none;
162}
163
164.network-log-grid.data-grid th.sortable:active {
165 background-image: none !important;
166}
167
168.network-cell-subtitle {
169 font-weight: normal;
170 color: gray;
171}
172
173.network-badge {
174 margin-right: 4px;
175}
176
177.network-error-row,
Jan Schefflerbdc07042019-09-16 13:21:23178.network-error-row .network-cell-subtitle ,
179.network-log-grid.data-grid tr.selected.network-error-row,
180.network-log-grid.data-grid tr.selected.network-error-row .network-cell-subtitle,
181.network-log-grid.data-grid tr.selected.network-error-row .network-dim-cell {
Jan Scheffler44fa6ab2019-09-25 11:54:05182 color: rgb(230, 0, 0) !important;
Blink Reformat4c46d092018-04-07 15:32:37183}
184
Jan Scheffler44fa6ab2019-09-25 11:54:05185.network-log-grid.data-grid:focus tr.selected.network-error-row,
186.network-log-grid.data-grid:focus tr.selected.network-error-row .network-cell-subtitle,
187.network-log-grid.data-grid:focus tr.selected.network-error-row .network-dim-cell {
Jan Scheffler44fa6ab2019-09-25 11:54:05188 color: rgb(230, 0, 0) !important;
189}
Blink Reformat4c46d092018-04-07 15:32:37190.initiator-column .devtools-link {
191 color: inherit;
192}
193
194.network-log-grid.data-grid tr.selected,
195.network-log-grid.data-grid tr.selected .network-cell-subtitle,
196.network-log-grid.data-grid tr.selected .network-dim-cell {
Brandon Goddard88d885a2019-10-31 16:11:05197 color: inherit;
Blink Reformat4c46d092018-04-07 15:32:37198}
199
200.network-log-grid.data-grid:focus tr.selected,
201.network-log-grid.data-grid:focus tr.selected .network-cell-subtitle,
202.network-log-grid.data-grid:focus tr.selected .network-dim-cell {
Brandon Goddard88d885a2019-10-31 16:11:05203 color: var(--selection-fg-color);
Blink Reformat4c46d092018-04-07 15:32:37204}
205
206.network-log-grid tr.highlighted-row {
207 -webkit-animation: network-row-highlight-fadeout 2s 0s;
208}
209
210@-webkit-keyframes network-row-highlight-fadeout {
211 from {background-color: rgba(255, 255, 120, 1); }
212 to { background-color: rgba(255, 255, 120, 0); }
213}
214
215.network-header-subtitle {
216 color: gray;
217}
218
219.network-log-grid.data-grid.small .network-cell-subtitle,
220.network-log-grid.data-grid.small .network-header-subtitle {
221 display: none;
222}
223
224/* Resource preview icons */
225
226.network-log-grid.data-grid .icon {
227 content: url(Images/resourcePlainIcon.png);
228}
229
230.network-log-grid.data-grid.small .icon {
231 content: url(Images/resourcePlainIconSmall.png);
232}
233
234.network-log-grid.data-grid .icon.script {
235 content: url(Images/resourceJSIcon.png);
236}
237
238.network-log-grid.data-grid.small .icon.script {
239 content: url(Images/resourceDocumentIconSmall.png);
240}
241
242.network-log-grid.data-grid .icon.document {
243 content: url(Images/resourceDocumentIcon.png);
244}
245
246.network-log-grid.data-grid.small .icon.document {
247 content: url(Images/resourceDocumentIconSmall.png);
248}
249
250.network-log-grid.data-grid .icon.stylesheet {
251 content: url(Images/resourceCSSIcon.png);
252}
253
254.network-log-grid.data-grid.small .icon.stylesheet {
255 content: url(Images/resourceDocumentIconSmall.png);
256}
257
258.network-log-grid.data-grid .icon.media {
259 content: url(Images/resourcePlainIcon.png); /* FIXME: media icon */
260}
261
262.network-log-grid.data-grid.small .icon.media {
263 content: url(Images/resourcePlainIconSmall.png); /* FIXME: media icon */
264}
265.network-log-grid.data-grid .icon.texttrack {
266 content: url(Images/resourcePlainIcon.png); /* FIXME: vtt icon */
267}
268
269.network-log-grid.data-grid.small .icon.texttrack {
270 content: url(Images/resourcePlainIconSmall.png); /* FIXME: vtt icon */
271}
272
273.network-log-grid.data-grid .icon.image {
274 position: relative;
275 background-image: url(Images/resourcePlainIcon.png);
276 background-repeat: no-repeat;
277 content: "";
278}
279
280.network-log-grid.data-grid.small .icon.image {
281 background-image: url(Images/resourcePlainIconSmall.png);
282 content: "";
283}
284
285.network-log-grid.data-grid .icon {
286 float: left;
287 width: 32px;
288 height: 32px;
289 margin-top: 1px;
290 margin-right: 3px;
291}
292
293.network-log-grid.data-grid.small .icon {
294 width: 16px;
295 height: 16px;
296}
297
298.network-log-grid.data-grid .image-network-icon-preview {
299 position: absolute;
300 margin: auto;
301 top: 3px;
302 bottom: 4px;
303 left: 5px;
304 right: 5px;
305 max-width: 18px;
306 max-height: 21px;
307 min-width: 1px;
308 min-height: 1px;
309}
310
311.network-log-grid.data-grid.small .image-network-icon-preview {
312 top: 2px;
313 bottom: 1px;
314 left: 3px;
315 right: 3px;
316 max-width: 8px;
317 max-height: 11px;
318}
319
320.network-dim-cell {
321 color: grey;
322}
323
Blink Reformat4c46d092018-04-07 15:32:37324.network-frame-divider {
325 width: 2px;
326 background-color: #FCCC49;
327 z-index: 10;
328 visibility: hidden;
329}
330
331#network-container:not(.brief-mode) .data-container {
332 overflow: hidden;
333}
334
Blink Reformat4c46d092018-04-07 15:32:37335.network-log-grid.data-grid .resources-dividers {
336 z-index: 0;
337}
338
339.network-log-grid.data-grid .resources-dividers-label-bar {
340 background-color: transparent;
341 border: none;
342 height: 30px;
343 pointer-events: none;
344}
345
346#network-container {
347 overflow: hidden;
348}
349
350.network-status-pane {
351 color: #777;
352 background-color: white;
353 z-index: 500;
354 display: flex;
355 justify-content: center;
356 align-items: center;
357 text-align: center;
358 padding: 0 20px;
359 overflow: auto;
360}
361
362.network-status-pane > .recording-hint {
363 font-size: 14px;
364 text-align: center;
365 line-height: 28px;
366}
367
368.network-waterfall-header {
369 position: absolute;
370 border-left: 0px;
371 width: 100%;
372 display: table;
373 z-index: 200;
374}
375
376.network-waterfall-header:hover {
377 background-color: hsla(0, 0%, 10%, 0.1);
378}
379
380.network-waterfall-header div {
381 display: table-cell;
382 line-height: 14px;
383 margin: auto 0px;
384 vertical-align: middle;
385 text-align: left;
386 font-weight: normal;
387 padding: 0px 4px;
388}
389
390.network-waterfall-header .sort-order-icon-container {
391 position: absolute;
392 top: 1px;
393 right: 0;
394 bottom: 1px;
395 display: flex;
396 align-items: center;
397}
398
399.network-waterfall-header .sort-order-icon {
400 align-items: center;
401 margin-right: 4px;
402 margin-bottom: -2px;
403}
404
405.network-frame-group-icon {
406 display: inline-block;
407 margin: -8px -2px;
408}
409
410.network-frame-group-badge {
411 margin-right: 4px;
412}