2 * Copyright (C) 2013 Google Inc. All rights reserved.
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
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
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.
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.
31 .network-log-grid.data-grid {
36 .network-summary-bar {
40 background-color: #eee;
41 border-top: 1px solid #ccc;
43 text-overflow: ellipsis;
47 .network-summary-bar .warning-icon-small {
51 .network-log-grid.data-grid table.data {
52 background: transparent;
55 .network-log-grid .odd {
59 .network-log-grid.data-grid td {
62 border-left: 1px solid #e1e1e1;
63 vertical-align: middle;
66 .network-log-grid.data-grid.small td {
70 .network-log-grid.data-grid th {
71 border-bottom: 1px solid rgb(205, 205, 205);
72 border-left: 1px solid rgb(205, 205, 205);
76 .network-log-grid.data-grid .header-container {
80 .network-log-grid.data-grid .data-container {
84 .network-log-grid.data-grid.small .header-container {
88 .network-log-grid.data-grid.small .data-container {
92 .network-log-grid.data-grid select {
93 -webkit-appearance: none;
94 background-color: transparent;
100 .network-log-grid.data-grid .name-column {
104 #network-container:not(.brief-mode) .network-log-grid.data-grid td.name-column:hover {
105 text-decoration: underline;
108 .network-log-grid.data-grid.small .network-graph-side {
112 .network-log-grid.data-grid th.sortable:active {
113 background-image: none !important;
116 .network-cell-subtitle {
122 .network-error-row .network-cell-subtitle {
123 color: rgb(230, 0, 0);
126 .initiator-column a {
130 .network-log-grid.data-grid tr.selected .network-cell-subtitle {
134 .network-log-grid tr.highlighted-row {
135 -webkit-animation: network-row-highlight-fadeout 2s 0s;
138 @-webkit-keyframes network-row-highlight-fadeout {
139 from {background-color: rgba(255, 255, 120, 1); }
140 to { background-color: rgba(255, 255, 120, 0); }
143 .network-header-subtitle {
147 .network-log-grid.data-grid.small .network-cell-subtitle,
148 .network-log-grid.data-grid.small .network-header-subtitle {
152 /* Resource preview icons */
154 .network-log-grid.data-grid .icon {
155 content: url(Images/resourcePlainIcon.png);
158 .network-log-grid.data-grid.small .icon {
159 content: url(Images/resourcePlainIconSmall.png);
162 .network-log-grid.data-grid .icon.script {
163 content: url(Images/resourceJSIcon.png);
166 .network-log-grid.data-grid.small .icon.script {
167 content: url(Images/resourceDocumentIconSmall.png);
170 .network-log-grid.data-grid .icon.document {
171 content: url(Images/resourceDocumentIcon.png);
174 .network-log-grid.data-grid.small .icon.document {
175 content: url(Images/resourceDocumentIconSmall.png);
178 .network-log-grid.data-grid .icon.stylesheet {
179 content: url(Images/resourceCSSIcon.png);
182 .network-log-grid.data-grid.small .icon.stylesheet {
183 content: url(Images/resourceDocumentIconSmall.png);
186 .network-log-grid.data-grid .icon.media {
187 content: url(Images/resourcePlainIcon.png); /* FIXME: media icon */
190 .network-log-grid.data-grid.small .icon.media {
191 content: url(Images/resourcePlainIconSmall.png); /* FIXME: media icon */
193 .network-log-grid.data-grid .icon.texttrack {
194 content: url(Images/resourcePlainIcon.png); /* FIXME: vtt icon */
197 .network-log-grid.data-grid.small .icon.texttrack {
198 content: url(Images/resourcePlainIconSmall.png); /* FIXME: vtt icon */
201 .network-log-grid.data-grid .icon.image {
203 background-image: url(Images/resourcePlainIcon.png);
204 background-repeat: no-repeat;
208 .network-log-grid.data-grid.small .icon.image {
209 background-image: url(Images/resourcePlainIconSmall.png);
213 .network-log-grid.data-grid .icon {
221 .network-log-grid.data-grid.small .icon {
226 .network-log-grid.data-grid .image-network-icon-preview {
239 .network-log-grid.data-grid.small .image-network-icon-preview {
248 .network-stack-trace .webkit-html-blackbox-link {
252 .network-async-trace-description {
253 padding: 3px 0 1px 0;
259 .network-graph-side {
265 border-top: 1px solid transparent;
269 .network-graph-bar-area {
275 .network-graph-bar-area,
276 .network-timeline-grid .resources-dividers,
277 .network-timeline-grid .resources-event-dividers,
278 .network-timeline-grid .resources-dividers-label-bar {
283 .network-graph-label {
291 color: rgba(0, 0, 0, 0.75);
292 text-shadow: rgba(255, 255, 255, 0.25) 1px 0 0, rgba(255, 255, 255, 0.25) -1px 0 0, rgba(255, 255, 255, 0.333) 0 1px 0, rgba(255, 255, 255, 0.25) 0 -1px 0;
299 .network-graph-side:hover .network-graph-label {
303 .network-graph-label:empty {
307 .network-graph-label.waiting {
311 .network-graph-label.before {
312 color: rgba(0, 0, 0, 0.7);
318 .network-graph-label.before::after {
321 content: url(Images/graphLabelCalloutLeft.png);
324 .network-graph-label.after {
325 color: rgba(0, 0, 0, 0.7);
331 .network-graph-label.after::before {
334 content: url(Images/graphLabelCalloutRight.png);
346 border-color: hsl(0, 0%, 60%);
347 background: linear-gradient(0deg, hsl(0, 0%, 65%), hsl(0, 0%, 80%));
350 .network-graph-bar.waiting {
354 /* Resource categories */
357 .network-graph-bar.cached {
358 background: hsl(0, 0%, 90%);
361 .network-graph-bar.document {
362 border-color: hsl(215, 49%, 60%);
363 background: linear-gradient(0deg, hsl(215, 72%, 65%), hsl(215, 100%, 80%));
366 .network-graph-bar.cached.document {
367 background: hsl(215, 99%, 80%);
370 .network-graph-bar.stylesheet {
371 border-color: hsl(99, 34%, 60%);
372 background: linear-gradient(0deg, hsl(100, 50%, 65%), hsl(90, 50%, 80%));
375 .network-graph-bar.cached.stylesheet {
376 background: hsl(99, 100%, 80%);
379 .network-graph-bar.image {
380 border-color: hsl(272, 31%, 60%);
381 background: linear-gradient(0deg, hsl(272, 46%, 65%), hsl(272, 64%, 80%));
384 .network-graph-bar.cached.image {
385 background: hsl(272, 65%, 80%);
388 .network-graph-bar.media {
389 border-color: hsl(272, 31%, 60%);
390 background: linear-gradient(0deg, hsl(272, 46%, 65%), hsl(272, 64%, 80%));
393 .network-graph-bar.cached.media {
394 background: hsl(272, 65%, 80%);
397 .network-graph-bar.font {
398 border-color: hsl(8, 49%, 60%);
399 background: linear-gradient(0deg, hsl(8, 72%, 65%), hsl(8, 100%, 80%));
402 .network-graph-bar.cached.font {
403 background: hsl(8, 100%, 80%);
406 .network-graph-bar.texttrack {
407 border-color: hsl(8, 49%, 60%);
408 background: linear-gradient(0deg, hsl(8, 72%, 65%), hsl(8, 100%, 80%));
411 .network-graph-bar.cached.texttrack {
412 background: hsl(8, 100%, 80%);
415 .network-graph-bar.script {
416 border-color: hsl(31, 49%, 60%);
417 background: linear-gradient(0deg, hsl(31, 72%, 65%), hsl(31, 100%, 80%));
420 .network-graph-bar.cached.script {
421 background: hsl(31, 100%, 80%);
424 .network-graph-bar.xhr {
425 border-color: hsl(53, 49%, 60%);
426 background: linear-gradient(0deg, hsl(53, 72%, 65%), hsl(53, 100%, 80%));
429 .network-graph-bar.cached.xhr {
430 background: hsl(53, 100%, 80%);
433 .network-graph-bar.websocket {
434 border-color: hsl(0, 0%, 60%);
435 background: linear-gradient(0deg, hsl(0, 0%, 65%), hsl(0, 0%, 80%));
438 .network-graph-bar.cached.websocket {
439 background: hsl(0, 0%, 80%);
448 .network-timeline-grid {
453 right: 14px; /* Keep in sync with td.corner width */
454 pointer-events: none;
457 .data-grid td.timeline-column {
462 .network-event-divider-padding {
467 pointer-events: auto;
470 .network-event-divider {
478 .network-timeline-grid.small .network-event-divider {
482 .network-red-divider {
483 background-color: rgba(255, 0, 0, 0.5);
486 .network-blue-divider {
487 background-color: rgba(0, 0, 255, 0.5);
490 .network-log-grid.data-grid .resources-dividers {
494 .network-log-grid.data-grid .resources-dividers-label-bar {
495 background-color: transparent;
498 pointer-events: none;
501 .network-timeline-grid.small .resources-dividers-label-bar {
505 .network-timeline-grid .resources-divider-label {
510 .network-timeline-grid .resources-dividers-label-bar .resources-divider {
514 .network-timeline-grid.small .resources-dividers-label-bar .resources-divider {
518 .network-timeline-grid .resources-divider:first-child .resources-divider-label {
522 .network-timeline-grid .resources-dividers-label-bar .resources-divider:first-child {
523 background-color: transparent;
531 /* Brief mode peculiarities. */
532 #network-container.brief-mode .network-timeline-grid {