blob: 1101bed18386aa9954619d36ee535183381c03dc [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
Jan Scheffler06461422019-12-16 12:54:51224.network-log-grid.data-grid.small tr.selected .network-cell-subtitle-show-inline-when-selected {
225 display: inline;
226 margin-left: 4px;
227}
228
Blink Reformat4c46d092018-04-07 15:32:37229/* Resource preview icons */
230
231.network-log-grid.data-grid .icon {
232 content: url(Images/resourcePlainIcon.png);
233}
234
235.network-log-grid.data-grid.small .icon {
236 content: url(Images/resourcePlainIconSmall.png);
237}
238
239.network-log-grid.data-grid .icon.script {
240 content: url(Images/resourceJSIcon.png);
241}
242
243.network-log-grid.data-grid.small .icon.script {
244 content: url(Images/resourceDocumentIconSmall.png);
245}
246
247.network-log-grid.data-grid .icon.document {
248 content: url(Images/resourceDocumentIcon.png);
249}
250
251.network-log-grid.data-grid.small .icon.document {
252 content: url(Images/resourceDocumentIconSmall.png);
253}
254
255.network-log-grid.data-grid .icon.stylesheet {
256 content: url(Images/resourceCSSIcon.png);
257}
258
259.network-log-grid.data-grid.small .icon.stylesheet {
260 content: url(Images/resourceDocumentIconSmall.png);
261}
262
263.network-log-grid.data-grid .icon.media {
264 content: url(Images/resourcePlainIcon.png); /* FIXME: media icon */
265}
266
267.network-log-grid.data-grid.small .icon.media {
268 content: url(Images/resourcePlainIconSmall.png); /* FIXME: media icon */
269}
270.network-log-grid.data-grid .icon.texttrack {
271 content: url(Images/resourcePlainIcon.png); /* FIXME: vtt icon */
272}
273
274.network-log-grid.data-grid.small .icon.texttrack {
275 content: url(Images/resourcePlainIconSmall.png); /* FIXME: vtt icon */
276}
277
278.network-log-grid.data-grid .icon.image {
279 position: relative;
280 background-image: url(Images/resourcePlainIcon.png);
281 background-repeat: no-repeat;
282 content: "";
283}
284
285.network-log-grid.data-grid.small .icon.image {
286 background-image: url(Images/resourcePlainIconSmall.png);
287 content: "";
288}
289
290.network-log-grid.data-grid .icon {
291 float: left;
292 width: 32px;
293 height: 32px;
294 margin-top: 1px;
295 margin-right: 3px;
296}
297
298.network-log-grid.data-grid.small .icon {
299 width: 16px;
300 height: 16px;
301}
302
303.network-log-grid.data-grid .image-network-icon-preview {
304 position: absolute;
305 margin: auto;
306 top: 3px;
307 bottom: 4px;
308 left: 5px;
309 right: 5px;
310 max-width: 18px;
311 max-height: 21px;
312 min-width: 1px;
313 min-height: 1px;
314}
315
316.network-log-grid.data-grid.small .image-network-icon-preview {
317 top: 2px;
318 bottom: 1px;
319 left: 3px;
320 right: 3px;
321 max-width: 8px;
322 max-height: 11px;
323}
324
325.network-dim-cell {
326 color: grey;
327}
328
Blink Reformat4c46d092018-04-07 15:32:37329.network-frame-divider {
330 width: 2px;
331 background-color: #FCCC49;
332 z-index: 10;
333 visibility: hidden;
334}
335
336#network-container:not(.brief-mode) .data-container {
337 overflow: hidden;
338}
339
Blink Reformat4c46d092018-04-07 15:32:37340.network-log-grid.data-grid .resources-dividers {
341 z-index: 0;
342}
343
344.network-log-grid.data-grid .resources-dividers-label-bar {
345 background-color: transparent;
346 border: none;
347 height: 30px;
348 pointer-events: none;
349}
350
351#network-container {
352 overflow: hidden;
353}
354
355.network-status-pane {
356 color: #777;
357 background-color: white;
358 z-index: 500;
359 display: flex;
360 justify-content: center;
361 align-items: center;
362 text-align: center;
363 padding: 0 20px;
364 overflow: auto;
365}
366
367.network-status-pane > .recording-hint {
368 font-size: 14px;
369 text-align: center;
370 line-height: 28px;
371}
372
373.network-waterfall-header {
374 position: absolute;
375 border-left: 0px;
376 width: 100%;
377 display: table;
378 z-index: 200;
379}
380
381.network-waterfall-header:hover {
382 background-color: hsla(0, 0%, 10%, 0.1);
383}
384
385.network-waterfall-header div {
386 display: table-cell;
387 line-height: 14px;
388 margin: auto 0px;
389 vertical-align: middle;
390 text-align: left;
391 font-weight: normal;
392 padding: 0px 4px;
393}
394
395.network-waterfall-header .sort-order-icon-container {
396 position: absolute;
397 top: 1px;
398 right: 0;
399 bottom: 1px;
400 display: flex;
401 align-items: center;
402}
403
404.network-waterfall-header .sort-order-icon {
405 align-items: center;
406 margin-right: 4px;
407 margin-bottom: -2px;
408}
409
410.network-frame-group-icon {
411 display: inline-block;
412 margin: -8px -2px;
413}
414
415.network-frame-group-badge {
416 margin-right: 4px;
417}
Kham Udome2250012020-02-17 20:40:25418
419@media (forced-colors: active) {
420 .network-status-pane > .recording-hint {
421 color: CanvasText;
422 }
423 .network-log-grid.data-grid table.data tr.revealed.selected,
424 .network-log-grid.data-grid:focus table.data tr.revealed.selected,
425 .network-log-grid.data-grid:focus tr.selected .network-dim-cell,
426 .network-log-grid.data-grid tr.selected .network-dim-cell,
427 .network-log-grid.data-grid:focus tr.selected .initiator-column .devtools-link,
428 .network-log-grid.data-grid tr.selected .initiator-column .devtools-link,
429 .network-waterfall-header:hover * {
430 color: HighlightText;
431 }
432 .network-log-grid {
433 --network-grid-default-color: Canvas;
434 --network-grid-stripe-color: Canvas;
435 --network-grid-hovered-color: Highlight;
436 --network-grid-selected-color: ButtonText;
437 --network-grid-focus-selected-color: Highlight;
438 }
439 #network-container.no-node-selected:focus-within,
440 .network-status-pane {
441 forced-color-adjust: none;
442 border-color: Highlight;
443 background-color: Canvas !important;
444 }
445 .network-waterfall-header.small,
446 .network-log-grid.data-grid.small .header-container
447 .network-waterfall-header,
448 .network-log-grid.data-grid .header-container {
449 background-color: Canvas;
450 }
451 .network-waterfall-header:hover {
452 forced-color-adjust: none;
453 background-color: Highlight;
454 }
455 .network-waterfall-header:hover .sort-order-icon-container [is=ui-icon].icon-mask {
456 background-color: HighlightText;
457 }
458}