Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(770)

Side by Side Diff: Source/devtools/front_end/networkLogView.css

Issue 114123005: Show media and VTT text tracks in the devtools. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed feedback. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/devtools/front_end/ResourceType.js ('k') | Source/devtools/protocol.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 } 194 }
195 195
196 .network-log-grid.data-grid .network-type-stylesheet .icon { 196 .network-log-grid.data-grid .network-type-stylesheet .icon {
197 content: url(Images/resourceCSSIcon.png); 197 content: url(Images/resourceCSSIcon.png);
198 } 198 }
199 199
200 .network-log-grid.data-grid.small .network-type-stylesheet .icon { 200 .network-log-grid.data-grid.small .network-type-stylesheet .icon {
201 content: url(Images/resourceDocumentIconSmall.png); 201 content: url(Images/resourceDocumentIconSmall.png);
202 } 202 }
203 203
204 .network-log-grid.data-grid .network-type-media .icon {
205 content: url(Images/resourcePlainIcon.png); // FIXME: media icon
206 }
207
208 .network-log-grid.data-grid.small .network-type-media .icon {
209 content: url(Images/resourcePlainIconSmall.png); // FIXME: media icon
210 }
211 .network-log-grid.data-grid .network-type-texttrack .icon {
212 content: url(Images/resourcePlainIcon.png); // FIXME: vtt icon
213 }
214
215 .network-log-grid.data-grid.small .network-type-texttrack .icon {
216 content: url(Images/resourcePlainIconSmall.png); // FIXME: vtt icon
217 }
218
204 .network-log-grid.data-grid .network-type-image .icon { 219 .network-log-grid.data-grid .network-type-image .icon {
205 position: relative; 220 position: relative;
206 background-image: url(Images/resourcePlainIcon.png); 221 background-image: url(Images/resourcePlainIcon.png);
207 background-repeat: no-repeat; 222 background-repeat: no-repeat;
208 content: ""; 223 content: "";
209 } 224 }
210 225
211 .network-log-grid.data-grid.small .network-type-image .icon { 226 .network-log-grid.data-grid.small .network-type-image .icon {
212 background-image: url(Images/resourcePlainIconSmall.png); 227 background-image: url(Images/resourcePlainIconSmall.png);
213 content: ""; 228 content: "";
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 background: linear-gradient(0deg, hsl(272, 46%, 61%), hsl(272, 64%, 69%)); 412 background: linear-gradient(0deg, hsl(272, 46%, 61%), hsl(272, 64%, 69%));
398 } 413 }
399 414
400 .network-type-image.resource-cached .network-graph-bar { 415 .network-type-image.resource-cached .network-graph-bar {
401 background: hsl(272, 65%, 86%); 416 background: hsl(272, 65%, 86%);
402 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8), 417 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8),
403 inset 0 0 0 2px hsl(272, 47%, 61%), 418 inset 0 0 0 2px hsl(272, 47%, 61%),
404 inset 0 1px 0 2px hsla(273, 38%, 65%, 0.85); 419 inset 0 1px 0 2px hsla(273, 38%, 65%, 0.85);
405 } 420 }
406 421
422 .network-type-media .network-graph-bar {
423 -webkit-border-image: url(Images/timelinePillPurple.png) 6 7 6 7;
424 }
425
426 .network-type-media.resource-cached .network-graph-bar {
427 border-image: url(Images/timelineHollowPillPurple.png) 7 7 7 7;
428 }
429
407 .network-type-font .network-graph-bar { 430 .network-type-font .network-graph-bar {
408 border-color: hsl(8, 49%, 52%); 431 border-color: hsl(8, 49%, 52%);
409 background: linear-gradient(0deg, hsl(8, 72%, 61%), hsl(8, 100%, 69%)); 432 background: linear-gradient(0deg, hsl(8, 72%, 61%), hsl(8, 100%, 69%));
410 } 433 }
411 434
412 .network-type-font.resource-cached .network-graph-bar { 435 .network-type-font.resource-cached .network-graph-bar {
413 background: hsl(8, 100%, 86%); 436 background: hsl(8, 100%, 86%);
414 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8), 437 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8),
415 inset 0 0 0 2px hsl(8, 72%, 61%), 438 inset 0 0 0 2px hsl(8, 72%, 61%),
416 inset 0 1px 0 2px hsla(8, 59%, 65%, 0.85); 439 inset 0 1px 0 2px hsla(8, 59%, 65%, 0.85);
417 } 440 }
418 441
442 .network-type-texttrack .network-graph-bar {
443 -webkit-border-image: url(Images/timelinePillRed.png) 6 7 6 7;
444 }
445
446 .network-type-texttrack.resource-cached .network-graph-bar {
447 border-image: url(Images/timelineHollowPillRed.png) 7 7 7 7;
448 }
449
419 .network-type-script .network-graph-bar { 450 .network-type-script .network-graph-bar {
420 border-color: hsl(31, 49%, 52%); 451 border-color: hsl(31, 49%, 52%);
421 background: linear-gradient(0deg, hsl(31, 72%, 61%), hsl(31, 100%, 69%)); 452 background: linear-gradient(0deg, hsl(31, 72%, 61%), hsl(31, 100%, 69%));
422 } 453 }
423 454
424 .network-type-script.resource-cached .network-graph-bar { 455 .network-type-script.resource-cached .network-graph-bar {
425 background: hsl(31, 100%, 86%); 456 background: hsl(31, 100%, 86%);
426 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8), 457 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8),
427 inset 0 0 0 2px hsl(31, 78%, 61%), 458 inset 0 0 0 2px hsl(31, 78%, 61%),
428 inset 0 1px 0 2px hsla(31, 64%, 65%, 0.85); 459 inset 0 1px 0 2px hsla(31, 64%, 65%, 0.85);
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 } 603 }
573 604
574 #network-container:not(.brief-mode) .data-grid tr.selected { 605 #network-container:not(.brief-mode) .data-grid tr.selected {
575 background-color: transparent; 606 background-color: transparent;
576 color: #222; 607 color: #222;
577 } 608 }
578 609
579 #network-container.brief-mode .data-grid .data-container { 610 #network-container.brief-mode .data-grid .data-container {
580 padding-right: 0; 611 padding-right: 0;
581 } 612 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/ResourceType.js ('k') | Source/devtools/protocol.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698