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

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: Merged with master 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 289 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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 source-link-wrapped > a[href]:hover { 732 source-link-wrapped > a[href]:hover {
677 text-decoration: underline; 733 text-decoration: underline;
678 } 734 }
679 735
680 source-link-wrapped > a[href] { 736 source-link-wrapped > a[href] {
681 color: #0489c3; 737 color: #0489c3;
682 text-decoration: none; 738 text-decoration: none;
683 } 739 }
684 740
685 741
742 /* observatory-application */
743
744 observatory-application {
745 display: block;
746 height: 100%;
747 }
748
749 observatory-application > div {
750 display: block;
751 height: 100%;
752 }
753
754 /* sample-buffer-control */
755
756 sample-buffer-control .statusMessage {
757 font-size: 150%;
758 font-weight: bold;
759 }
760
761 sample-buffer-control .statusBox {
762 height: 100%;
763 padding: 1em;
764 }
765
766 sample-buffer-control .center {
767 align-items: center;
768 justify-content: center;
769 }
770
771 sample-buffer-control .notice {
772 background-color: #fcf8e3;
773 }
774
775 sample-buffer-control .red {
776 background-color: #f2dede;
777 }
778
779 sample-buffer-control .shadow {
780 box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16),
781 0 2px 5px 0 rgba(0, 0, 0, 0.26);
782 }
686 783
687 /* view-footer */ 784 /* view-footer */
688 785
689 view-footer { 786 view-footer {
690 padding: 1em; 787 padding: 1em;
691 padding-top: 10.3em; 788 padding-top: 10.3em;
692 float: right; 789 float: right;
693 align-content: right; 790 align-content: right;
694 } 791 }
695 792
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 } 833 }
737 834
738 /* virtual-tree */ 835 /* virtual-tree */
739 836
740 virtual-tree .expander { 837 virtual-tree .expander {
741 display: inline-block; 838 display: inline-block;
742 text-align: center; 839 text-align: center;
743 font-weight: bold; 840 font-weight: bold;
744 font-size: 18px; 841 font-size: 18px;
745 width: 19px; 842 width: 19px;
843 border: none;
844 background-color: transparent;
845 }
846
847 virtual-tree .expander:focus {
848 outline: none;
746 } 849 }
747 850
748 virtual-tree .lines, 851 virtual-tree .lines,
749 virtual-tree .lines > span { 852 virtual-tree .lines > span {
750 display: inline-block; 853 display: inline-block;
751 vertical-align: top; 854 vertical-align: top;
752 height: 100%; 855 height: 100%;
753 line-height: 100%; 856 line-height: 100%;
754 } 857 }
755 858
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
796 899
797 vm-connect-target > button.delete-button:hover { 900 vm-connect-target > button.delete-button:hover {
798 background: #ff0000; 901 background: #ff0000;
799 } 902 }
800 903
801 /* vm-connect */ 904 /* vm-connect */
802 905
803 vm-connect ul { 906 vm-connect ul {
804 list-style-type: none; 907 list-style-type: none;
805 } 908 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698