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

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

Issue 2996353002: Restyle Observatory Memory Dashboard buttons (Closed)
Patch Set: Better layout 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
« no previous file with comments | « no previous file | runtime/observatory/lib/src/elements/memory/allocations.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1607 matching lines...) Expand 10 before | Expand all | Expand 10 after
1618 } 1618 }
1619 1619
1620 /* memory-dashboard */ 1620 /* memory-dashboard */
1621 1621
1622 memory-dashboard { 1622 memory-dashboard {
1623 display: block; 1623 display: block;
1624 height: 100%; 1624 height: 100%;
1625 margin-top: -30px; 1625 margin-top: -30px;
1626 } 1626 }
1627 1627
1628 memory-dashboard button:disabled,
1629 memory-dashboard button:disabled:hover {
1630 text-decoration: none;
1631 background-color: #eee;
1632 background-image: linear-gradient(#eee, #eee);
1633 border: 1px solid #eee;
1634 border-radius: 2px;
1635 cursor: default;
1636 }
1637
1638
1639 memory-dashboard button,
1640 memory-dashboard button:active {
1641 text-decoration: none;
1642 background-color: #ddd;
1643 background-image: linear-gradient(#eee, #ddd);
1644 border: 1px solid #d5d5d5;
1645 border-radius: 2px;
1646 cursor: pointer;
1647 }
1648
1649 memory-dashboard button:hover {
1650 text-decoration: none;
1651 background-color: #ccc;
1652 background-image: linear-gradient(#ddd, #ccc);
1653 border-color: #c7c7c7;
1654 }
1655
1628 memory-dashboard memory-graph { 1656 memory-dashboard memory-graph {
1629 height: 350px; 1657 height: 350px;
1630 } 1658 }
1631 1659
1632 memory-dashboard memory-profile { 1660 memory-dashboard memory-profile {
1633 position: absolute; 1661 position: absolute;
1634 bottom: 0; 1662 bottom: 0;
1635 left: 0; 1663 left: 0;
1636 right: 0; 1664 right: 0;
1637 top: 300px; 1665 top: 300px;
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
1753 memory-allocations .collection-item .name { 1781 memory-allocations .collection-item .name {
1754 padding-left: 0.5em; 1782 padding-left: 0.5em;
1755 padding-right: 0.5em; 1783 padding-right: 0.5em;
1756 display: inline-block; 1784 display: inline-block;
1757 } 1785 }
1758 1786
1759 memory-allocations .collection-item > button, 1787 memory-allocations .collection-item > button,
1760 memory-allocations .collection-item > button:active, 1788 memory-allocations .collection-item > button:active,
1761 memory-allocations .collection-item .group button, 1789 memory-allocations .collection-item .group button,
1762 memory-allocations .collection-item .group button:active { 1790 memory-allocations .collection-item .group button:active {
1763 background-color: transparent; 1791 background: transparent;
1764 color: #0489c3; 1792 color: #0489c3;
1765 border-style: none; 1793 border: 0px none;
1794 border-radius: 0px;
1795 padding: 0;
1766 } 1796 }
1767 1797
1768 memory-allocations .collection-item > button:hover, 1798 memory-allocations .collection-item > button:hover,
1769 memory-allocations .collection-item .group button:hover { 1799 memory-allocations .collection-item .group button:hover {
1770 text-decoration: underline; 1800 text-decoration: underline;
1801 border-radius: 0px;
1771 } 1802 }
1772 1803
1773 /* memory-profile */ 1804 /* memory-profile */
1774 1805
1775 memory-profile .tab_button { 1806 memory-profile .header_button {
1776 float: right; 1807 padding: 3px 5px;
1777 padding: 10px 5px;
1778 margin: 0px 1px; 1808 margin: 0px 1px;
1779 } 1809 }
1780 1810
1811 memory-profile .tab_buttons {
1812 float: right;
1813 }
1814
1815 memory-profile .tab_buttons button {
1816 padding: 10px 5px;
1817 }
1818
1819 memory-profile .tab_buttons button:not(:first-child) {
1820 border-top-left-radius: 0px;
1821 border-bottom-left-radius: 0px;
1822 }
1823
1824 memory-profile .tab_buttons button:not(:last-child) {
1825 border-top-right-radius: 0px;
1826 border-bottom-right-radius: 0px;
1827 }
1828
1781 /* memory-snapshot */ 1829 /* memory-snapshot */
1782 1830
1783 memory-snapshot .statusMessage { 1831 memory-snapshot .statusMessage {
1784 font-size: 150%; 1832 font-size: 150%;
1785 font-weight: bold; 1833 font-weight: bold;
1786 } 1834 }
1787 memory-snapshot .statusBox { 1835 memory-snapshot .statusBox {
1788 height: 100%; 1836 height: 100%;
1789 padding: 1em; 1837 padding: 1em;
1790 } 1838 }
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
2521 } 2569 }
2522 2570
2523 virtual-collection .viewport { 2571 virtual-collection .viewport {
2524 position: absolute; 2572 position: absolute;
2525 display: block; 2573 display: block;
2526 overflow-y: auto; 2574 overflow-y: auto;
2527 overflow-x: auto; 2575 overflow-x: auto;
2528 top: 0; 2576 top: 0;
2529 bottom: 0; 2577 bottom: 0;
2530 right: 0; 2578 right: 0;
2531 left: 0; 2579 left: 0;
2532 } 2580 }
2533 2581
2534 virtual-collection .header { 2582 virtual-collection .header {
2535 background: white; 2583 background: white;
2536 position: relative; 2584 position: relative;
2537 display: block; 2585 display: block;
2538 z-index: +1; 2586 z-index: +1;
2539 } 2587 }
2540 2588
2541 virtual-collection .spacer { 2589 virtual-collection .spacer {
(...skipping 20 matching lines...) Expand all
2562 display: inline-block; 2610 display: inline-block;
2563 } 2611 }
2564 2612
2565 virtual-collection .buffer > div { 2613 virtual-collection .buffer > div {
2566 min-width: 100%; 2614 min-width: 100%;
2567 white-space: nowrap; 2615 white-space: nowrap;
2568 } 2616 }
2569 2617
2570 /* virtual-tree */ 2618 /* virtual-tree */
2571 2619
2572 virtual-tree .expander { 2620 virtual-tree .expander,
2621 virtual-tree .expander:hover,
2622 virtual-tree .expander:active {
2573 display: inline-block; 2623 display: inline-block;
2574 text-align: center; 2624 text-align: center;
2575 font-weight: bold; 2625 font-weight: bold;
2576 font-size: 18px; 2626 font-size: 18px;
2577 width: 19px; 2627 width: 19px;
2578 border: none; 2628 border: 0px none;
2579 background-color: transparent; 2629 background: transparent;
2630 padding: 0;
2580 } 2631 }
2581 2632
2582 virtual-tree .expander:focus { 2633 virtual-tree .expander:focus {
2583 outline: none; 2634 outline: none;
2584 } 2635 }
2585 2636
2586 virtual-tree .lines, 2637 virtual-tree .lines,
2587 virtual-tree .lines > span { 2638 virtual-tree .lines > span {
2588 display: inline-block; 2639 display: inline-block;
2589 vertical-align: top; 2640 vertical-align: top;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
2643 2694
2644 vm-connect-target > button.delete-button:hover { 2695 vm-connect-target > button.delete-button:hover {
2645 background: #ff0000; 2696 background: #ff0000;
2646 } 2697 }
2647 2698
2648 /* vm-connect */ 2699 /* vm-connect */
2649 2700
2650 vm-connect ul { 2701 vm-connect ul {
2651 list-style-type: none; 2702 list-style-type: none;
2652 } 2703 }
OLDNEW
« no previous file with comments | « no previous file | runtime/observatory/lib/src/elements/memory/allocations.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698