blob: b42f2ab9f2aa897384c87b7ce6b4f8a26af2f0b8 [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 {
32 border: none;
33 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 {
Blink Reformat4c46d092018-04-07 15:32:37138 color: rgb(230, 0, 0);
139}
140
141.initiator-column .devtools-link {
142 color: inherit;
143}
144
145.network-log-grid.data-grid tr.selected,
146.network-log-grid.data-grid tr.selected .network-cell-subtitle,
147.network-log-grid.data-grid tr.selected .network-dim-cell {
148 color: inherit !important;
149}
150
151.network-log-grid.data-grid:focus tr.selected,
152.network-log-grid.data-grid:focus tr.selected .network-cell-subtitle,
153.network-log-grid.data-grid:focus tr.selected .network-dim-cell {
154 color: var(--selection-fg-color) !important;
155}
156
157.network-log-grid tr.highlighted-row {
158 -webkit-animation: network-row-highlight-fadeout 2s 0s;
159}
160
161@-webkit-keyframes network-row-highlight-fadeout {
162 from {background-color: rgba(255, 255, 120, 1); }
163 to { background-color: rgba(255, 255, 120, 0); }
164}
165
166.network-header-subtitle {
167 color: gray;
168}
169
170.network-log-grid.data-grid.small .network-cell-subtitle,
171.network-log-grid.data-grid.small .network-header-subtitle {
172 display: none;
173}
174
175/* Resource preview icons */
176
177.network-log-grid.data-grid .icon {
178 content: url(Images/resourcePlainIcon.png);
179}
180
181.network-log-grid.data-grid.small .icon {
182 content: url(Images/resourcePlainIconSmall.png);
183}
184
185.network-log-grid.data-grid .icon.script {
186 content: url(Images/resourceJSIcon.png);
187}
188
189.network-log-grid.data-grid.small .icon.script {
190 content: url(Images/resourceDocumentIconSmall.png);
191}
192
193.network-log-grid.data-grid .icon.document {
194 content: url(Images/resourceDocumentIcon.png);
195}
196
197.network-log-grid.data-grid.small .icon.document {
198 content: url(Images/resourceDocumentIconSmall.png);
199}
200
201.network-log-grid.data-grid .icon.stylesheet {
202 content: url(Images/resourceCSSIcon.png);
203}
204
205.network-log-grid.data-grid.small .icon.stylesheet {
206 content: url(Images/resourceDocumentIconSmall.png);
207}
208
209.network-log-grid.data-grid .icon.media {
210 content: url(Images/resourcePlainIcon.png); /* FIXME: media icon */
211}
212
213.network-log-grid.data-grid.small .icon.media {
214 content: url(Images/resourcePlainIconSmall.png); /* FIXME: media icon */
215}
216.network-log-grid.data-grid .icon.texttrack {
217 content: url(Images/resourcePlainIcon.png); /* FIXME: vtt icon */
218}
219
220.network-log-grid.data-grid.small .icon.texttrack {
221 content: url(Images/resourcePlainIconSmall.png); /* FIXME: vtt icon */
222}
223
224.network-log-grid.data-grid .icon.image {
225 position: relative;
226 background-image: url(Images/resourcePlainIcon.png);
227 background-repeat: no-repeat;
228 content: "";
229}
230
231.network-log-grid.data-grid.small .icon.image {
232 background-image: url(Images/resourcePlainIconSmall.png);
233 content: "";
234}
235
236.network-log-grid.data-grid .icon {
237 float: left;
238 width: 32px;
239 height: 32px;
240 margin-top: 1px;
241 margin-right: 3px;
242}
243
244.network-log-grid.data-grid.small .icon {
245 width: 16px;
246 height: 16px;
247}
248
249.network-log-grid.data-grid .image-network-icon-preview {
250 position: absolute;
251 margin: auto;
252 top: 3px;
253 bottom: 4px;
254 left: 5px;
255 right: 5px;
256 max-width: 18px;
257 max-height: 21px;
258 min-width: 1px;
259 min-height: 1px;
260}
261
262.network-log-grid.data-grid.small .image-network-icon-preview {
263 top: 2px;
264 bottom: 1px;
265 left: 3px;
266 right: 3px;
267 max-width: 8px;
268 max-height: 11px;
269}
270
271.network-dim-cell {
272 color: grey;
273}
274
Blink Reformat4c46d092018-04-07 15:32:37275.network-frame-divider {
276 width: 2px;
277 background-color: #FCCC49;
278 z-index: 10;
279 visibility: hidden;
280}
281
282#network-container:not(.brief-mode) .data-container {
283 overflow: hidden;
284}
285
Blink Reformat4c46d092018-04-07 15:32:37286.network-log-grid.data-grid .resources-dividers {
287 z-index: 0;
288}
289
290.network-log-grid.data-grid .resources-dividers-label-bar {
291 background-color: transparent;
292 border: none;
293 height: 30px;
294 pointer-events: none;
295}
296
297#network-container {
298 overflow: hidden;
299}
300
301.network-status-pane {
302 color: #777;
303 background-color: white;
304 z-index: 500;
305 display: flex;
306 justify-content: center;
307 align-items: center;
308 text-align: center;
309 padding: 0 20px;
310 overflow: auto;
311}
312
313.network-status-pane > .recording-hint {
314 font-size: 14px;
315 text-align: center;
316 line-height: 28px;
317}
318
319.network-waterfall-header {
320 position: absolute;
321 border-left: 0px;
322 width: 100%;
323 display: table;
324 z-index: 200;
325}
326
327.network-waterfall-header:hover {
328 background-color: hsla(0, 0%, 10%, 0.1);
329}
330
331.network-waterfall-header div {
332 display: table-cell;
333 line-height: 14px;
334 margin: auto 0px;
335 vertical-align: middle;
336 text-align: left;
337 font-weight: normal;
338 padding: 0px 4px;
339}
340
341.network-waterfall-header .sort-order-icon-container {
342 position: absolute;
343 top: 1px;
344 right: 0;
345 bottom: 1px;
346 display: flex;
347 align-items: center;
348}
349
350.network-waterfall-header .sort-order-icon {
351 align-items: center;
352 margin-right: 4px;
353 margin-bottom: -2px;
354}
355
356.network-frame-group-icon {
357 display: inline-block;
358 margin: -8px -2px;
359}
360
361.network-frame-group-badge {
362 margin-right: 4px;
363}