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

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

Issue 3002843002: Introduce heap snapshot into Memory Dashboard (Closed)
Patch Set: Created 3 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 box-sizing: border-box; 5 box-sizing: border-box;
6 } 6 }
7 7
8 body { 8 body {
9 padding-top: 56px; 9 padding-top: 56px;
10 color: #333; 10 color: #333;
(...skipping 1611 matching lines...) Expand 10 before | Expand all | Expand 10 after
1622 1622
1623 memory-dashboard memory-graph { 1623 memory-dashboard memory-graph {
1624 height: 350px; 1624 height: 350px;
1625 } 1625 }
1626 1626
1627 memory-dashboard memory-profile { 1627 memory-dashboard memory-profile {
1628 position: absolute; 1628 position: absolute;
1629 bottom: 0; 1629 bottom: 0;
1630 left: 0; 1630 left: 0;
1631 right: 0; 1631 right: 0;
1632 top: 340px; 1632 top: 300px;
1633 }
1634
1635 memory-dashboard memory-profile memory-allocations {
1636 position: absolute;
1637 bottom: 0;
1638 left: 0;
1639 right: 0;
1640 top: 40px;
1641 }
1642
1643 memory-dashboard memory-profile memory-snapshot {
1644 position: absolute;
1645 bottom: 0;
1646 left: 0;
1647 right: 0;
1648 top: 40px;
1633 } 1649 }
1634 1650
1635 /* metric-graph */ 1651 /* metric-graph */
1636 1652
1637 metric-graph { 1653 metric-graph {
1638 display: block; 1654 display: block;
1639 } 1655 }
1640 1656
1641 metric-graph .graph { 1657 metric-graph .graph {
1642 height: 100%; 1658 height: 100%;
1643 margin-top: -30px; 1659 margin-top: -30px;
1644 padding: 20px; 1660 padding: 20px;
1645 padding-top: 60px; 1661 padding-top: 60px;
1646 } 1662 }
1647 1663
1648 metric-graph .graph > div { 1664 metric-graph .graph > div {
1649 height: 100%; 1665 height: 100%;
1650 } 1666 }
1651 1667
1652 /* memory-profile */ 1668 /* memory-allocations */
1653 1669
1654 memory-profile .container { 1670 memory-allocations .container {
1655 padding-left: 5%; 1671 padding-left: 5%;
1656 padding-right: 5%; 1672 padding-right: 5%;
1657 } 1673 }
1658 1674
1659 memory-profile .collection-item { 1675 memory-allocations .collection-item {
1660 background-color: #FFFFFF; 1676 background-color: #FFFFFF;
1661 box-sizing: border-box; 1677 box-sizing: border-box;
1662 line-height: 20px; 1678 line-height: 20px;
1663 } 1679 }
1664 1680
1665 memory-profile .collection-item:hover { 1681 memory-allocations .collection-item:hover {
1666 background-color: #d2e7fe; 1682 background-color: #d2e7fe;
1667 } 1683 }
1668 1684
1669 memory-profile .header .collection-item:hover { 1685 memory-allocations .header .collection-item:hover {
1670 background-color: #FFFFFF; 1686 background-color: #FFFFFF;
1671 } 1687 }
1672 1688
1673 memory-profile .header .collection-item:last-child { 1689 memory-allocations .header .collection-item:last-child {
1674 margin-bottom: -3px; 1690 margin-bottom: -3px;
1675 border-bottom: solid 1px #AAAAAA; 1691 border-bottom: solid 1px #AAAAAA;
1676 } 1692 }
1677 1693
1678 memory-profile .header .collection-item span { 1694 memory-allocations .header .collection-item span {
1679 font-weight: bolder; 1695 font-weight: bolder;
1680 } 1696 }
1681 1697
1682 memory-profile .collection-item :nth-child(2n+2).group, 1698 memory-allocations .collection-item :nth-child(2n+2).group,
1683 memory-profile .collection-item :nth-child(4n+3), 1699 memory-allocations .collection-item :nth-child(4n+3),
1684 memory-profile .collection-item :nth-child(4n+4) { 1700 memory-allocations .collection-item :nth-child(4n+4) {
1685 background-color: #EEEEEE; 1701 background-color: #EEEEEE;
1686 } 1702 }
1687 1703
1688 memory-profile .collection-item:hover :nth-child(2n+2).group, 1704 memory-allocations .collection-item:hover :nth-child(2n+2).group,
1689 memory-profile .collection-item:hover :nth-child(4n+3), 1705 memory-allocations .collection-item:hover :nth-child(4n+3),
1690 memory-profile .collection-item:hover :nth-child(4n+4) { 1706 memory-allocations .collection-item:hover :nth-child(4n+4) {
1691 background-color: #afd5fd; 1707 background-color: #afd5fd;
1692 } 1708 }
1693 1709
1694 memory-profile .header .collection-item :nth-child(2n+1).group, 1710 memory-allocations .header .collection-item :nth-child(2n+1).group,
1695 memory-profile .header .collection-item :nth-child(4n+1), 1711 memory-allocations .header .collection-item :nth-child(4n+1),
1696 memory-profile .header .collection-item :nth-child(4n+2) { 1712 memory-allocations .header .collection-item :nth-child(4n+2) {
1697 background-color: #FFFFFF; 1713 background-color: #FFFFFF;
1698 } 1714 }
1699 1715
1700 memory-profile .header .collection-item :nth-child(2n+2).group, 1716 memory-allocations .header .collection-item :nth-child(2n+2).group,
1701 memory-profile .header .collection-item :nth-child(4n+3), 1717 memory-allocations .header .collection-item :nth-child(4n+3),
1702 memory-profile .header .collection-item :nth-child(4n+4) { 1718 memory-allocations .header .collection-item :nth-child(4n+4) {
1703 background-color: #DDDDDD; 1719 background-color: #DDDDDD;
1704 } 1720 }
1705 1721
1706 memory-profile .collection-item .group { 1722 memory-allocations .collection-item .group {
1707 display: inline-block; 1723 display: inline-block;
1708 width: 12em; 1724 width: 12em;
1709 text-align: right; 1725 text-align: right;
1710 padding-right: 0.5em; 1726 padding-right: 0.5em;
1711 line-height: 20px; 1727 line-height: 20px;
1712 border-right: solid 1px #AAAAAA; 1728 border-right: solid 1px #AAAAAA;
1713 } 1729 }
1714 1730
1715 memory-profile .collection-item .bytes { 1731 memory-allocations .collection-item .bytes {
1716 display: inline-block; 1732 display: inline-block;
1717 width: 6em; 1733 width: 6em;
1718 text-align: right; 1734 text-align: right;
1719 line-height: 20px; 1735 line-height: 20px;
1720 padding-right: 0.5em; 1736 padding-right: 0.5em;
1721 } 1737 }
1722 1738
1723 memory-profile .collection-item .instances { 1739 memory-allocations .collection-item .instances {
1724 display: inline-block; 1740 display: inline-block;
1725 width: 6em; 1741 width: 6em;
1726 text-align: right; 1742 text-align: right;
1727 padding-right: 0.5em; 1743 padding-right: 0.5em;
1728 line-height: 20px; 1744 line-height: 20px;
1729 border-right: solid 1px #AAAAAA; 1745 border-right: solid 1px #AAAAAA;
1730 } 1746 }
1731 1747
1732 memory-profile .collection-item .name { 1748 memory-allocations .collection-item .name {
1733 padding-left: 0.5em; 1749 padding-left: 0.5em;
1734 display: inline-block; 1750 display: inline-block;
1735 } 1751 }
1736 1752
1737 memory-profile .collection-item > button, 1753 memory-allocations .collection-item > button,
1738 memory-profile .collection-item > button:active, 1754 memory-allocations .collection-item > button:active,
1739 memory-profile .collection-item .group button, 1755 memory-allocations .collection-item .group button,
1740 memory-profile .collection-item .group button:active { 1756 memory-allocations .collection-item .group button:active {
1741 background-color: transparent; 1757 background-color: transparent;
1742 color: #0489c3; 1758 color: #0489c3;
1743 border-style: none; 1759 border-style: none;
1744 } 1760 }
1745 1761
1746 memory-profile .collection-item > button:hover, 1762 memory-allocations .collection-item > button:hover,
1747 memory-profile .collection-item .group button:hover { 1763 memory-allocations .collection-item .group button:hover {
1748 text-decoration: underline; 1764 text-decoration: underline;
1749 } 1765 }
1750 1766
1767 /* memory-profile */
1768
1769 memory-profile .tab_button {
1770 float: right;
1771 padding: 10px 5px;
1772 margin: 0px 1px;
1773 }
1774
1775 /* memory-snapshot */
1776
1777 memory-snapshot .statusMessage {
1778 font-size: 150%;
1779 font-weight: bold;
1780 }
1781 memory-snapshot .statusBox {
1782 height: 100%;
1783 padding: 1em;
1784 }
1785 memory-snapshot .explanation {
1786 display: block;
1787 display: -webkit-box;
1788 -webkit-line-clamp: 4;
1789 -webkit-box-orient: vertical;
1790 max-height: 80px;
1791 overflow: hidden;
1792 text-overflow: ellipsis;
1793 }
1794 memory-snapshot virtual-tree {
1795 position: absolute;
1796 height: auto;
1797 top: 50px;
1798 bottom: 0;
1799 left: 0;
1800 right: 0;
1801 }
1802 memory-snapshot .tree-item {
1803 box-sizing: border-box;
1804 line-height: 30px;
1805 height: 30px;
1806 padding-left: 5%;
1807 padding-right: 5%;
1808 }
1809 memory-snapshot .tree-item > .size,
1810 memory-snapshot .tree-item > .percentage {
1811 display: inline-block;
1812 text-align: right;
1813 width: 4em;
1814 margin-left: 0.25em;
1815 margin-right: 0.25em;
1816 }
1817
1818 memory-snapshot .tree-item > .name {
1819 display: inline;
1820 margin-left: 0.5em;
1821 }
1822
1751 /* metric-graph */ 1823 /* metric-graph */
1752 1824
1753 metrics-page > div { 1825 metrics-page > div {
1754 display: block; 1826 display: block;
1755 height: 100%; 1827 height: 100%;
1756 } 1828 }
1757 1829
1758 metrics-page > div > .graph { 1830 metrics-page > div > .graph {
1759 display: block; 1831 display: block;
1760 height: 100%; 1832 height: 100%;
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after
2549 2621
2550 vm-connect-target > button.delete-button:hover { 2622 vm-connect-target > button.delete-button:hover {
2551 background: #ff0000; 2623 background: #ff0000;
2552 } 2624 }
2553 2625
2554 /* vm-connect */ 2626 /* vm-connect */
2555 2627
2556 vm-connect ul { 2628 vm-connect ul {
2557 list-style-type: none; 2629 list-style-type: none;
2558 } 2630 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698