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

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

Issue 2273993002: Converted Observatory cpu-profile-table element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Addressed comments Created 4 years, 3 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 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 580
581 cpu-profile > cpu-profile-virtual-tree { 581 cpu-profile > cpu-profile-virtual-tree {
582 position: absolute; 582 position: absolute;
583 height: auto; 583 height: auto;
584 top: 320px; 584 top: 320px;
585 bottom: 0; 585 bottom: 0;
586 left: 0; 586 left: 0;
587 right: 0; 587 right: 0;
588 } 588 }
589 589
590 /* cpu-profile-table */
591
592 cpu-profile-table {
593 position: relative;
594 display: block;
595 height: 100%;
596 }
597 cpu-profile-table cpu-profile-virtual-tree {
598 height: 100%;
599 min-height: 600px;
600 padding-top: 250px;
601 margin-top: -250px;
602 }
603 cpu-profile-table .profile-trees {
604 vertical-align: text-top;
605 min-width: 100%;
606 height: 100%;
607 padding-top: 160px;
608 margin-top: -160px;
609 padding-bottom: 100px;
610 margin-bottom: -100px;
611 padding-left: 5%;
612 padding-right: 5%;
613 min-height: 600px;
614 }
615 cpu-profile-table .profile-trees virtual-collection {
616 height: 100%;
617 width: 100%;
618 border: solid 1px #888888;
619 box-shadow: 2px 2px 5px #888888;
620 }
621 cpu-profile-table .profile-trees > .profile-trees-all {
622 vertical-align: text-top;
623 display: inline-block;
624 width: 50%;
625 height: 100%;
626 padding: 5px;
627 }
628 cpu-profile-table .profile-trees > .profile-trees-current {
629 vertical-align: text-top;
630 display: inline-block;
631 width: 50%;
632 height: 100%;
633 }
634 cpu-profile-table .profile-trees .profile-trees-caller {
635 vertical-align: text-top;
636 display: inline-block;
637 width: 100%;
638 height: 50%;
639 padding: 5px;
640 margin-top: -17px;
641 padding-top: 22px;
642 }
643 cpu-profile-table .profile-trees .profile-trees-selected {
644 vertical-align: text-top;
645 display: block;
646 height: 24px;
647 line-height: 24px;
648 margin: 5px;
649 border: solid 1px #888888;
650 box-shadow: 2px 2px 5px #888888;
651 padding-left: 5px;
652 padding-right: 5px;
653 }
654 cpu-profile-table .profile-trees .profile-trees-selected > * {
655 white-space: nowrap;
656 text-overflow: ellipsis;
657 overflow: hidden;
658 display: inline-block;
659 width: 100%;
660 }
661 cpu-profile-table .profile-trees .profile-trees-callee {
662 vertical-align: text-top;
663 display: inline-block;
664 width: 100%;
665 height: 50%;
666 padding: 5px;
667 margin-bottom: -17px;
668 padding-bottom: 22px;
669 }
670 cpu-profile-table .function-item {
671 box-sizing: border-box;
672 line-height: 20px;
673 }
674 cpu-profile-table .header {
675 box-sizing: border-box;
676 line-height: 20px;
677 }
678 cpu-profile-table .header .function-item:last-child {
679 margin-bottom: -3px;
680 border-bottom: solid 1px #AAAAAA;
681 }
682 cpu-profile-table .function-item .inclusive,
683 cpu-profile-table .function-item .exclusive {
684 display: inline-block;
685 width: 7em;
686 text-align: right;
687 padding-right: 0.5em;
688 line-height: 20px;
689 }
690 cpu-profile-table .shifter .function-item .inclusive {
691 background-color: #EEEEEE;
692 }
693 cpu-profile-table .shifter .function-item.selected .inclusive {
694 background-color: #51a3fb;
695 }
696 cpu-profile-table .shifter .function-item:hover .inclusive {
697 background-color: #afd5fd;
698 }
699 cpu-profile-table .header .function-item .inclusive {
700 background-color: #DDDDDD;
701 }
702 cpu-profile-table .shifter .function-item.selected {
703 background-color: #60abfb;
704 }
705 cpu-profile-table .shifter .function-item:hover {
706 background-color: #d2e7fe;
707 }
708 cpu-profile-table .function-item .exclusive {
709 }
710 cpu-profile-table .function-item .name {
711 padding-left: 0.5em;
712 }
713 cpu-profile-table .function-item > button,
714 cpu-profile-table .function-item > button:active {
715 background-color: transparent;
716 color: #0489c3;
717 border-style: none;
718 }
719 cpu-profile-table .function-item > button:hover {
720 text-decoration: underline;
721 }
722
590 /* cpu-profile-virtual-tree */ 723 /* cpu-profile-virtual-tree */
591 724
592 cpu-profile-virtual-tree { 725 cpu-profile-virtual-tree {
593 display: block; 726 display: block;
594 height: 600px; 727 height: 600px;
595 } 728 }
596 729
597 cpu-profile-virtual-tree .tree-item { 730 cpu-profile-virtual-tree .tree-item {
598 box-sizing: border-box; 731 box-sizing: border-box;
599 line-height: 30px; 732 line-height: 30px;
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
1223 1356
1224 vm-connect-target > button.delete-button:hover { 1357 vm-connect-target > button.delete-button:hover {
1225 background: #ff0000; 1358 background: #ff0000;
1226 } 1359 }
1227 1360
1228 /* vm-connect */ 1361 /* vm-connect */
1229 1362
1230 vm-connect ul { 1363 vm-connect ul {
1231 list-style-type: none; 1364 list-style-type: none;
1232 } 1365 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/cpu_profile_table.html ('k') | runtime/observatory/lib/src/elements/function_ref.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698