blob: 5558f988a85bc1c0615b90e8c1b46cc0f7e8388e [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);
57 --network-grid-from-frame-color: rgba(224, 247, 250, .4);
58 --network-grid-is-product-color: rgba(255, 252, 225, .6);
59}
60
61.-theme-with-dark-background .network-log-grid {
62 --network-grid-default-color: rgba(36, 36, 36, 1.0);
63 --network-grid-stripe-color: rgba(41, 41, 41, 1.0);
64 --network-grid-navigation-color: rgba(221, 238, 255, 1.0);
65 --network-grid-hovered-color: rgba(20, 37, 63, 0.7);
66 --network-grid-initiator-path-color: rgba(58, 217, 58, 0.4);
67 --network-grid-initiated-path-color: rgba(217, 58, 58, 0.4);
68 --network-grid-selected-color: rgba(57, 57, 57, .6);
69 --network-grid-focus-selected-color: var(--selection-bg-color);
70 --network-grid-from-frame-color: rgba(224, 247, 250, .4);
71 --network-grid-is-product-color: rgba(255, 252, 225, .6);
72}
73
Blink Reformat4c46d092018-04-07 15:32:3774.network-summary-bar {
75 flex: 0 0 27px;
76 line-height: 27px;
77 padding-left: 5px;
78 background-color: #eee;
79 border-top: 1px solid #ccc;
80 white-space: nowrap;
81 text-overflow: ellipsis;
82 overflow: hidden;
Joey Arharfcb4aef2019-05-20 21:16:4183 user-select: text;
Blink Reformat4c46d092018-04-07 15:32:3784}
85
Joey Arhara86c14e2019-03-12 03:20:5086.panel.network .toolbar.network-summary-bar {
87 border-bottom: 0px;
88}
89
Joel Einbinder7fbe24c2019-01-24 05:19:0190.network-summary-bar span[is=dt-icon-label] {
Blink Reformat4c46d092018-04-07 15:32:3791 margin-right: 6px;
92}
93
94.network-summary-bar > * {
95 flex: none;
96}
97
98.network-log-grid.data-grid table.data {
99 background: transparent;
100}
101
102.network-log-grid.data-grid td {
103 height: 41px;
104 border-left: 1px solid #e1e1e1;
105 vertical-align: middle;
106}
107
108.network-log-grid.data-grid .corner {
109 display: none;
110}
111
112.network-log-grid.data-grid.small td {
113 height: 21px;
114}
115
116.network-waterfall-header, .network-log-grid.data-grid th {
117 border-bottom: 1px solid rgb(205, 205, 205);
118 border-left: 1px solid rgb(205, 205, 205);
119}
120
Brandon Goddard88d885a2019-10-31 16:11:05121.network-log-grid.data-grid table.data th {
122 border-bottom: none;
123}
124
Blink Reformat4c46d092018-04-07 15:32:37125.network-waterfall-header, .network-log-grid.data-grid .header-container {
126 height: 31px;
127 background-color: var(--toolbar-bg-color);
128}
129
130.network-log-grid.data-grid .data-container {
131 top: 31px;
132}
133
134.network-waterfall-header.small, .network-log-grid.data-grid.small .header-container {
135 height: 27px;
136}
137
138.network-log-grid.data-grid.small .data-container {
139 top: 27px;
140}
141
142.network-log-grid.data-grid select {
143 -webkit-appearance: none;
144 border: none;
145 width: 100%;
146 color: inherit;
147}
148
149.network-log-grid.data-grid .name-column {
150 cursor: pointer;
151}
152
153.network-log-grid.data-grid .waterfall-column {
154 padding: 1px 0;
155}
156
157.network-log-grid.data-grid .waterfall-column .sort-order-icon-container {
158 right: 15px;
159 pointer-events: none;
160}
161
162.network-log-grid.data-grid th.sortable:active {
163 background-image: none !important;
164}
165
166.network-cell-subtitle {
167 font-weight: normal;
168 color: gray;
169}
170
171.network-badge {
172 margin-right: 4px;
173}
174
175.network-error-row,
Jan Schefflerbdc07042019-09-16 13:21:23176.network-error-row .network-cell-subtitle ,
177.network-log-grid.data-grid tr.selected.network-error-row,
178.network-log-grid.data-grid tr.selected.network-error-row .network-cell-subtitle,
179.network-log-grid.data-grid tr.selected.network-error-row .network-dim-cell {
Jan Scheffler44fa6ab2019-09-25 11:54:05180 color: rgb(230, 0, 0) !important;
Blink Reformat4c46d092018-04-07 15:32:37181}
182
Jan Scheffler44fa6ab2019-09-25 11:54:05183.network-log-grid.data-grid:focus tr.selected.network-error-row,
184.network-log-grid.data-grid:focus tr.selected.network-error-row .network-cell-subtitle,
185.network-log-grid.data-grid:focus tr.selected.network-error-row .network-dim-cell {
186 background: hsl(0, 100%, 97%) !important;
187 color: rgb(230, 0, 0) !important;
188}
Blink Reformat4c46d092018-04-07 15:32:37189.initiator-column .devtools-link {
190 color: inherit;
191}
192
193.network-log-grid.data-grid tr.selected,
194.network-log-grid.data-grid tr.selected .network-cell-subtitle,
195.network-log-grid.data-grid tr.selected .network-dim-cell {
Brandon Goddard88d885a2019-10-31 16:11:05196 color: inherit;
Blink Reformat4c46d092018-04-07 15:32:37197}
198
199.network-log-grid.data-grid:focus tr.selected,
200.network-log-grid.data-grid:focus tr.selected .network-cell-subtitle,
201.network-log-grid.data-grid:focus tr.selected .network-dim-cell {
Brandon Goddard88d885a2019-10-31 16:11:05202 color: var(--selection-fg-color);
Blink Reformat4c46d092018-04-07 15:32:37203}
204
205.network-log-grid tr.highlighted-row {
206 -webkit-animation: network-row-highlight-fadeout 2s 0s;
207}
208
209@-webkit-keyframes network-row-highlight-fadeout {
210 from {background-color: rgba(255, 255, 120, 1); }
211 to { background-color: rgba(255, 255, 120, 0); }
212}
213
214.network-header-subtitle {
215 color: gray;
216}
217
218.network-log-grid.data-grid.small .network-cell-subtitle,
219.network-log-grid.data-grid.small .network-header-subtitle {
220 display: none;
221}
222
223/* Resource preview icons */
224
225.network-log-grid.data-grid .icon {
226 content: url(Images/resourcePlainIcon.png);
227}
228
229.network-log-grid.data-grid.small .icon {
230 content: url(Images/resourcePlainIconSmall.png);
231}
232
233.network-log-grid.data-grid .icon.script {
234 content: url(Images/resourceJSIcon.png);
235}
236
237.network-log-grid.data-grid.small .icon.script {
238 content: url(Images/resourceDocumentIconSmall.png);
239}
240
241.network-log-grid.data-grid .icon.document {
242 content: url(Images/resourceDocumentIcon.png);
243}
244
245.network-log-grid.data-grid.small .icon.document {
246 content: url(Images/resourceDocumentIconSmall.png);
247}
248
249.network-log-grid.data-grid .icon.stylesheet {
250 content: url(Images/resourceCSSIcon.png);
251}
252
253.network-log-grid.data-grid.small .icon.stylesheet {
254 content: url(Images/resourceDocumentIconSmall.png);
255}
256
257.network-log-grid.data-grid .icon.media {
258 content: url(Images/resourcePlainIcon.png); /* FIXME: media icon */
259}
260
261.network-log-grid.data-grid.small .icon.media {
262 content: url(Images/resourcePlainIconSmall.png); /* FIXME: media icon */
263}
264.network-log-grid.data-grid .icon.texttrack {
265 content: url(Images/resourcePlainIcon.png); /* FIXME: vtt icon */
266}
267
268.network-log-grid.data-grid.small .icon.texttrack {
269 content: url(Images/resourcePlainIconSmall.png); /* FIXME: vtt icon */
270}
271
272.network-log-grid.data-grid .icon.image {
273 position: relative;
274 background-image: url(Images/resourcePlainIcon.png);
275 background-repeat: no-repeat;
276 content: "";
277}
278
279.network-log-grid.data-grid.small .icon.image {
280 background-image: url(Images/resourcePlainIconSmall.png);
281 content: "";
282}
283
284.network-log-grid.data-grid .icon {
285 float: left;
286 width: 32px;
287 height: 32px;
288 margin-top: 1px;
289 margin-right: 3px;
290}
291
292.network-log-grid.data-grid.small .icon {
293 width: 16px;
294 height: 16px;
295}
296
297.network-log-grid.data-grid .image-network-icon-preview {
298 position: absolute;
299 margin: auto;
300 top: 3px;
301 bottom: 4px;
302 left: 5px;
303 right: 5px;
304 max-width: 18px;
305 max-height: 21px;
306 min-width: 1px;
307 min-height: 1px;
308}
309
310.network-log-grid.data-grid.small .image-network-icon-preview {
311 top: 2px;
312 bottom: 1px;
313 left: 3px;
314 right: 3px;
315 max-width: 8px;
316 max-height: 11px;
317}
318
319.network-dim-cell {
320 color: grey;
321}
322
Blink Reformat4c46d092018-04-07 15:32:37323.network-frame-divider {
324 width: 2px;
325 background-color: #FCCC49;
326 z-index: 10;
327 visibility: hidden;
328}
329
330#network-container:not(.brief-mode) .data-container {
331 overflow: hidden;
332}
333
Blink Reformat4c46d092018-04-07 15:32:37334.network-log-grid.data-grid .resources-dividers {
335 z-index: 0;
336}
337
338.network-log-grid.data-grid .resources-dividers-label-bar {
339 background-color: transparent;
340 border: none;
341 height: 30px;
342 pointer-events: none;
343}
344
345#network-container {
346 overflow: hidden;
347}
348
349.network-status-pane {
350 color: #777;
351 background-color: white;
352 z-index: 500;
353 display: flex;
354 justify-content: center;
355 align-items: center;
356 text-align: center;
357 padding: 0 20px;
358 overflow: auto;
359}
360
361.network-status-pane > .recording-hint {
362 font-size: 14px;
363 text-align: center;
364 line-height: 28px;
365}
366
367.network-waterfall-header {
368 position: absolute;
369 border-left: 0px;
370 width: 100%;
371 display: table;
372 z-index: 200;
373}
374
375.network-waterfall-header:hover {
376 background-color: hsla(0, 0%, 10%, 0.1);
377}
378
379.network-waterfall-header div {
380 display: table-cell;
381 line-height: 14px;
382 margin: auto 0px;
383 vertical-align: middle;
384 text-align: left;
385 font-weight: normal;
386 padding: 0px 4px;
387}
388
389.network-waterfall-header .sort-order-icon-container {
390 position: absolute;
391 top: 1px;
392 right: 0;
393 bottom: 1px;
394 display: flex;
395 align-items: center;
396}
397
398.network-waterfall-header .sort-order-icon {
399 align-items: center;
400 margin-right: 4px;
401 margin-bottom: -2px;
402}
403
404.network-frame-group-icon {
405 display: inline-block;
406 margin: -8px -2px;
407}
408
409.network-frame-group-badge {
410 margin-right: 4px;
411}