blob: 7609193895d88f38c8b3fde1791345e7aaf6feaa [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
36.network-summary-bar {
37 flex: 0 0 27px;
38 line-height: 27px;
39 padding-left: 5px;
40 background-color: #eee;
41 border-top: 1px solid #ccc;
42 white-space: nowrap;
43 text-overflow: ellipsis;
44 overflow: hidden;
Joey Arharfcb4aef2019-05-20 21:16:4145 user-select: text;
Blink Reformat4c46d092018-04-07 15:32:3746}
47
Joey Arhara86c14e2019-03-12 03:20:5048.panel.network .toolbar.network-summary-bar {
49 border-bottom: 0px;
50}
51
Joel Einbinder7fbe24c2019-01-24 05:19:0152.network-summary-bar span[is=dt-icon-label] {
Blink Reformat4c46d092018-04-07 15:32:3753 margin-right: 6px;
54}
55
56.network-summary-bar > * {
57 flex: none;
58}
59
60.network-log-grid.data-grid table.data {
61 background: transparent;
62}
63
64.network-log-grid.data-grid td {
65 height: 41px;
66 border-left: 1px solid #e1e1e1;
67 vertical-align: middle;
68}
69
70.network-log-grid.data-grid .corner {
71 display: none;
72}
73
74.network-log-grid.data-grid.small td {
75 height: 21px;
76}
77
78.network-waterfall-header, .network-log-grid.data-grid th {
79 border-bottom: 1px solid rgb(205, 205, 205);
80 border-left: 1px solid rgb(205, 205, 205);
81}
82
83.network-waterfall-header, .network-log-grid.data-grid .header-container {
84 height: 31px;
85 background-color: var(--toolbar-bg-color);
86}
87
88.network-log-grid.data-grid .data-container {
89 top: 31px;
90}
91
92.network-waterfall-header.small, .network-log-grid.data-grid.small .header-container {
93 height: 27px;
94}
95
96.network-log-grid.data-grid.small .data-container {
97 top: 27px;
98}
99
100.network-log-grid.data-grid select {
101 -webkit-appearance: none;
102 border: none;
103 width: 100%;
104 color: inherit;
105}
106
107.network-log-grid.data-grid .name-column {
108 cursor: pointer;
109}
110
111.network-log-grid.data-grid .waterfall-column {
112 padding: 1px 0;
113}
114
115.network-log-grid.data-grid .waterfall-column .sort-order-icon-container {
116 right: 15px;
117 pointer-events: none;
118}
119
120.network-log-grid.data-grid th.sortable:active {
121 background-image: none !important;
122}
123
124.network-cell-subtitle {
125 font-weight: normal;
126 color: gray;
127}
128
129.network-badge {
130 margin-right: 4px;
131}
132
133.network-error-row,
Jan Schefflerbdc07042019-09-16 13:21:23134.network-error-row .network-cell-subtitle ,
135.network-log-grid.data-grid tr.selected.network-error-row,
136.network-log-grid.data-grid tr.selected.network-error-row .network-cell-subtitle,
137.network-log-grid.data-grid tr.selected.network-error-row .network-dim-cell {
Jan Scheffler44fa6ab2019-09-25 11:54:05138 color: rgb(230, 0, 0) !important;
Blink Reformat4c46d092018-04-07 15:32:37139}
140
Jan Scheffler44fa6ab2019-09-25 11:54:05141.network-log-grid.data-grid:focus tr.selected.network-error-row,
142.network-log-grid.data-grid:focus tr.selected.network-error-row .network-cell-subtitle,
143.network-log-grid.data-grid:focus tr.selected.network-error-row .network-dim-cell {
144 background: hsl(0, 100%, 97%) !important;
145 color: rgb(230, 0, 0) !important;
146}
Blink Reformat4c46d092018-04-07 15:32:37147.initiator-column .devtools-link {
148 color: inherit;
149}
150
151.network-log-grid.data-grid tr.selected,
152.network-log-grid.data-grid tr.selected .network-cell-subtitle,
153.network-log-grid.data-grid tr.selected .network-dim-cell {
Brandon Goddardf5c15152019-11-01 20:21:09154 color: inherit !important;
Blink Reformat4c46d092018-04-07 15:32:37155}
156
157.network-log-grid.data-grid:focus tr.selected,
158.network-log-grid.data-grid:focus tr.selected .network-cell-subtitle,
159.network-log-grid.data-grid:focus tr.selected .network-dim-cell {
Brandon Goddardf5c15152019-11-01 20:21:09160 color: var(--selection-fg-color) !important;
Blink Reformat4c46d092018-04-07 15:32:37161}
162
163.network-log-grid tr.highlighted-row {
164 -webkit-animation: network-row-highlight-fadeout 2s 0s;
165}
166
167@-webkit-keyframes network-row-highlight-fadeout {
168 from {background-color: rgba(255, 255, 120, 1); }
169 to { background-color: rgba(255, 255, 120, 0); }
170}
171
172.network-header-subtitle {
173 color: gray;
174}
175
176.network-log-grid.data-grid.small .network-cell-subtitle,
177.network-log-grid.data-grid.small .network-header-subtitle {
178 display: none;
179}
180
181/* Resource preview icons */
182
183.network-log-grid.data-grid .icon {
184 content: url(Images/resourcePlainIcon.png);
185}
186
187.network-log-grid.data-grid.small .icon {
188 content: url(Images/resourcePlainIconSmall.png);
189}
190
191.network-log-grid.data-grid .icon.script {
192 content: url(Images/resourceJSIcon.png);
193}
194
195.network-log-grid.data-grid.small .icon.script {
196 content: url(Images/resourceDocumentIconSmall.png);
197}
198
199.network-log-grid.data-grid .icon.document {
200 content: url(Images/resourceDocumentIcon.png);
201}
202
203.network-log-grid.data-grid.small .icon.document {
204 content: url(Images/resourceDocumentIconSmall.png);
205}
206
207.network-log-grid.data-grid .icon.stylesheet {
208 content: url(Images/resourceCSSIcon.png);
209}
210
211.network-log-grid.data-grid.small .icon.stylesheet {
212 content: url(Images/resourceDocumentIconSmall.png);
213}
214
215.network-log-grid.data-grid .icon.media {
216 content: url(Images/resourcePlainIcon.png); /* FIXME: media icon */
217}
218
219.network-log-grid.data-grid.small .icon.media {
220 content: url(Images/resourcePlainIconSmall.png); /* FIXME: media icon */
221}
222.network-log-grid.data-grid .icon.texttrack {
223 content: url(Images/resourcePlainIcon.png); /* FIXME: vtt icon */
224}
225
226.network-log-grid.data-grid.small .icon.texttrack {
227 content: url(Images/resourcePlainIconSmall.png); /* FIXME: vtt icon */
228}
229
230.network-log-grid.data-grid .icon.image {
231 position: relative;
232 background-image: url(Images/resourcePlainIcon.png);
233 background-repeat: no-repeat;
234 content: "";
235}
236
237.network-log-grid.data-grid.small .icon.image {
238 background-image: url(Images/resourcePlainIconSmall.png);
239 content: "";
240}
241
242.network-log-grid.data-grid .icon {
243 float: left;
244 width: 32px;
245 height: 32px;
246 margin-top: 1px;
247 margin-right: 3px;
248}
249
250.network-log-grid.data-grid.small .icon {
251 width: 16px;
252 height: 16px;
253}
254
255.network-log-grid.data-grid .image-network-icon-preview {
256 position: absolute;
257 margin: auto;
258 top: 3px;
259 bottom: 4px;
260 left: 5px;
261 right: 5px;
262 max-width: 18px;
263 max-height: 21px;
264 min-width: 1px;
265 min-height: 1px;
266}
267
268.network-log-grid.data-grid.small .image-network-icon-preview {
269 top: 2px;
270 bottom: 1px;
271 left: 3px;
272 right: 3px;
273 max-width: 8px;
274 max-height: 11px;
275}
276
277.network-dim-cell {
278 color: grey;
279}
280
Blink Reformat4c46d092018-04-07 15:32:37281.network-frame-divider {
282 width: 2px;
283 background-color: #FCCC49;
284 z-index: 10;
285 visibility: hidden;
286}
287
288#network-container:not(.brief-mode) .data-container {
289 overflow: hidden;
290}
291
Blink Reformat4c46d092018-04-07 15:32:37292.network-log-grid.data-grid .resources-dividers {
293 z-index: 0;
294}
295
296.network-log-grid.data-grid .resources-dividers-label-bar {
297 background-color: transparent;
298 border: none;
299 height: 30px;
300 pointer-events: none;
301}
302
303#network-container {
304 overflow: hidden;
305}
306
307.network-status-pane {
308 color: #777;
309 background-color: white;
310 z-index: 500;
311 display: flex;
312 justify-content: center;
313 align-items: center;
314 text-align: center;
315 padding: 0 20px;
316 overflow: auto;
317}
318
319.network-status-pane > .recording-hint {
320 font-size: 14px;
321 text-align: center;
322 line-height: 28px;
323}
324
325.network-waterfall-header {
326 position: absolute;
327 border-left: 0px;
328 width: 100%;
329 display: table;
330 z-index: 200;
331}
332
333.network-waterfall-header:hover {
334 background-color: hsla(0, 0%, 10%, 0.1);
335}
336
337.network-waterfall-header div {
338 display: table-cell;
339 line-height: 14px;
340 margin: auto 0px;
341 vertical-align: middle;
342 text-align: left;
343 font-weight: normal;
344 padding: 0px 4px;
345}
346
347.network-waterfall-header .sort-order-icon-container {
348 position: absolute;
349 top: 1px;
350 right: 0;
351 bottom: 1px;
352 display: flex;
353 align-items: center;
354}
355
356.network-waterfall-header .sort-order-icon {
357 align-items: center;
358 margin-right: 4px;
359 margin-bottom: -2px;
360}
361
362.network-frame-group-icon {
363 display: inline-block;
364 margin: -8px -2px;
365}
366
367.network-frame-group-badge {
368 margin-right: 4px;
369}