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

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: Removed tmp files 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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 removed */ 393 removed */
394 394
395 isolate-ref-wrapped > a[href]:hover { 395 isolate-ref-wrapped > a[href]:hover {
396 text-decoration: underline; 396 text-decoration: underline;
397 } 397 }
398 isolate-ref-wrapped > a[href] { 398 isolate-ref-wrapped > a[href] {
399 color: #0489c3; 399 color: #0489c3;
400 text-decoration: none; 400 text-decoration: none;
401 } 401 }
402 402
403 /* cpu-profile */
404
405 cpu-profile {
406 position: relative;
407 display: block;
408 height: 100%;
409 }
410
411 cpu-profile > cpu-profile-virtual-tree {
412 position: absolute;
413 height: auto;
414 top: 320px;
415 bottom: 0;
416 left: 0;
417 right: 0;
418 }
419
420 /* cpu-profile-virtual-tree */
421
422 cpu-profile-virtual-tree {
423 display: block;
424 height: 600px;
425 }
426
427 cpu-profile-virtual-tree .coldProfile {
428 background-color: #aea;
429 }
430
431 cpu-profile-virtual-tree .mediumProfile {
432 background-color: #fe9;
433 }
434
435 cpu-profile-virtual-tree .hotProfile {
436 background-color: #faa;
437 }
438
403 /* nav-notify */ 439 /* nav-notify */
404 /* TODO(cbernaschina) fix nav-notify-ref-wrapped to nav-notify-ref when wrapper 440 /* TODO(cbernaschina) fix nav-notify-ref-wrapped to nav-notify-ref when wrapper
405 removed */ 441 removed */
406 nav-notify-wrapped > div { 442 nav-notify-wrapped > div {
407 float: right; 443 float: right;
408 } 444 }
409 nav-notify-wrapped > div > div { 445 nav-notify-wrapped > div > div {
410 display: block; 446 display: block;
411 position: absolute; 447 position: absolute;
412 top: 98%; 448 top: 98%;
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 source-link-wrapped > a[href]:hover { 552 source-link-wrapped > a[href]:hover {
517 text-decoration: underline; 553 text-decoration: underline;
518 } 554 }
519 555
520 source-link-wrapped > a[href] { 556 source-link-wrapped > a[href] {
521 color: #0489c3; 557 color: #0489c3;
522 text-decoration: none; 558 text-decoration: none;
523 } 559 }
524 560
525 561
562 /* observatory-application */
563
564 observatory-application {
565 display: block;
566 height: 100%;
567 }
568
569 observatory-application > div {
570 display: block;
571 height: 100%;
572 }
573
574 /* sample-buffer-control */
575
576 sample-buffer-control .statusMessage {
577 font-size: 150%;
578 font-weight: bold;
579 }
580
581 sample-buffer-control .statusBox {
582 height: 100%;
583 padding: 1em;
584 }
585
586 sample-buffer-control .center {
587 align-items: center;
588 justify-content: center;
589 }
590
591 sample-buffer-control .notice {
592 background-color: #fcf8e3;
593 }
594
595 sample-buffer-control .red {
596 background-color: #f2dede;
597 }
598
599 sample-buffer-control .shadow {
600 box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16),
601 0 2px 5px 0 rgba(0, 0, 0, 0.26);
602 }
526 603
527 /* view-footer */ 604 /* view-footer */
528 605
529 view-footer { 606 view-footer {
530 padding: 1em; 607 padding: 1em;
531 padding-top: 10.3em; 608 padding-top: 10.3em;
532 float: right; 609 float: right;
533 align-content: right; 610 align-content: right;
534 } 611 }
535 612
(...skipping 26 matching lines...) Expand all
562 top: 0; 639 top: 0;
563 left: 0; 640 left: 0;
564 right: 0; 641 right: 0;
565 } 642 }
566 643
567 virtual-collection .shifter > * { 644 virtual-collection .shifter > * {
568 position: relative; 645 position: relative;
569 top: -25%; 646 top: -25%;
570 } 647 }
571 648
649 .tmp-collection-item {
650 display: block;
651 width: 100%;
652 white-space: nowrap;
653 text-overflow: ellipsis;
654 overflow-x: hidden;
655 padding-left: 5%;
656 padding-right: 5%;
657 }
658
659 .tmp-collection-item.coldProfile {
660 background-color: #aea;
661 }
662 .tmp-collection-item.mediumProfile {
663 background-color: #fe9;
664 }
665 .tmp-collection-item.hotProfile {
666 background-color: #faa;
667 }
668
669 .tmp-collection-item > .inclusive,
670 .tmp-collection-item > .exclusive,
671 .tmp-collection-item > .percentage {
672 display: inline-block;
673 text-align: right;
674 width: 4em;
675 margin-left: 0.25em;
676 margin-right: 0.25em;
677 }
678
679 .tmp-collection-item > .exclusive {
680 margin-right: 1.5em;
681 }
682
683 .tmp-collection-item > .expander {
684 display: inline-block;
685 text-align: center;
686 font-weight: bold;
687 font-size: 18px;
688 width: 19px;
689 }
690
691 .tmp-collection-item > .lines,
692 .tmp-collection-item > .lines > span {
693 display: inline-block;
694 height: 30px;
695 line-height: 30px;
696 }
697
698 .tmp-collection-item > .lines:before,
699 .tmp-collection-item > .lines > span:before {
700 display: inline-block;
701 content: '';
702 }
703
704 .tmp-collection-item > .lines > span {
705 width: 3px;
706 margin-left: 8px;
707 margin-right: 8px;
708 }
709
710 .tmp-collection-item > .lines > span:nth-child(5n) {
711 background-color: #673AB7;
712 }
713
714 .tmp-collection-item > .lines > span:nth-child(5n+1) {
715 background-color: #F44336;
716 }
717
718 .tmp-collection-item > .lines > span:nth-child(5n+2) {
719 background-color: #4CAF50;
720 }
721
722 .tmp-collection-item > .lines > span:nth-child(5n+3) {
723 background-color: #3F51B5;
724 }
725
726 .tmp-collection-item > .lines > span:nth-child(5n+4) {
727 background-color: #FF9800;
728 }
729
730 .tmp-collection-item > .name {
731 display: inline;
732 margin-left: 0.5em;
733 }
734
572 /* vm-connect-target */ 735 /* vm-connect-target */
573 736
574 vm-connect-target > button.delete-button { 737 vm-connect-target > button.delete-button {
575 margin-left: 0.28em; 738 margin-left: 0.28em;
576 padding: 4px; 739 padding: 4px;
577 background: transparent; 740 background: transparent;
578 border: none !important; 741 border: none !important;
579 } 742 }
580 743
581 vm-connect-target > button.delete-button:hover { 744 vm-connect-target > button.delete-button:hover {
582 background: #ff0000; 745 background: #ff0000;
583 } 746 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698