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

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

Issue 474453002: DevTools: [network] make timing colors consistent in popover and tab, remove box shadows and round … (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 | Annotate | Revision Log
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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 .network-timeline-grid .resources-event-dividers, 282 .network-timeline-grid .resources-event-dividers,
283 .network-timeline-grid .resources-dividers-label-bar { 283 .network-timeline-grid .resources-dividers-label-bar {
284 right: 12px; 284 right: 12px;
285 left: 12px; 285 left: 12px;
286 } 286 }
287 287
288 .network-graph-label { 288 .network-graph-label {
289 position: absolute; 289 position: absolute;
290 top: 0; 290 top: 0;
291 bottom: 0; 291 bottom: 0;
292 margin: auto -7px;
293 height: 13px; 292 height: 13px;
294 line-height: 13px; 293 line-height: 13px;
295 font-size: 90%; 294 font-size: 90%;
296 color: rgba(0, 0, 0, 0.75); 295 color: rgba(0, 0, 0, 0.75);
297 text-shadow: rgba(255, 255, 255, 0.25) 1px 0 0, rgba(255, 255, 255, 0.25) -1 px 0 0, rgba(255, 255, 255, 0.333) 0 1px 0, rgba(255, 255, 255, 0.25) 0 -1px 0; 296 text-shadow: rgba(255, 255, 255, 0.25) 1px 0 0, rgba(255, 255, 255, 0.25) -1 px 0 0, rgba(255, 255, 255, 0.333) 0 1px 0, rgba(255, 255, 255, 0.25) 0 -1px 0;
298 z-index: 150; 297 z-index: 150;
299 overflow: hidden; 298 overflow: hidden;
300 text-align: center; 299 text-align: center;
301 visibility: hidden; 300 visibility: hidden;
302 } 301 }
303 302
304 .network-graph-side:hover .network-graph-label { 303 .network-graph-side:hover .network-graph-label {
305 visibility: visible; 304 visibility: visible;
306 } 305 }
307 306
308 .network-graph-label:empty { 307 .network-graph-label:empty {
309 display: none; 308 display: none;
310 } 309 }
311 310
312 .network-graph-label.waiting { 311 .network-graph-label.waiting {
313 margin-right: 5px; 312 margin-right: 5px;
314 } 313 }
315 314
316 .network-graph-label.before { 315 .network-graph-label.before {
317 color: rgba(0, 0, 0, 0.7); 316 color: rgba(0, 0, 0, 0.7);
318 text-shadow: none; 317 text-shadow: none;
319 text-align: right; 318 text-align: right;
320 margin-right: 2px; 319 margin-right: -2px;
321 } 320 }
322 321
323 .network-graph-label.before::after { 322 .network-graph-label.before::after {
324 padding-left: 2px; 323 padding-left: 2px;
325 height: 6px; 324 height: 6px;
326 content: url(Images/graphLabelCalloutLeft.png); 325 content: url(Images/graphLabelCalloutLeft.png);
327 } 326 }
328 327
329 .network-graph-label.after { 328 .network-graph-label.after {
330 color: rgba(0, 0, 0, 0.7); 329 color: rgba(0, 0, 0, 0.7);
331 text-shadow: none; 330 text-shadow: none;
332 text-align: left; 331 text-align: left;
333 margin-left: 2px; 332 margin-left: -1px;
334 } 333 }
335 334
336 .network-graph-label.after::before { 335 .network-graph-label.after::before {
337 padding-right: 2px; 336 padding-right: 2px;
338 height: 6px; 337 height: 6px;
339 content: url(Images/graphLabelCalloutRight.png); 338 content: url(Images/graphLabelCalloutRight.png);
340 } 339 }
341 340
342 .network-graph-bar { 341 .network-graph-bar {
343 position: absolute; 342 position: absolute;
344 top: 0; 343 top: 0;
345 bottom: 0; 344 bottom: 0;
346 margin: auto -7px; 345 margin: auto -1px;
347 height: 12px; 346 height: 12px;
348 min-width: 14px; 347 min-width: 2px;
349 opacity: 0.65; 348 opacity: 0.65;
350 border-width: 1px; 349 border-width: 1px;
351 border-style: solid; 350 border-style: solid;
352 border-radius: 7px / 6px;
353 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8);
354
355 border-color: hsl(0, 0%, 65%); 351 border-color: hsl(0, 0%, 65%);
356 background: linear-gradient(0deg, hsl(0, 0%, 73%), hsl(0, 0%, 78%)); 352 background: linear-gradient(0deg, hsl(0, 0%, 73%), hsl(0, 0%, 78%));
357 } 353 }
358 354
359 .network-graph-bar.waiting { 355 .network-graph-bar.waiting {
360 opacity: 0.35; 356 opacity: 0.35;
361 } 357 }
362 358
363 /* Resource categories */ 359 /* Resource categories */
364 360
365 361
366 .network-graph-bar.cached { 362 .network-graph-bar.cached {
367 background: hsl(0, 0%, 90%); 363 background: hsl(0, 0%, 90%);
368 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8),
369 inset 0 0 0 2px hsl(0, 0%, 73%),
370 inset 0 1px 0 2px hsla(0, 0%, 76%, 0.85);
371 } 364 }
372 365
373 .network-graph-bar.document { 366 .network-graph-bar.document {
374 border-color: hsl(215, 49%, 52%); 367 border-color: hsl(215, 49%, 52%);
375 background: linear-gradient(0deg, hsl(215, 72%, 61%), hsl(215, 100%, 69%)); 368 background: linear-gradient(0deg, hsl(215, 72%, 61%), hsl(215, 100%, 69%));
376 } 369 }
377 370
378 .network-graph-bar.cached.document { 371 .network-graph-bar.cached.document {
379 background: hsl(215, 99%, 86%); 372 background: hsl(215, 99%, 86%);
380 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8),
381 inset 0 0 0 2px hsl(215, 71%, 61%),
382 inset 0 1px 0 2px hsla(215, 58%, 65%, 0.85);
383 } 373 }
384 374
385 .network-graph-bar.stylesheet { 375 .network-graph-bar.stylesheet {
386 border-color: hsl(99, 34%, 52%); 376 border-color: hsl(99, 34%, 52%);
387 background: linear-gradient(0deg, hsl(100, 50%, 61%), hsl(90, 50%, 64%)); 377 background: linear-gradient(0deg, hsl(100, 50%, 61%), hsl(90, 50%, 64%));
388 } 378 }
389 379
390 .network-graph-bar.cached.stylesheet { 380 .network-graph-bar.cached.stylesheet {
391 background: hsl(99, 100%, 86%); 381 background: hsl(99, 100%, 86%);
392 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8),
393 inset 0 0 0 2px hsl(99, 72%, 61%),
394 inset 0 1px 0 2px hsla(99, 59%, 65%, 0.85);
395 } 382 }
396 383
397 .network-graph-bar.image { 384 .network-graph-bar.image {
398 border-color: hsl(272, 31%, 52%); 385 border-color: hsl(272, 31%, 52%);
399 background: linear-gradient(0deg, hsl(272, 46%, 61%), hsl(272, 64%, 69%)); 386 background: linear-gradient(0deg, hsl(272, 46%, 61%), hsl(272, 64%, 69%));
400 } 387 }
401 388
402 .network-graph-bar.cached.image { 389 .network-graph-bar.cached.image {
403 background: hsl(272, 65%, 86%); 390 background: hsl(272, 65%, 86%);
404 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8),
405 inset 0 0 0 2px hsl(272, 47%, 61%),
406 inset 0 1px 0 2px hsla(273, 38%, 65%, 0.85);
407 } 391 }
408 392
409 .network-graph-bar.media { 393 .network-graph-bar.media {
410 border-color: hsl(272, 31%, 52%); 394 border-color: hsl(272, 31%, 52%);
411 background: linear-gradient(0deg, hsl(272, 46%, 61%), hsl(272, 64%, 69%)); 395 background: linear-gradient(0deg, hsl(272, 46%, 61%), hsl(272, 64%, 69%));
412 } 396 }
413 397
414 .network-graph-bar.cached.media { 398 .network-graph-bar.cached.media {
415 background: hsl(272, 65%, 86%); 399 background: hsl(272, 65%, 86%);
416 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8),
417 inset 0 0 0 2px hsl(272, 47%, 61%),
418 inset 0 1px 0 2px hsla(273, 38%, 65%, 0.85);
419 } 400 }
420 401
421 .network-graph-bar.font { 402 .network-graph-bar.font {
422 border-color: hsl(8, 49%, 52%); 403 border-color: hsl(8, 49%, 52%);
423 background: linear-gradient(0deg, hsl(8, 72%, 61%), hsl(8, 100%, 69%)); 404 background: linear-gradient(0deg, hsl(8, 72%, 61%), hsl(8, 100%, 69%));
424 } 405 }
425 406
426 .network-graph-bar.cached.font { 407 .network-graph-bar.cached.font {
427 background: hsl(8, 100%, 86%); 408 background: hsl(8, 100%, 86%);
428 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8),
429 inset 0 0 0 2px hsl(8, 72%, 61%),
430 inset 0 1px 0 2px hsla(8, 59%, 65%, 0.85);
431 } 409 }
432 410
433 .network-graph-bar.texttrack { 411 .network-graph-bar.texttrack {
434 border-color: hsl(8, 49%, 52%); 412 border-color: hsl(8, 49%, 52%);
435 background: linear-gradient(0deg, hsl(8, 72%, 61%), hsl(8, 100%, 69%)); 413 background: linear-gradient(0deg, hsl(8, 72%, 61%), hsl(8, 100%, 69%));
436 } 414 }
437 415
438 .network-graph-bar.cached.texttrack { 416 .network-graph-bar.cached.texttrack {
439 background: hsl(8, 100%, 86%); 417 background: hsl(8, 100%, 86%);
440 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8),
441 inset 0 0 0 2px hsl(8, 72%, 61%),
442 inset 0 1px 0 2px hsla(8, 59%, 65%, 0.85);
443 } 418 }
444 419
445 .network-graph-bar.script { 420 .network-graph-bar.script {
446 border-color: hsl(31, 49%, 52%); 421 border-color: hsl(31, 49%, 52%);
447 background: linear-gradient(0deg, hsl(31, 72%, 61%), hsl(31, 100%, 69%)); 422 background: linear-gradient(0deg, hsl(31, 72%, 61%), hsl(31, 100%, 69%));
448 } 423 }
449 424
450 .network-graph-bar.cached.script { 425 .network-graph-bar.cached.script {
451 background: hsl(31, 100%, 86%); 426 background: hsl(31, 100%, 86%);
452 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8),
453 inset 0 0 0 2px hsl(31, 78%, 61%),
454 inset 0 1px 0 2px hsla(31, 64%, 65%, 0.85);
455 } 427 }
456 428
457 .network-graph-bar.xhr { 429 .network-graph-bar.xhr {
458 border-color: hsl(53, 49%, 52%); 430 border-color: hsl(53, 49%, 52%);
459 background: linear-gradient(0deg, hsl(53, 72%, 61%), hsl(53, 100%, 69%)); 431 background: linear-gradient(0deg, hsl(53, 72%, 61%), hsl(53, 100%, 69%));
460 } 432 }
461 433
462 .network-graph-bar.cached.xhr { 434 .network-graph-bar.cached.xhr {
463 background: hsl(53, 100%, 86%); 435 background: hsl(53, 100%, 86%);
464 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8),
465 inset 0 0 0 2px hsl(53, 72%, 61%),
466 inset 0 1px 0 2px hsla(54, 59%, 65%, 0.85);
467 } 436 }
468 437
469 .network-graph-bar.websocket { 438 .network-graph-bar.websocket {
470 border-color: hsl(0, 0%, 65%); 439 border-color: hsl(0, 0%, 65%);
471 background: linear-gradient(0deg, hsl(0, 0%, 73%), hsl(0, 0%, 78%)); 440 background: linear-gradient(0deg, hsl(0, 0%, 73%), hsl(0, 0%, 78%));
472 } 441 }
473 442
474 .network-graph-bar.cached.websocket { 443 .network-graph-bar.cached.websocket {
475 background: hsl(0, 0%, 90%); 444 background: hsl(0, 0%, 90%);
476 box-shadow: inset 0 1px 1px 0px rgba(255, 255, 255, 0.8),
477 inset 0 0 0 2px hsl(0, 0%, 73%),
478 inset 0 1px 0 2px hsla(0, 0%, 76%, 0.85);
479 } 445 }
480 446
481 .network-dim-cell { 447 .network-dim-cell {
482 color: grey; 448 color: grey;
483 } 449 }
484 450
485 /* Dividers */ 451 /* Dividers */
486 452
487 .network-timeline-grid { 453 .network-timeline-grid {
488 position: absolute; 454 position: absolute;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 530
565 #network-container { 531 #network-container {
566 overflow-y: auto; 532 overflow-y: auto;
567 overflow-x: hidden; 533 overflow-x: hidden;
568 } 534 }
569 535
570 /* Brief mode peculiarities. */ 536 /* Brief mode peculiarities. */
571 #network-container.brief-mode .network-timeline-grid { 537 #network-container.brief-mode .network-timeline-grid {
572 display: none; 538 display: none;
573 } 539 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/inspectorCommon.css ('k') | Source/devtools/front_end/networkPanel.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698