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

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

Issue 2212253002: Converted Observatory class-tree element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Removed tmp code 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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 removed */ 381 removed */
382 382
383 code-ref-wrapped > a[href]:hover { 383 code-ref-wrapped > a[href]:hover {
384 text-decoration: underline; 384 text-decoration: underline;
385 } 385 }
386 code-ref-wrapped > a[href] { 386 code-ref-wrapped > a[href] {
387 color: #0489c3; 387 color: #0489c3;
388 text-decoration: none; 388 text-decoration: none;
389 } 389 }
390 390
391 /* class-tree */
392
393 class-tree {
394 position: relative;
395 display: block;
396 height: 100%;
397 }
398
399 class-tree virtual-tree {
400 position: absolute;
401 height: auto;
402 top: 60px;
403 bottom: 0;
404 left: 0;
405 right: 0;
406 }
407
408 class-tree virtual-tree .class-tree-item {
409 line-height: 25px;
410 height: 25px;
411 padding-left: 10%;
412 padding-right: 10%;
413 }
414
415 class-tree virtual-tree .class-tree-item .name {
416 margin-left: 0.5em;
417 }
418
391 /* error-ref */ 419 /* error-ref */
392 /* TODO(cbernaschina) fix error-ref-wrapped to error-ref when wrapper 420 /* TODO(cbernaschina) fix error-ref-wrapped to error-ref when wrapper
393 removed */ 421 removed */
394 422
395 error-ref-wrapped > pre { 423 error-ref-wrapped > pre {
396 background-color: #f5f5f5; 424 background-color: #f5f5f5;
397 border: 1px solid #ccc; 425 border: 1px solid #ccc;
398 padding: 10px; 426 padding: 10px;
399 font-family: consolas, courier, monospace; 427 font-family: consolas, courier, monospace;
400 font-size: 1em; 428 font-size: 1em;
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 } 575 }
548 nav-refresh-wrapped > li > button[disabled] { 576 nav-refresh-wrapped > li > button[disabled] {
549 color: #aaa; 577 color: #aaa;
550 cursor: wait; 578 cursor: wait;
551 } 579 }
552 nav-refresh-wrapped > li { 580 nav-refresh-wrapped > li {
553 float: right; 581 float: right;
554 margin: 0; 582 margin: 0;
555 } 583 }
556 584
585 /* observatory-application */
586
587 observatory-application {
588 display: block;
589 height: 100%;
590 }
591
592 observatory-application > div {
593 display: block;
594 height: 100%;
595 }
596
557 /* script-ref */ 597 /* script-ref */
558 /* TODO(cbernaschina) fix script-ref-wrapped to script-ref when wrapper 598 /* TODO(cbernaschina) fix script-ref-wrapped to script-ref when wrapper
559 removed */ 599 removed */
560 600
561 script-ref-wrapped > a[href]:hover { 601 script-ref-wrapped > a[href]:hover {
562 text-decoration: underline; 602 text-decoration: underline;
563 } 603 }
564 604
565 script-ref-wrapped > a[href] { 605 script-ref-wrapped > a[href] {
566 color: #0489c3; 606 color: #0489c3;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 656
617 virtual-collection .shifter { 657 virtual-collection .shifter {
618 background: transparent; 658 background: transparent;
619 position: absolute; 659 position: absolute;
620 top: 0; 660 top: 0;
621 left: 0; 661 left: 0;
622 right: 0; 662 right: 0;
623 } 663 }
624 664
625 virtual-collection .shifter > * { 665 virtual-collection .shifter > * {
666 display: block;
626 position: relative; 667 position: relative;
627 top: -25%; 668 top: -25%;
669 width: 100%;
670 white-space: nowrap;
671 text-overflow: ellipsis;
672 overflow-x: hidden;
673 white-space: nowrap;
674 }
675
676 /* virtual-tree */
677
678 virtual-tree .expander {
679 display: inline-block;
680 text-align: center;
681 font-weight: bold;
682 font-size: 18px;
683 width: 19px;
684 }
685
686 virtual-tree .lines,
687 virtual-tree .lines > span {
688 display: inline-block;
689 vertical-align: top;
690 height: 100%;
691 line-height: 100%;
692 }
693
694 virtual-tree .lines:before,
695 virtual-tree .lines > span:before {
696 display: inline-block;
697 content: '';
698 }
699
700 virtual-tree .lines > span {
701 width: 3px;
702 margin-left: 8px;
703 margin-right: 8px;
704 }
705
706 virtual-tree .lines > span:nth-child(5n) {
707 background-color: #673AB7;
708 }
709
710 virtual-tree .lines > span:nth-child(5n+1) {
711 background-color: #F44336;
712 }
713
714 virtual-tree .lines > span:nth-child(5n+2) {
715 background-color: #4CAF50;
716 }
717
718 virtual-tree .lines > span:nth-child(5n+3) {
719 background-color: #3F51B5;
720 }
721
722 virtual-tree .lines > span:nth-child(5n+4) {
723 background-color: #FF9800;
628 } 724 }
629 725
630 /* vm-connect-target */ 726 /* vm-connect-target */
631 727
632 vm-connect-target > button.delete-button { 728 vm-connect-target > button.delete-button {
633 margin-left: 0.28em; 729 margin-left: 0.28em;
634 padding: 4px; 730 padding: 4px;
635 background: transparent; 731 background: transparent;
636 border: none !important; 732 border: none !important;
637 } 733 }
638 734
639 vm-connect-target > button.delete-button:hover { 735 vm-connect-target > button.delete-button:hover {
640 background: #ff0000; 736 background: #ff0000;
641 } 737 }
642 738
643 /* vm-connect */ 739 /* vm-connect */
644 740
645 vm-connect ul { 741 vm-connect ul {
646 list-style-type: none; 742 list-style-type: none;
647 } 743 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698