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

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

Issue 2204563003: Converted Observatory cpu-profile element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Added lifecycle tests Created 4 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 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 font: 400 12px 'Montserrat', sans-serif; 54 font: 400 12px 'Montserrat', sans-serif;
55 } 55 }
56 56
57 .monospace { 57 .monospace {
58 font-family: consolas, courier, monospace; 58 font-family: consolas, courier, monospace;
59 font-size: 1em; 59 font-size: 1em;
60 line-height: 1.2em; 60 line-height: 1.2em;
61 white-space: nowrap; 61 white-space: nowrap;
62 } 62 }
63 63
64 a { 64 a[href] {
65 color: #0489c3; 65 color: #0489c3;
66 text-decoration: none; 66 text-decoration: none;
67 } 67 }
68 68
69 a:hover { 69 a[href]:hover {
70 text-decoration: underline; 70 text-decoration: underline;
71 } 71 }
72 72
73 em { 73 em {
74 color: inherit; 74 color: inherit;
75 font-style: italic; 75 font-style: italic;
76 } 76 }
77 77
78 b { 78 b {
79 color: inherit; 79 color: inherit;
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 .shadow { 300 .shadow {
301 box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 301 box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16),
302 0 2px 5px 0 rgba(0, 0, 0, 0.26); 302 0 2px 5px 0 rgba(0, 0, 0, 0.26);
303 } 303 }
304 304
305 input.textbox { 305 input.textbox {
306 width: 20em; 306 width: 20em;
307 font: 400 16px 'Montserrat', sans-serif; 307 font: 400 16px 'Montserrat', sans-serif;
308 } 308 }
309 309
310 select, button, input {
311 border-radius: 0px;
312 border-style: solid;
313 border-width: 1px;
314 }
315
310 @-webkit-keyframes fadeIn { 316 @-webkit-keyframes fadeIn {
311 0% { opacity: 0; } 317 0% { opacity: 0; }
312 100% { opacity: 1; } 318 100% { opacity: 1; }
313 } 319 }
314 320
315 @-moz-keyframes fadeIn { 321 @-moz-keyframes fadeIn {
316 0% { opacity: 0; } 322 0% { opacity: 0; }
317 100% { opacity: 1; } 323 100% { opacity: 1; }
318 } 324 }
319 325
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 line-height: 25px; 415 line-height: 25px;
410 height: 25px; 416 height: 25px;
411 padding-left: 10%; 417 padding-left: 10%;
412 padding-right: 10%; 418 padding-right: 10%;
413 } 419 }
414 420
415 class-tree virtual-tree .class-tree-item .name { 421 class-tree virtual-tree .class-tree-item .name {
416 margin-left: 0.5em; 422 margin-left: 0.5em;
417 } 423 }
418 424
425 /* cpu-profile */
426
427 cpu-profile {
428 position: relative;
429 display: block;
430 height: 100%;
431 }
432
433 cpu-profile > cpu-profile-virtual-tree {
434 position: absolute;
435 height: auto;
436 top: 320px;
437 bottom: 0;
438 left: 0;
439 right: 0;
440 }
441
442 /* cpu-profile-virtual-tree */
443
444 cpu-profile-virtual-tree {
445 display: block;
446 height: 600px;
447 }
448
449 cpu-profile-virtual-tree .tree-item {
450 line-height: 30px;
451 height: 30px;
452 padding-left: 5%;
453 padding-right: 5%;
454 }
455
456 cpu-profile-virtual-tree .tree-item > .inclusive,
457 cpu-profile-virtual-tree .tree-item > .exclusive,
458 cpu-profile-virtual-tree .tree-item > .percentage {
459 display: inline-block;
460 text-align: right;
461 width: 4em;
462 margin-left: 0.25em;
463 margin-right: 0.25em;
464 }
465
466 cpu-profile-virtual-tree .tree-item > .exclusive {
467 margin-right: 1.5em;
468 }
469
470 cpu-profile-virtual-tree .tree-item > .name {
471 display: inline;
472 margin-left: 0.5em;
473 }
474
419 /* error-ref */ 475 /* error-ref */
420 /* TODO(cbernaschina) fix error-ref-wrapped to error-ref when wrapper 476 /* TODO(cbernaschina) fix error-ref-wrapped to error-ref when wrapper
421 removed */ 477 removed */
422 478
423 error-ref-wrapped > pre { 479 error-ref-wrapped > pre {
424 background-color: #f5f5f5; 480 background-color: #f5f5f5;
425 border: 1px solid #ccc; 481 border: 1px solid #ccc;
426 padding: 10px; 482 padding: 10px;
427 font-family: consolas, courier, monospace; 483 font-family: consolas, courier, monospace;
428 font-size: 1em; 484 font-size: 1em;
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 source-link-wrapped > a[href]:hover { 676 source-link-wrapped > a[href]:hover {
621 text-decoration: underline; 677 text-decoration: underline;
622 } 678 }
623 679
624 source-link-wrapped > a[href] { 680 source-link-wrapped > a[href] {
625 color: #0489c3; 681 color: #0489c3;
626 text-decoration: none; 682 text-decoration: none;
627 } 683 }
628 684
629 685
686 /* observatory-application */
687
688 observatory-application {
689 display: block;
690 height: 100%;
691 }
692
693 observatory-application > div {
694 display: block;
695 height: 100%;
696 }
697
698 /* sample-buffer-control */
699
700 sample-buffer-control .statusMessage {
701 font-size: 150%;
702 font-weight: bold;
703 }
704
705 sample-buffer-control .statusBox {
706 height: 100%;
707 padding: 1em;
708 }
709
710 sample-buffer-control .center {
711 align-items: center;
712 justify-content: center;
713 }
714
715 sample-buffer-control .notice {
716 background-color: #fcf8e3;
717 }
718
719 sample-buffer-control .red {
720 background-color: #f2dede;
721 }
722
723 sample-buffer-control .shadow {
724 box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16),
725 0 2px 5px 0 rgba(0, 0, 0, 0.26);
726 }
630 727
631 /* view-footer */ 728 /* view-footer */
632 729
633 view-footer { 730 view-footer {
634 padding: 1em; 731 padding: 1em;
635 padding-top: 10.3em; 732 padding-top: 10.3em;
636 float: right; 733 float: right;
637 align-content: right; 734 align-content: right;
638 } 735 }
639 736
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 } 777 }
681 778
682 /* virtual-tree */ 779 /* virtual-tree */
683 780
684 virtual-tree .expander { 781 virtual-tree .expander {
685 display: inline-block; 782 display: inline-block;
686 text-align: center; 783 text-align: center;
687 font-weight: bold; 784 font-weight: bold;
688 font-size: 18px; 785 font-size: 18px;
689 width: 19px; 786 width: 19px;
787 border: none;
788 background-color: transparent;
789 }
790
791 virtual-tree .expander:focus {
792 outline: none;
690 } 793 }
691 794
692 virtual-tree .lines, 795 virtual-tree .lines,
693 virtual-tree .lines > span { 796 virtual-tree .lines > span {
694 display: inline-block; 797 display: inline-block;
695 vertical-align: top; 798 vertical-align: top;
696 height: 100%; 799 height: 100%;
697 line-height: 100%; 800 line-height: 100%;
698 } 801 }
699 802
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 843
741 vm-connect-target > button.delete-button:hover { 844 vm-connect-target > button.delete-button:hover {
742 background: #ff0000; 845 background: #ff0000;
743 } 846 }
744 847
745 /* vm-connect */ 848 /* vm-connect */
746 849
747 vm-connect ul { 850 vm-connect ul {
748 list-style-type: none; 851 list-style-type: none;
749 } 852 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698