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

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: Optimizations & Dead code removal 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 display: inline-block;
478 width: 12em;
479 text-align: right;
480 padding-right: 0.5em;
481 line-height: 20px;
482 border-right: solid 1px #AAAAAA;
483 }
484
485 allocation-profile .collection-item .bytes {
486 display: inline-block;
487 width: 6em;
488 text-align: right;
489 line-height: 20px;
490 padding-right: 0.5em;
491 }
492
493 allocation-profile .collection-item .instances {
494 display: inline-block;
495 width: 6em;
496 text-align: right;
497 padding-right: 0.5em;
498 line-height: 20px;
499 border-right: solid 1px #AAAAAA;
500 }
501
502 allocation-profile .collection-item .name {
503 padding-left: 0.5em;
504 }
505
506 allocation-profile .collection-item > button,
507 allocation-profile .collection-item > button:active {
508 background-color: transparent;
509 color: #0489c3;
510 border-style: none;
511 }
512
513 allocation-profile .collection-item > button:hover {
514 text-decoration: underline;
515 }
516
373 /* class-ref */ 517 /* class-ref */
374 /* TODO(cbernaschina) fix class-ref-wrapped to class-ref when wrapper 518 /* TODO(cbernaschina) fix class-ref-wrapped to class-ref when wrapper
375 removed */ 519 removed */
376 520
377 class-ref-wrapped > a[href]:hover { 521 class-ref-wrapped > a[href]:hover {
378 text-decoration: underline; 522 text-decoration: underline;
379 } 523 }
380 class-ref-wrapped > a[href] { 524 class-ref-wrapped > a[href] {
381 color: #0489c3; 525 color: #0489c3;
382 text-decoration: none; 526 text-decoration: none;
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 removed */ 741 removed */
598 742
599 library-ref-wrapped > a[href]:hover { 743 library-ref-wrapped > a[href]:hover {
600 text-decoration: underline; 744 text-decoration: underline;
601 } 745 }
602 library-ref-wrapped > a[href] { 746 library-ref-wrapped > a[href] {
603 color: #0489c3; 747 color: #0489c3;
604 text-decoration: none; 748 text-decoration: none;
605 } 749 }
606 750
751 .nav-option {
752 float: right;
753 margin: 3px;
754 padding: 8px;
755 }
756
757 .nav-option label {
758 color: white;
759 }
760
607 /* nav-notify */ 761 /* nav-notify */
608 /* TODO(cbernaschina) fix nav-notify-wrapped to nav-notify when wrapper 762 /* TODO(cbernaschina) fix nav-notify-wrapped to nav-notify when wrapper
609 removed */ 763 removed */
610 nav-notify-wrapped > div { 764 nav-notify-wrapped > div {
611 float: right; 765 float: right;
612 } 766 }
613 nav-notify-wrapped > div > div { 767 nav-notify-wrapped > div > div {
614 display: block; 768 display: block;
615 position: absolute; 769 position: absolute;
616 top: 98%; 770 top: 98%;
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 margin-bottom: 0.17em; 959 margin-bottom: 0.17em;
806 font-size: 90%; 960 font-size: 90%;
807 float: right; 961 float: right;
808 clear: both; 962 clear: both;
809 display: block; 963 display: block;
810 } 964 }
811 965
812 /* virtual-collection */ 966 /* virtual-collection */
813 967
814 virtual-collection { 968 virtual-collection {
969 position: relative;
815 display: block; 970 display: block;
816 overflow-y: scroll; 971 overflow-y: auto;
817 width: 100%; 972 width: 100%;
818 height: 100%; 973 height: 100%;
819 } 974 }
820 975
976 virtual-collection .header {
977 background: white;
978 position: relative;
979 display: inline-block;
980 min-width: 100%;
981 z-index: +1;
982 }
983
821 virtual-collection .scroller { 984 virtual-collection .scroller {
822 overflow: hidden; 985 overflow: hidden;
823 background: transparent; 986 background: transparent;
824 display: inline-block; 987 display: inline-block;
825 min-width: 100%; 988 min-width: 100%;
826 } 989 }
827 990
828 virtual-collection .shifter { 991 virtual-collection .shifter {
829 background: transparent; 992 background: transparent;
830 position: relative; 993 position: relative;
831 display: inline-block; 994 display: inline-block;
832 min-width: 100%; 995 min-width: 100%;
833 } 996 }
834 997
998 virtual-collection .header > *,
835 virtual-collection .shifter > * { 999 virtual-collection .shifter > * {
836 display: inline-block; 1000 display: inline-block;
837 min-width: 100%; 1001 min-width: 100%;
838 white-space: nowrap; 1002 white-space: nowrap;
839 } 1003 }
840 1004
841 /* virtual-tree */ 1005 /* virtual-tree */
842 1006
843 virtual-tree .expander { 1007 virtual-tree .expander {
844 display: inline-block; 1008 display: inline-block;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
905 1069
906 vm-connect-target > button.delete-button:hover { 1070 vm-connect-target > button.delete-button:hover {
907 background: #ff0000; 1071 background: #ff0000;
908 } 1072 }
909 1073
910 /* vm-connect */ 1074 /* vm-connect */
911 1075
912 vm-connect ul { 1076 vm-connect ul {
913 list-style-type: none; 1077 list-style-type: none;
914 } 1078 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698