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

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

Issue 466703002: DevTools: get rid of Element.prototype.removeMatchingStyleClasses (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 /* Resource preview icons */ 162 /* Resource preview icons */
163 163
164 .network-log-grid.data-grid .icon { 164 .network-log-grid.data-grid .icon {
165 content: url(Images/resourcePlainIcon.png); 165 content: url(Images/resourcePlainIcon.png);
166 } 166 }
167 167
168 .network-log-grid.data-grid.small .icon { 168 .network-log-grid.data-grid.small .icon {
169 content: url(Images/resourcePlainIconSmall.png); 169 content: url(Images/resourcePlainIconSmall.png);
170 } 170 }
171 171
172 .network-log-grid.data-grid .network-type-script .icon { 172 .network-log-grid.data-grid .script .icon {
apavlov 2014/08/12 09:45:32 aren't these shortened class names too general? Co
eustas 2014/08/12 11:33:38 You are right. But I think it would be better to c
173 content: url(Images/resourceJSIcon.png); 173 content: url(Images/resourceJSIcon.png);
174 } 174 }
175 175
176 .network-log-grid.data-grid.small .network-type-script .icon { 176 .network-log-grid.data-grid.small .script .icon {
177 content: url(Images/resourceDocumentIconSmall.png); 177 content: url(Images/resourceDocumentIconSmall.png);
178 } 178 }
179 179
180 .network-log-grid.data-grid .network-type-document .icon { 180 .network-log-grid.data-grid .document .icon {
181 content: url(Images/resourceDocumentIcon.png); 181 content: url(Images/resourceDocumentIcon.png);
182 } 182 }
183 183
184 .network-log-grid.data-grid.small .network-type-document .icon { 184 .network-log-grid.data-grid.small .document .icon {
185 content: url(Images/resourceDocumentIconSmall.png); 185 content: url(Images/resourceDocumentIconSmall.png);
186 } 186 }
187 187
188 .network-log-grid.data-grid .network-type-stylesheet .icon { 188 .network-log-grid.data-grid .stylesheet .icon {
189 content: url(Images/resourceCSSIcon.png); 189 content: url(Images/resourceCSSIcon.png);
190 } 190 }
191 191
192 .network-log-grid.data-grid.small .network-type-stylesheet .icon { 192 .network-log-grid.data-grid.small .stylesheet .icon {
193 content: url(Images/resourceDocumentIconSmall.png); 193 content: url(Images/resourceDocumentIconSmall.png);
194 } 194 }
195 195
196 .network-log-grid.data-grid .network-type-media .icon { 196 .network-log-grid.data-grid .media .icon {
197 content: url(Images/resourcePlainIcon.png); /* FIXME: media icon */ 197 content: url(Images/resourcePlainIcon.png); /* FIXME: media icon */
198 } 198 }
199 199
200 .network-log-grid.data-grid.small .network-type-media .icon { 200 .network-log-grid.data-grid.small .media .icon {
201 content: url(Images/resourcePlainIconSmall.png); /* FIXME: media icon */ 201 content: url(Images/resourcePlainIconSmall.png); /* FIXME: media icon */
202 } 202 }
203 .network-log-grid.data-grid .network-type-texttrack .icon { 203 .network-log-grid.data-grid .texttrack .icon {
204 content: url(Images/resourcePlainIcon.png); /* FIXME: vtt icon */ 204 content: url(Images/resourcePlainIcon.png); /* FIXME: vtt icon */
205 } 205 }
206 206
207 .network-log-grid.data-grid.small .network-type-texttrack .icon { 207 .network-log-grid.data-grid.small .texttrack .icon {
208 content: url(Images/resourcePlainIconSmall.png); /* FIXME: vtt icon */ 208 content: url(Images/resourcePlainIconSmall.png); /* FIXME: vtt icon */
209 } 209 }
210 210
211 .network-log-grid.data-grid .network-type-image .icon { 211 .network-log-grid.data-grid .image .icon {
212 position: relative; 212 position: relative;
213 background-image: url(Images/resourcePlainIcon.png); 213 background-image: url(Images/resourcePlainIcon.png);
214 background-repeat: no-repeat; 214 background-repeat: no-repeat;
215 content: ""; 215 content: "";
216 } 216 }
217 217
218 .network-log-grid.data-grid.small .network-type-image .icon { 218 .network-log-grid.data-grid.small .image .icon {
219 background-image: url(Images/resourcePlainIconSmall.png); 219 background-image: url(Images/resourcePlainIconSmall.png);
220 content: ""; 220 content: "";
221 } 221 }
222 222
223 .network-log-grid.data-grid .icon { 223 .network-log-grid.data-grid .icon {
224 float: left; 224 float: left;
225 width: 32px; 225 width: 32px;
226 height: 32px; 226 height: 32px;
227 margin-top: 1px; 227 margin-top: 1px;
228 margin-right: 3px; 228 margin-right: 3px;
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 /* Resource categories */ 368 /* Resource categories */
369 369
370 370
371 .resource-cached .network-graph-bar { 371 .resource-cached .network-graph-bar {
372 background: hsl(0, 0%, 90%); 372 background: hsl(0, 0%, 90%);
373 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8), 373 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8),
374 inset 0 0 0 2px hsl(0, 0%, 73%), 374 inset 0 0 0 2px hsl(0, 0%, 73%),
375 inset 0 1px 0 2px hsla(0, 0%, 76%, 0.85); 375 inset 0 1px 0 2px hsla(0, 0%, 76%, 0.85);
376 } 376 }
377 377
378 .network-type-document .network-graph-bar { 378 .document .network-graph-bar {
379 border-color: hsl(215, 49%, 52%); 379 border-color: hsl(215, 49%, 52%);
380 background: linear-gradient(0deg, hsl(215, 72%, 61%), hsl(215, 100%, 69%)); 380 background: linear-gradient(0deg, hsl(215, 72%, 61%), hsl(215, 100%, 69%));
381 } 381 }
382 382
383 .network-type-document.resource-cached .network-graph-bar { 383 .document.resource-cached .network-graph-bar {
384 background: hsl(215, 99%, 86%); 384 background: hsl(215, 99%, 86%);
385 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8), 385 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8),
386 inset 0 0 0 2px hsl(215, 71%, 61%), 386 inset 0 0 0 2px hsl(215, 71%, 61%),
387 inset 0 1px 0 2px hsla(215, 58%, 65%, 0.85); 387 inset 0 1px 0 2px hsla(215, 58%, 65%, 0.85);
388 } 388 }
389 389
390 .network-type-stylesheet .network-graph-bar { 390 .stylesheet .network-graph-bar {
391 border-color: hsl(99, 34%, 52%); 391 border-color: hsl(99, 34%, 52%);
392 background: linear-gradient(0deg, hsl(100, 50%, 61%), hsl(90, 50%, 64%)); 392 background: linear-gradient(0deg, hsl(100, 50%, 61%), hsl(90, 50%, 64%));
393 } 393 }
394 394
395 .network-type-stylesheet.resource-cached .network-graph-bar { 395 .stylesheet.resource-cached .network-graph-bar {
396 background: hsl(99, 100%, 86%); 396 background: hsl(99, 100%, 86%);
397 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8), 397 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8),
398 inset 0 0 0 2px hsl(99, 72%, 61%), 398 inset 0 0 0 2px hsl(99, 72%, 61%),
399 inset 0 1px 0 2px hsla(99, 59%, 65%, 0.85); 399 inset 0 1px 0 2px hsla(99, 59%, 65%, 0.85);
400 } 400 }
401 401
402 .network-type-image .network-graph-bar { 402 .image .network-graph-bar {
403 border-color: hsl(272, 31%, 52%); 403 border-color: hsl(272, 31%, 52%);
404 background: linear-gradient(0deg, hsl(272, 46%, 61%), hsl(272, 64%, 69%)); 404 background: linear-gradient(0deg, hsl(272, 46%, 61%), hsl(272, 64%, 69%));
405 } 405 }
406 406
407 .network-type-image.resource-cached .network-graph-bar { 407 .image.resource-cached .network-graph-bar {
408 background: hsl(272, 65%, 86%); 408 background: hsl(272, 65%, 86%);
409 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8), 409 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8),
410 inset 0 0 0 2px hsl(272, 47%, 61%), 410 inset 0 0 0 2px hsl(272, 47%, 61%),
411 inset 0 1px 0 2px hsla(273, 38%, 65%, 0.85); 411 inset 0 1px 0 2px hsla(273, 38%, 65%, 0.85);
412 } 412 }
413 413
414 .network-type-media .network-graph-bar { 414 .media .network-graph-bar {
415 border-color: hsl(272, 31%, 52%); 415 border-color: hsl(272, 31%, 52%);
416 background: linear-gradient(0deg, hsl(272, 46%, 61%), hsl(272, 64%, 69%)); 416 background: linear-gradient(0deg, hsl(272, 46%, 61%), hsl(272, 64%, 69%));
417 } 417 }
418 418
419 .network-type-media.resource-cached .network-graph-bar { 419 .media.resource-cached .network-graph-bar {
420 background: hsl(272, 65%, 86%); 420 background: hsl(272, 65%, 86%);
421 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8), 421 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8),
422 inset 0 0 0 2px hsl(272, 47%, 61%), 422 inset 0 0 0 2px hsl(272, 47%, 61%),
423 inset 0 1px 0 2px hsla(273, 38%, 65%, 0.85); 423 inset 0 1px 0 2px hsla(273, 38%, 65%, 0.85);
424 } 424 }
425 425
426 .network-type-font .network-graph-bar { 426 .font .network-graph-bar {
427 border-color: hsl(8, 49%, 52%); 427 border-color: hsl(8, 49%, 52%);
428 background: linear-gradient(0deg, hsl(8, 72%, 61%), hsl(8, 100%, 69%)); 428 background: linear-gradient(0deg, hsl(8, 72%, 61%), hsl(8, 100%, 69%));
429 } 429 }
430 430
431 .network-type-font.resource-cached .network-graph-bar { 431 .font.resource-cached .network-graph-bar {
432 background: hsl(8, 100%, 86%); 432 background: hsl(8, 100%, 86%);
433 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8), 433 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8),
434 inset 0 0 0 2px hsl(8, 72%, 61%), 434 inset 0 0 0 2px hsl(8, 72%, 61%),
435 inset 0 1px 0 2px hsla(8, 59%, 65%, 0.85); 435 inset 0 1px 0 2px hsla(8, 59%, 65%, 0.85);
436 } 436 }
437 437
438 .network-type-texttrack .network-graph-bar { 438 .texttrack .network-graph-bar {
439 border-color: hsl(8, 49%, 52%); 439 border-color: hsl(8, 49%, 52%);
440 background: linear-gradient(0deg, hsl(8, 72%, 61%), hsl(8, 100%, 69%)); 440 background: linear-gradient(0deg, hsl(8, 72%, 61%), hsl(8, 100%, 69%));
441 } 441 }
442 442
443 .network-type-texttrack.resource-cached .network-graph-bar { 443 .texttrack.resource-cached .network-graph-bar {
444 background: hsl(8, 100%, 86%); 444 background: hsl(8, 100%, 86%);
445 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8), 445 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8),
446 inset 0 0 0 2px hsl(8, 72%, 61%), 446 inset 0 0 0 2px hsl(8, 72%, 61%),
447 inset 0 1px 0 2px hsla(8, 59%, 65%, 0.85); 447 inset 0 1px 0 2px hsla(8, 59%, 65%, 0.85);
448 } 448 }
449 449
450 .network-type-script .network-graph-bar { 450 .script .network-graph-bar {
451 border-color: hsl(31, 49%, 52%); 451 border-color: hsl(31, 49%, 52%);
452 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%));
453 } 453 }
454 454
455 .network-type-script.resource-cached .network-graph-bar { 455 .script.resource-cached .network-graph-bar {
456 background: hsl(31, 100%, 86%); 456 background: hsl(31, 100%, 86%);
457 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),
458 inset 0 0 0 2px hsl(31, 78%, 61%), 458 inset 0 0 0 2px hsl(31, 78%, 61%),
459 inset 0 1px 0 2px hsla(31, 64%, 65%, 0.85); 459 inset 0 1px 0 2px hsla(31, 64%, 65%, 0.85);
460 } 460 }
461 461
462 .network-type-xhr .network-graph-bar { 462 .xhr .network-graph-bar {
463 border-color: hsl(53, 49%, 52%); 463 border-color: hsl(53, 49%, 52%);
464 background: linear-gradient(0deg, hsl(53, 72%, 61%), hsl(53, 100%, 69%)); 464 background: linear-gradient(0deg, hsl(53, 72%, 61%), hsl(53, 100%, 69%));
465 } 465 }
466 466
467 .network-type-xhr.resource-cached .network-graph-bar { 467 .xhr.resource-cached .network-graph-bar {
468 background: hsl(53, 100%, 86%); 468 background: hsl(53, 100%, 86%);
469 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8), 469 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8),
470 inset 0 0 0 2px hsl(53, 72%, 61%), 470 inset 0 0 0 2px hsl(53, 72%, 61%),
471 inset 0 1px 0 2px hsla(54, 59%, 65%, 0.85); 471 inset 0 1px 0 2px hsla(54, 59%, 65%, 0.85);
472 } 472 }
473 473
474 .network-type-websocket .network-graph-bar { 474 .websocket .network-graph-bar {
475 border-color: hsl(0, 0%, 65%); 475 border-color: hsl(0, 0%, 65%);
476 background: linear-gradient(0deg, hsl(0, 0%, 73%), hsl(0, 0%, 78%)); 476 background: linear-gradient(0deg, hsl(0, 0%, 73%), hsl(0, 0%, 78%));
477 } 477 }
478 478
479 .network-type-websocket.resource-cached .network-graph-bar { 479 .websocket.resource-cached .network-graph-bar {
480 background: hsl(0, 0%, 90%); 480 background: hsl(0, 0%, 90%);
481 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8), 481 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8),
482 inset 0 0 0 2px hsl(0, 0%, 73%), 482 inset 0 0 0 2px hsl(0, 0%, 73%),
483 inset 0 1px 0 2px hsla(0, 0%, 76%, 0.85); 483 inset 0 1px 0 2px hsla(0, 0%, 76%, 0.85);
484 } 484 }
485 485
486 .network-dim-cell { 486 .network-dim-cell {
487 color: grey; 487 color: grey;
488 } 488 }
489 489
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 } 591 }
592 592
593 #network-container:not(.brief-mode) .data-grid tr.selected { 593 #network-container:not(.brief-mode) .data-grid tr.selected {
594 background-color: transparent; 594 background-color: transparent;
595 color: #222; 595 color: #222;
596 } 596 }
597 597
598 #network-container.brief-mode .data-grid .data-container { 598 #network-container.brief-mode .data-grid .data-container {
599 padding-right: 0; 599 padding-right: 0;
600 } 600 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/network/NetworkPanel.js ('k') | Source/devtools/front_end/ui/DOMExtension.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698