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

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

Issue 2306483002: Converted Observatory code-view element (Closed)
Patch Set: Fixed tables headers 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 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 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 line-height: 25px; 571 line-height: 25px;
572 height: 25px; 572 height: 25px;
573 padding-left: 10%; 573 padding-left: 10%;
574 padding-right: 10%; 574 padding-right: 10%;
575 } 575 }
576 576
577 class-tree virtual-tree .class-tree-item .name { 577 class-tree virtual-tree .class-tree-item .name {
578 margin-left: 0.5em; 578 margin-left: 0.5em;
579 } 579 }
580 580
581 /* code-view */
582
583 code-view .table {
584 table-layout: fixed;
585 }
586
587 code-view th:nth-of-type(1),
588 code-view td:nth-of-type(1) {
589 min-width: 10em;
590 text-align: left;
591 }
592
593 code-view th:nth-of-type(2),
594 code-view td:nth-of-type(2) {
595 min-width: 8em;
596 text-align: left;
597 }
598
599 code-view th:nth-of-type(3),
600 code-view td:nth-of-type(3) {
601 min-width: 8em;
602 text-align: left;
603 }
604
605 code-view th:nth-of-type(4),
606 code-view td:nth-of-type(4) {
607 text-align: left;
608 overflow: visible;
609 white-space: pre;
610 padding-right: 1em;
611 width: 1px;
612 }
613
614 code-view th:nth-of-type(5),
615 code-view td:nth-of-type(5) {
616 text-align: left;
617 overflow: visible;
618 }
619
620 code-view tr:hover > td {
621 background-color: #F4C7C3;
622 }
623
624 code-view .code-comment {
625 color: grey;
626 font-style: italic;
627 }
628
581 /* context-ref */ 629 /* context-ref */
582 /* TODO(cbernaschina) fix context-ref-wrapped to context-ref when wrapper 630 /* TODO(cbernaschina) fix context-ref-wrapped to context-ref when wrapper
583 removed */ 631 removed */
584 632
585 context-ref-wrapped > a[href]:hover { 633 context-ref-wrapped > a[href]:hover {
586 text-decoration: underline; 634 text-decoration: underline;
587 } 635 }
588 context-ref-wrapped > a[href] { 636 context-ref-wrapped > a[href] {
589 color: #0489c3; 637 color: #0489c3;
590 text-decoration: none; 638 text-decoration: none;
(...skipping 1036 matching lines...) Expand 10 before | Expand all | Expand 10 after
1627 script-inset-wrapped .hotProfile { 1675 script-inset-wrapped .hotProfile {
1628 background-color: #faa; 1676 background-color: #faa;
1629 } 1677 }
1630 1678
1631 /* stack-trace-tree-config */ 1679 /* stack-trace-tree-config */
1632 1680
1633 stack-trace-tree-config { 1681 stack-trace-tree-config {
1634 white-space: nowrap; 1682 white-space: nowrap;
1635 } 1683 }
1636 1684
1685 /* type-arguments-ref */
1686
1687 type-arguments-ref a[href]:hover {
1688 text-decoration: underline;
1689 }
1690 type-arguments-ref a[href] {
1691 color: #0489c3;
1692 text-decoration: none;
1693 }
1694
1695 /* token-stream-ref */
1696
1697 token-stream-ref a[href]:hover {
1698 text-decoration: underline;
1699 }
1700 token-stream-ref a[href] {
1701 color: #0489c3;
1702 text-decoration: none;
1703 }
1704
1637 /* view-footer */ 1705 /* view-footer */
1638 1706
1639 view-footer { 1707 view-footer {
1640 padding: 1em; 1708 padding: 1em;
1641 padding-top: 10.3em; 1709 padding-top: 10.3em;
1642 float: right; 1710 float: right;
1643 align-content: right; 1711 align-content: right;
1644 } 1712 }
1645 1713
1646 view-footer > a { 1714 view-footer > a {
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
1757 1825
1758 vm-connect-target > button.delete-button:hover { 1826 vm-connect-target > button.delete-button:hover {
1759 background: #ff0000; 1827 background: #ff0000;
1760 } 1828 }
1761 1829
1762 /* vm-connect */ 1830 /* vm-connect */
1763 1831
1764 vm-connect ul { 1832 vm-connect ul {
1765 list-style-type: none; 1833 list-style-type: none;
1766 } 1834 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/code_view.html ('k') | runtime/observatory/lib/src/elements/helpers/any_ref.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698