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

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

Issue 2998103002: Refactor of Observatory virtual-collection (Closed)
Patch Set: Remove unnecessary layer of indirection 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 | « runtime/observatory/lib/src/elements/containers/virtual_collection.dart ('k') | no next file » | 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 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 display: inline-block; 543 display: inline-block;
544 width: 6em; 544 width: 6em;
545 text-align: right; 545 text-align: right;
546 padding-right: 0.5em; 546 padding-right: 0.5em;
547 line-height: 20px; 547 line-height: 20px;
548 border-right: solid 1px #AAAAAA; 548 border-right: solid 1px #AAAAAA;
549 } 549 }
550 550
551 allocation-profile .collection-item .name { 551 allocation-profile .collection-item .name {
552 padding-left: 0.5em; 552 padding-left: 0.5em;
553 padding-right: 0.5em;
553 display: inline-block; 554 display: inline-block;
554 } 555 }
555 556
556 allocation-profile .collection-item > button, 557 allocation-profile .collection-item > button,
557 allocation-profile .collection-item > button:active { 558 allocation-profile .collection-item > button:active {
558 background-color: transparent; 559 background-color: transparent;
559 color: #0489c3; 560 color: #0489c3;
560 border-style: none; 561 border-style: none;
561 } 562 }
562 563
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 padding-right: 10%; 611 padding-right: 10%;
611 } 612 }
612 613
613 class-tree virtual-tree .class-tree-item { 614 class-tree virtual-tree .class-tree-item {
614 line-height: 25px; 615 line-height: 25px;
615 height: 25px; 616 height: 25px;
616 } 617 }
617 618
618 class-tree virtual-tree .class-tree-item .name { 619 class-tree virtual-tree .class-tree-item .name {
619 margin-left: 0.5em; 620 margin-left: 0.5em;
621 margin-right: 0.5em;
620 } 622 }
621 623
622 /* code-view */ 624 /* code-view */
623 625
624 code-view .table { 626 code-view .table {
625 table-layout: fixed; 627 table-layout: fixed;
626 } 628 }
627 629
628 code-view th:nth-of-type(1), 630 code-view th:nth-of-type(1),
629 code-view td:nth-of-type(1) { 631 code-view td:nth-of-type(1) {
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 border-bottom: solid 1px #AAAAAA; 796 border-bottom: solid 1px #AAAAAA;
795 } 797 }
796 cpu-profile-table .function-item .inclusive, 798 cpu-profile-table .function-item .inclusive,
797 cpu-profile-table .function-item .exclusive { 799 cpu-profile-table .function-item .exclusive {
798 display: inline-block; 800 display: inline-block;
799 width: 7em; 801 width: 7em;
800 text-align: right; 802 text-align: right;
801 padding-right: 0.5em; 803 padding-right: 0.5em;
802 line-height: 20px; 804 line-height: 20px;
803 } 805 }
804 cpu-profile-table .shifter .function-item .inclusive { 806 cpu-profile-table .buffer .function-item .inclusive {
805 background-color: #EEEEEE; 807 background-color: #EEEEEE;
806 } 808 }
807 cpu-profile-table .shifter .function-item.selected .inclusive { 809 cpu-profile-table .buffer .function-item.selected .inclusive {
808 background-color: #51a3fb; 810 background-color: #51a3fb;
809 } 811 }
810 cpu-profile-table .shifter .function-item:hover .inclusive { 812 cpu-profile-table .buffer .function-item:hover .inclusive {
811 background-color: #afd5fd; 813 background-color: #afd5fd;
812 } 814 }
813 cpu-profile-table .header .function-item .inclusive { 815 cpu-profile-table .header .function-item .inclusive {
814 background-color: #DDDDDD; 816 background-color: #DDDDDD;
815 } 817 }
816 cpu-profile-table .shifter .function-item.selected { 818 cpu-profile-table .buffer .function-item.selected {
817 background-color: #60abfb; 819 background-color: #60abfb;
818 } 820 }
819 cpu-profile-table .shifter .function-item:hover { 821 cpu-profile-table .buffer .function-item:hover {
820 background-color: #d2e7fe; 822 background-color: #d2e7fe;
821 } 823 }
822 cpu-profile-table .function-item .exclusive { 824 cpu-profile-table .function-item .exclusive {
823 } 825 }
824 cpu-profile-table .function-item .name { 826 cpu-profile-table .function-item .name {
825 padding-left: 0.5em; 827 padding-left: 0.5em;
828 padding-left: 0.5em;
826 } 829 }
827 cpu-profile-table .function-item > button, 830 cpu-profile-table .function-item > button,
828 cpu-profile-table .function-item > button:active { 831 cpu-profile-table .function-item > button:active {
829 background-color: transparent; 832 background-color: transparent;
830 color: #0489c3; 833 color: #0489c3;
831 border-style: none; 834 border-style: none;
832 } 835 }
833 cpu-profile-table .function-item > button:hover { 836 cpu-profile-table .function-item > button:hover {
834 text-decoration: underline; 837 text-decoration: underline;
835 } 838 }
(...skipping 23 matching lines...) Expand all
859 margin-right: 0.25em; 862 margin-right: 0.25em;
860 } 863 }
861 864
862 cpu-profile-virtual-tree .tree-item > .exclusive { 865 cpu-profile-virtual-tree .tree-item > .exclusive {
863 margin-right: 1.5em; 866 margin-right: 1.5em;
864 } 867 }
865 868
866 cpu-profile-virtual-tree .tree-item > .name { 869 cpu-profile-virtual-tree .tree-item > .name {
867 display: inline; 870 display: inline;
868 margin-left: 0.5em; 871 margin-left: 0.5em;
872 margin-right: 0.5em;
869 } 873 }
870 874
871 /* curly-block */ 875 /* curly-block */
872 876
873 curly-block span.curly-block { 877 curly-block span.curly-block {
874 color: #0489c3; 878 color: #0489c3;
875 cursor: pointer; 879 cursor: pointer;
876 } 880 }
877 curly-block span.curly-block.disabled { 881 curly-block span.curly-block.disabled {
878 color: white; 882 color: white;
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
1323 display: inline-block; 1327 display: inline-block;
1324 text-align: right; 1328 text-align: right;
1325 width: 4em; 1329 width: 4em;
1326 margin-left: 0.25em; 1330 margin-left: 0.25em;
1327 margin-right: 0.25em; 1331 margin-right: 0.25em;
1328 } 1332 }
1329 1333
1330 heap-snapshot .tree-item > .name { 1334 heap-snapshot .tree-item > .name {
1331 display: inline; 1335 display: inline;
1332 margin-left: 0.5em; 1336 margin-left: 0.5em;
1337 margin-right: 0.5em;
1333 } 1338 }
1334 1339
1335 1340
1336 /* icdata-ref */ 1341 /* icdata-ref */
1337 1342
1338 icdata-ref > a[href]:hover { 1343 icdata-ref > a[href]:hover {
1339 text-decoration: underline; 1344 text-decoration: underline;
1340 } 1345 }
1341 icdata-ref > a[href] { 1346 icdata-ref > a[href] {
1342 color: #0489c3; 1347 color: #0489c3;
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
1724 display: inline-block; 1729 display: inline-block;
1725 width: 6em; 1730 width: 6em;
1726 text-align: right; 1731 text-align: right;
1727 padding-right: 0.5em; 1732 padding-right: 0.5em;
1728 line-height: 20px; 1733 line-height: 20px;
1729 border-right: solid 1px #AAAAAA; 1734 border-right: solid 1px #AAAAAA;
1730 } 1735 }
1731 1736
1732 memory-profile .collection-item .name { 1737 memory-profile .collection-item .name {
1733 padding-left: 0.5em; 1738 padding-left: 0.5em;
1739 padding-right: 0.5em;
1734 display: inline-block; 1740 display: inline-block;
1735 } 1741 }
1736 1742
1737 memory-profile .collection-item > button, 1743 memory-profile .collection-item > button,
1738 memory-profile .collection-item > button:active, 1744 memory-profile .collection-item > button:active,
1739 memory-profile .collection-item .group button, 1745 memory-profile .collection-item .group button,
1740 memory-profile .collection-item .group button:active { 1746 memory-profile .collection-item .group button:active {
1741 background-color: transparent; 1747 background-color: transparent;
1742 color: #0489c3; 1748 color: #0489c3;
1743 border-style: none; 1749 border-style: none;
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
2052 persistent-handles-page { 2058 persistent-handles-page {
2053 display: block; 2059 display: block;
2054 height: 100%; 2060 height: 100%;
2055 } 2061 }
2056 persistent-handles-page .persistent-handles, 2062 persistent-handles-page .persistent-handles,
2057 persistent-handles-page .weak-persistent-handles { 2063 persistent-handles-page .weak-persistent-handles {
2058 margin-top: -70px; 2064 margin-top: -70px;
2059 padding-top: 70px; 2065 padding-top: 70px;
2060 height: 50%; 2066 height: 50%;
2061 } 2067 }
2062 persistent-handles-page virtual-collection {
2063 overflow-y: scroll;
2064 }
2065 persistent-handles-page .weak-item, 2068 persistent-handles-page .weak-item,
2066 persistent-handles-page .collection-item { 2069 persistent-handles-page .collection-item {
2067 box-sizing: border-box; 2070 box-sizing: border-box;
2068 line-height: 20px; 2071 line-height: 20px;
2069 padding-left: 5%; 2072 padding-left: 5%;
2070 padding-right: 5%; 2073 padding-right: 5%;
2071 } 2074 }
2072 persistent-handles-page .header { 2075 persistent-handles-page .header {
2073 box-sizing: border-box; 2076 box-sizing: border-box;
2074 line-height: 20px; 2077 line-height: 20px;
(...skipping 12 matching lines...) Expand all
2087 line-height: 20px; 2090 line-height: 20px;
2088 } 2091 }
2089 persistent-handles-page .weak-item .peer { 2092 persistent-handles-page .weak-item .peer {
2090 width: 11em; 2093 width: 11em;
2091 font-family: monospace; 2094 font-family: monospace;
2092 } 2095 }
2093 persistent-handles-page .weak-item .object { 2096 persistent-handles-page .weak-item .object {
2094 text-align: left; 2097 text-align: left;
2095 width: 25em; 2098 width: 25em;
2096 } 2099 }
2097 persistent-handles-page .shifter .weak-item:hover { 2100 persistent-handles-page .buffer .weak-item:hover {
2098 background-color: #d2e7fe; 2101 background-color: #d2e7fe;
2099 } 2102 }
2100 persistent-handles-page .weak-item .finalizer { 2103 persistent-handles-page .weak-item .finalizer {
2101 padding-left: 0.5em; 2104 padding-left: 0.5em;
2102 } 2105 }
2103 persistent-handles-page .weak-item > button, 2106 persistent-handles-page .weak-item > button,
2104 persistent-handles-page .weak-item > button:active { 2107 persistent-handles-page .weak-item > button:active {
2105 background-color: transparent; 2108 background-color: transparent;
2106 color: #0489c3; 2109 color: #0489c3;
2107 border-style: none; 2110 border-style: none;
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
2433 float: right; 2436 float: right;
2434 clear: both; 2437 clear: both;
2435 display: block; 2438 display: block;
2436 } 2439 }
2437 2440
2438 /* virtual-collection */ 2441 /* virtual-collection */
2439 2442
2440 virtual-collection { 2443 virtual-collection {
2441 position: relative; 2444 position: relative;
2442 display: block; 2445 display: block;
2443 overflow-y: auto; 2446 overflow-x: hidden;
2444 width: 100%; 2447 width: 100%;
2445 height: 100%; 2448 height: 100%;
2446 } 2449 }
2447 2450
2451 virtual-collection .viewport {
2452 position: absolute;
2453 display: block;
2454 overflow-y: auto;
2455 overflow-x: auto;
2456 top: 0;
2457 bottom: 0;
2458 right: 0;
2459 left: 0;
2460 }
2461
2448 virtual-collection .header { 2462 virtual-collection .header {
2449 background: white; 2463 background: white;
2450 position: relative; 2464 position: relative;
2451 display: block; 2465 display: block;
2452 min-width: 100%;
2453 z-index: +1; 2466 z-index: +1;
2454 } 2467 }
2455 2468
2456 virtual-collection .scroller { 2469 virtual-collection .spacer {
2457 overflow: hidden; 2470 overflow: hidden;
2458 background: transparent; 2471 background: transparent;
2459 display: inline-block; 2472 display: inline-block;
2460 min-width: 100%; 2473 min-width: 100%;
2461 } 2474 }
2462 2475
2463 virtual-collection .shifter { 2476 virtual-collection .buffer {
2464 background: transparent; 2477 background: transparent;
2465 position: relative; 2478 position: relative;
2466 display: inline-block; 2479 display: inline-block;
2467 min-width: 100%; 2480 min-width: 100%;
2468 } 2481 }
2469 2482
2470 virtual-collection .header > div, 2483 virtual-collection .header > div,
2471 virtual-collection .shifter > div { 2484 virtual-collection .buffer > div {
2485 white-space: nowrap;
2486 }
2487
2488 virtual-collection .header.attached > div,
2489 virtual-collection .buffer > div {
2490 display: inline-block;
2491 }
2492
2493 virtual-collection .buffer > div {
2472 min-width: 100%; 2494 min-width: 100%;
2473 white-space: nowrap; 2495 white-space: nowrap;
2474 } 2496 }
2475 2497
2476 /* virtual-tree */ 2498 /* virtual-tree */
2477 2499
2478 virtual-tree .expander { 2500 virtual-tree .expander {
2479 display: inline-block; 2501 display: inline-block;
2480 text-align: center; 2502 text-align: center;
2481 font-weight: bold; 2503 font-weight: bold;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
2549 2571
2550 vm-connect-target > button.delete-button:hover { 2572 vm-connect-target > button.delete-button:hover {
2551 background: #ff0000; 2573 background: #ff0000;
2552 } 2574 }
2553 2575
2554 /* vm-connect */ 2576 /* vm-connect */
2555 2577
2556 vm-connect ul { 2578 vm-connect ul {
2557 list-style-type: none; 2579 list-style-type: none;
2558 } 2580 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/containers/virtual_collection.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698