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

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: Added tests 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 .profile-trees {
598 vertical-align: text-top;
599 min-width: 100%;
600 height: 100%;
601 padding-top: 160px;
602 margin-top: -160px;
603 padding-bottom: 100px;
604 margin-bottom: -100px;
605 padding-left: 5%;
606 padding-right: 5%;
607 min-height: 600px;
608 }
609 cpu-profile-table .profile-trees virtual-collection {
610 height: 100%;
611 width: 100%;
612 border: solid 1px #888888;
613 box-shadow: 2px 2px 5px #888888;
614 }
615 cpu-profile-table .profile-trees > .profile-trees-all {
616 vertical-align: text-top;
617 display: inline-block;
618 width: 50%;
619 height: 100%;
620 padding: 5px;
621 }
622 cpu-profile-table .profile-trees > .profile-trees-current {
623 vertical-align: text-top;
624 display: inline-block;
625 width: 50%;
626 height: 100%;
627 }
628 cpu-profile-table .profile-trees .profile-trees-caller {
629 vertical-align: text-top;
630 display: inline-block;
631 width: 100%;
632 height: 50%;
633 padding: 5px;
634 margin-top: -17px;
635 padding-top: 22px;
636 }
637 cpu-profile-table .profile-trees .profile-trees-selected {
638 vertical-align: text-top;
639 display: block;
640 height: 24px;
641 line-height: 24px;
642 margin: 5px;
643 border: solid 1px #888888;
644 box-shadow: 2px 2px 5px #888888;
645 padding-left: 5px;
646 padding-right: 5px;
647 }
648 cpu-profile-table .profile-trees .profile-trees-selected > * {
649 white-space: nowrap;
650 text-overflow: ellipsis;
651 overflow: hidden;
652 display: inline-block;
653 width: 100%;
654 }
655 cpu-profile-table .profile-trees .profile-trees-callee {
656 vertical-align: text-top;
657 display: inline-block;
658 width: 100%;
659 height: 50%;
660 padding: 5px;
661 margin-bottom: -17px;
662 padding-bottom: 22px;
663 }
664 cpu-profile-table .function-item {
665 box-sizing: border-box;
666 line-height: 20px;
667 }
668 cpu-profile-table .header {
669 box-sizing: border-box;
670 line-height: 20px;
671 }
672 cpu-profile-table .header .function-item:last-child {
673 margin-bottom: -3px;
674 border-bottom: solid 1px #AAAAAA;
675 }
676 cpu-profile-table .function-item .inclusive,
677 cpu-profile-table .function-item .exclusive {
678 display: inline-block;
679 width: 7em;
680 text-align: right;
681 padding-right: 0.5em;
682 line-height: 20px;
683 }
684 cpu-profile-table .shifter .function-item .inclusive {
685 background-color: #EEEEEE;
686 }
687 cpu-profile-table .shifter .function-item.selected .inclusive {
688 background-color: #51a3fb;
689 }
690 cpu-profile-table .shifter .function-item:hover .inclusive {
691 background-color: #afd5fd;
692 }
693 cpu-profile-table .header .function-item .inclusive {
694 background-color: #DDDDDD;
695 }
696 cpu-profile-table .shifter .function-item.selected {
697 background-color: #60abfb;
698 }
699 cpu-profile-table .shifter .function-item:hover {
700 background-color: #d2e7fe;
701 }
702 cpu-profile-table .function-item .exclusive {
703 }
704 cpu-profile-table .function-item .name {
705 padding-left: 0.5em;
706 }
707 cpu-profile-table .function-item > button,
708 cpu-profile-table .function-item > button:active {
709 background-color: transparent;
710 color: #0489c3;
711 border-style: none;
712 }
713 cpu-profile-table .function-item > button:hover {
714 text-decoration: underline;
715 }
716
590 /* cpu-profile-virtual-tree */ 717 /* cpu-profile-virtual-tree */
591 718
592 cpu-profile-virtual-tree { 719 cpu-profile-virtual-tree {
593 display: block; 720 display: block;
594 height: 600px; 721 height: 600px;
595 } 722 }
596 723
597 cpu-profile-virtual-tree .tree-item { 724 cpu-profile-virtual-tree .tree-item {
598 box-sizing: border-box; 725 box-sizing: border-box;
599 line-height: 30px; 726 line-height: 30px;
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
1223 1350
1224 vm-connect-target > button.delete-button:hover { 1351 vm-connect-target > button.delete-button:hover {
1225 background: #ff0000; 1352 background: #ff0000;
1226 } 1353 }
1227 1354
1228 /* vm-connect */ 1355 /* vm-connect */
1229 1356
1230 vm-connect ul { 1357 vm-connect ul {
1231 list-style-type: none; 1358 list-style-type: none;
1232 } 1359 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698