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