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

Side by Side Diff: runtime/observatory/lib/src/elements/css/shared.css

Issue 2255613002: Converted Observatory heap-profile element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Better sorting tests Created 4 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 /* Global styles */ 1 /* Global styles */
2 * { 2 * {
3 margin: 0; 3 margin: 0;
4 padding: 0; 4 padding: 0;
5 font: 400 14px 'Montserrat', sans-serif; 5 font: 400 14px 'Montserrat', sans-serif;
6 color: #333; 6 color: #333;
7 box-sizing: border-box; 7 box-sizing: border-box;
8 } 8 }
9 9
10 body { 10 body {
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 -ms-transform: translate3d(10px, 0, 0); 363 -ms-transform: translate3d(10px, 0, 0);
364 transform: translate3d(10px, 0, 0); 364 transform: translate3d(10px, 0, 0);
365 } 365 }
366 } 366 }
367 367
368 .shake { 368 .shake {
369 animation: shake 0.5s; 369 animation: shake 0.5s;
370 -webkit-animation: shake 0.5s; 370 -webkit-animation: shake 0.5s;
371 } 371 }
372 372
373 /* allocation-profile */
374
375 allocation-profile .heap-space {
376 display: inline-block;
377 width: 50%;
378 }
379
380 allocation-profile .heap-space.right,
381 allocation-profile .heap-space.right .memberList,
382 allocation-profile .heap-space.right .legend * {
383 direction: rtl;
384 }
385
386 allocation-profile .heap-space.right * {
387 direction: ltr;
388 text-align: right;
389 }
390
391 allocation-profile div.chart {
392 display: block;
393 position: relative;
394 height: 150px;
395 }
396 allocation-profile div.chart > div.host {
397 display: inline-block;
398 position: absolute;
399 bottom: 0px;
400 top: 0;
401 }
402 allocation-profile div.chart > div.legend {
403 position: absolute;
404 width: 150px;
405 top: 25px;
406 bottom: 0;
407 overflow-y: auto;
408 }
409 allocation-profile .heap-space.left div.host {
410 left: 200px;
411 width: 180px;
412 }
413 allocation-profile .heap-space.right div.host {
414 right: 150px;
415 width: 180px;
416 }
417 allocation-profile .heap-space.left div.legend {
418 left: 0;
419 }
420 allocation-profile .heap-space.right div.legend {
421 right: 0;
422 }
423
424 allocation-profile .collection {
425 position: absolute;
426 bottom: 0;
427 left: 0;
428 right: 0;
429 top: 560px;
430 }
431
432 allocation-profile .collection-item {
433 box-sizing: border-box;
434 line-height: 20px;
435 margin-left: 5%;
436 margin-right: 5%;
437 }
438
439 allocation-profile .header .collection-item:last-child {
440 margin-bottom: -3px;
441 border-bottom: solid 1px #AAAAAA;
442 }
443
444 allocation-profile .header .collection-item span {
445 font-weight: bolder;
446 }
447
448 allocation-profile .collection-item :nth-child(2n+2).group,
449 allocation-profile .collection-item :nth-child(4n+3).bytes,
450 allocation-profile .collection-item :nth-child(4n+3).instances,
451 allocation-profile .collection-item :nth-child(4n+4).bytes,
452 allocation-profile .collection-item :nth-child(4n+4).instances {
453 background-color: #EEEEEE;
454 }
455
456 allocation-profile .collection-item:hover :nth-child(2n+2).group,
457 allocation-profile .collection-item:hover :nth-child(4n+3).bytes,
458 allocation-profile .collection-item:hover :nth-child(4n+3).instances,
459 allocation-profile .collection-item:hover :nth-child(4n+4).bytes,
460 allocation-profile .collection-item:hover :nth-child(4n+4).instances {
461 background-color: #afd5fd;
462 }
463
464 allocation-profile .header .collection-item :nth-child(2n+2).group,
465 allocation-profile .header .collection-item :nth-child(4n+3).bytes,
466 allocation-profile .header .collection-item :nth-child(4n+3).instances,
467 allocation-profile .header .collection-item :nth-child(4n+4).bytes,
468 allocation-profile .header .collection-item :nth-child(4n+4).instances {
469 background-color: #DDDDDD;
470 }
471
472 allocation-profile .scroller .collection-item:hover {
473 background-color: #d2e7fe;
474 }
475
476 allocation-profile .collection-item .group {
477 background-color: white;
478 display: inline-block;
479 width: 12em;
480 text-align: right;
481 padding-right: 0.5em;
482 line-height: 20px;
483 border-right: solid 1px #AAAAAA;
484 }
485
486 allocation-profile .collection-item .bytes {
487 background-color: white;
488 display: inline-block;
489 width: 6em;
490 text-align: right;
491 line-height: 20px;
492 padding-right: 0.5em;
493 }
494
495 allocation-profile .collection-item .instances {
496 background-color: white;
497 display: inline-block;
498 width: 6em;
499 text-align: right;
500 padding-right: 0.5em;
501 line-height: 20px;
502 border-right: solid 1px #AAAAAA;
503 }
504
505 allocation-profile .collection-item .name {
506 background-color: white;
507 padding-left: 0.5em;
508 }
509
510 allocation-profile .collection-item > button,
511 allocation-profile .collection-item > button:active {
512 background-color: transparent;
513 color: #0489c3;
514 border-style: none;
515 }
516
517 allocation-profile .collection-item > button:hover {
518 text-decoration: underline;
519 }
520
373 /* class-ref */ 521 /* class-ref */
374 /* TODO(cbernaschina) fix class-ref-wrapped to class-ref when wrapper 522 /* TODO(cbernaschina) fix class-ref-wrapped to class-ref when wrapper
375 removed */ 523 removed */
376 524
377 class-ref-wrapped > a[href]:hover { 525 class-ref-wrapped > a[href]:hover {
378 text-decoration: underline; 526 text-decoration: underline;
379 } 527 }
380 class-ref-wrapped > a[href] { 528 class-ref-wrapped > a[href] {
381 color: #0489c3; 529 color: #0489c3;
382 text-decoration: none; 530 text-decoration: none;
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 removed */ 768 removed */
621 769
622 library-ref-wrapped > a[href]:hover { 770 library-ref-wrapped > a[href]:hover {
623 text-decoration: underline; 771 text-decoration: underline;
624 } 772 }
625 library-ref-wrapped > a[href] { 773 library-ref-wrapped > a[href] {
626 color: #0489c3; 774 color: #0489c3;
627 text-decoration: none; 775 text-decoration: none;
628 } 776 }
629 777
778 .nav-option {
779 float: right;
780 margin: 3px;
781 padding: 8px;
782 }
783
784 .nav-option label {
785 color: white;
786 }
787
630 /* nav-notify */ 788 /* nav-notify */
631 /* TODO(cbernaschina) fix nav-notify-wrapped to nav-notify when wrapper 789 /* TODO(cbernaschina) fix nav-notify-wrapped to nav-notify when wrapper
632 removed */ 790 removed */
633 nav-notify-wrapped > div { 791 nav-notify-wrapped > div {
634 float: right; 792 float: right;
635 } 793 }
636 nav-notify-wrapped > div > div { 794 nav-notify-wrapped > div > div {
637 display: block; 795 display: block;
638 position: absolute; 796 position: absolute;
639 top: 98%; 797 top: 98%;
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
828 margin-bottom: 0.17em; 986 margin-bottom: 0.17em;
829 font-size: 90%; 987 font-size: 90%;
830 float: right; 988 float: right;
831 clear: both; 989 clear: both;
832 display: block; 990 display: block;
833 } 991 }
834 992
835 /* virtual-collection */ 993 /* virtual-collection */
836 994
837 virtual-collection { 995 virtual-collection {
996 position: relative;
838 display: block; 997 display: block;
839 overflow-y: scroll; 998 overflow-y: auto;
840 width: 100%; 999 width: 100%;
841 height: 100%; 1000 height: 100%;
842 } 1001 }
843 1002
1003 virtual-collection .header {
1004 background: white;
1005 position: relative;
1006 display: inline-block;
1007 min-width: 100%;
1008 z-index: +1;
1009 }
1010
844 virtual-collection .scroller { 1011 virtual-collection .scroller {
845 overflow: hidden; 1012 overflow: hidden;
846 background: transparent; 1013 background: transparent;
847 display: inline-block; 1014 display: inline-block;
848 min-width: 100%; 1015 min-width: 100%;
849 } 1016 }
850 1017
851 virtual-collection .shifter { 1018 virtual-collection .shifter {
852 background: transparent; 1019 background: transparent;
853 position: relative; 1020 position: relative;
854 display: inline-block; 1021 display: inline-block;
855 min-width: 100%; 1022 min-width: 100%;
856 } 1023 }
857 1024
1025 virtual-collection .header > *,
858 virtual-collection .shifter > * { 1026 virtual-collection .shifter > * {
859 display: inline-block; 1027 display: inline-block;
860 min-width: 100%; 1028 min-width: 100%;
861 white-space: nowrap; 1029 white-space: nowrap;
862 } 1030 }
863 1031
864 /* virtual-tree */ 1032 /* virtual-tree */
865 1033
866 virtual-tree .expander { 1034 virtual-tree .expander {
867 display: inline-block; 1035 display: inline-block;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
928 1096
929 vm-connect-target > button.delete-button:hover { 1097 vm-connect-target > button.delete-button:hover {
930 background: #ff0000; 1098 background: #ff0000;
931 } 1099 }
932 1100
933 /* vm-connect */ 1101 /* vm-connect */
934 1102
935 vm-connect ul { 1103 vm-connect ul {
936 list-style-type: none; 1104 list-style-type: none;
937 } 1105 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/cpu_profile.dart ('k') | runtime/observatory/lib/src/elements/heap_profile.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698