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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/timeline/timelinePanel.css

Issue 1514483002: DevTools: brush up new details cards on timeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org>
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 .timeline-details-view-body { 668 .timeline-details-view-body {
669 flex: auto; 669 flex: auto;
670 overflow: auto; 670 overflow: auto;
671 position: relative; 671 position: relative;
672 background-color: #f3f3f3; 672 background-color: #f3f3f3;
673 } 673 }
674 674
675 .timeline-details-view-block { 675 .timeline-details-view-block {
676 flex: none; 676 flex: none;
677 display: flex; 677 display: flex;
678 box-shadow: #ccc 1px 1px 3px;
679 background-color: white;
678 flex-direction: column; 680 flex-direction: column;
681 margin: 3px 4px;
682 padding-bottom: 5px;
679 } 683 }
680 684
681 .timeline-details-view-row { 685 .timeline-details-view-row {
686 padding-left: 10px;
alph 2015/12/09 01:07:11 I guess it also needs some right padding.
687 flex-direction: row;
682 display: flex; 688 display: flex;
683 box-shadow: #ccc 1px 1px 3px; 689 line-height: 21px;
684 flex-direction: column; 690 }
685 background-color: white; 691
686 margin: 2px 3px; 692 .timeline-details-view-block .timeline-details-stack-values {
687 padding: 3px 10px; 693 flex-direction: column !important;
694 }
695
696 .timeline-details-chip-title {
697 font-size: 13px;
698 padding: 8px;
699 display: flex;
700 align-items: center;
701 }
702
703 .timeline-details-chip-title > div {
704 width: 12px;
705 height: 12px;
706 display: inline-block;
707 margin-right: 4px;
708 background-color: red;
709 content: " ";
688 } 710 }
689 711
690 .timeline-details-view-row-title { 712 .timeline-details-view-row-title {
691 color: rgb(152, 152, 152); 713 color: rgb(152, 152, 152);
692 line-height: 21px;
693 flex: none;
694 position: relative;
695 overflow: hidden; 714 overflow: hidden;
696 } 715 }
697 716
698 .timeline-details-warning .timeline-details-view-row-title::after { 717 .timeline-details-warning {
699 width: 16px; 718 background-color: rgba(250, 209, 209, 0.48);
700 height: 16px; 719 position: relative;
701 background-color: red; 720 line-height: 18px;
702 position: absolute; 721 margin-bottom: 5px;
703 right: -8px; 722 }
704 top: -8px; 723
705 transform: rotate(45deg); 724 .timeline-details-warning .timeline-details-view-row-title {
706 content: ""; 725 color: rgb(255, 0, 0);
707 } 726 }
708 727
709 .timeline-details-warning .timeline-details-view-row-value { 728 .timeline-details-warning .timeline-details-view-row-value {
710 white-space: nowrap; 729 white-space: nowrap;
711 overflow: hidden; 730 overflow: hidden;
712 text-overflow: ellipsis; 731 text-overflow: ellipsis;
713 } 732 }
714 733
715 .timeline-details-view-row-value { 734 .timeline-details-view-row-value {
716 padding-left: 20px;
717 min-height: 20px;
718 line-height: 20px;
719 -webkit-user-select: text; 735 -webkit-user-select: text;
720 white-space: nowrap; 736 white-space: nowrap;
721 text-overflow: ellipsis; 737 text-overflow: ellipsis;
722 overflow: hidden; 738 overflow: hidden;
723 margin-right: 5px; 739 padding-left: 10px;
724 } 740 }
725 741
726 .timeline-details-view-row-value .stack-preview-container { 742 .timeline-details-view-row-value .stack-preview-container {
727 line-height: 11px; 743 line-height: 11px;
728 } 744 }
729 745
730 .timeline-details-view-row-value .timeline-details-warning-marker { 746 .timeline-details-view-row-value .timeline-details-warning-marker {
731 white-space: nowrap; 747 white-space: nowrap;
732 text-overflow: ellipsis; 748 text-overflow: ellipsis;
733 overflow: hidden; 749 overflow: hidden;
734 } 750 }
735 751
736 .timeline-details-view-pie-chart-wrapper { 752 .timeline-details-view-pie-chart-wrapper {
737 margin: 4px 0; 753 margin: 4px 0;
738 } 754 }
739 755
740 .timeline-details-view-pie-chart { 756 .timeline-details-view-pie-chart {
741 margin-top: 5px; 757 margin-top: 5px;
742 } 758 }
743 759
744 .timeline-details-view-pie-chart-total { 760 .timeline-details-view-pie-chart-total {
745 width: 100px; 761 width: 100px;
746 margin-top: 10px; 762 margin-top: 10px;
747 text-align: center; 763 text-align: center;
748 } 764 }
749 765
750 .timeline-details-view-row-stack-trace { 766 .timeline-details-view-row-stack-trace {
767 padding: 4px 0;
751 line-height: inherit; 768 line-height: inherit;
752 } 769 }
753 770
754 .timeline-details-view-row-stack-trace div { 771 .timeline-details-view-row-stack-trace div {
755 white-space: nowrap; 772 white-space: nowrap;
756 text-overflow: ellipsis; 773 text-overflow: ellipsis;
757 line-height: 12px; 774 line-height: 12px;
758 } 775 }
759 776
760 .timeline-aggregated-info-legend > div { 777 .timeline-aggregated-info-legend > div {
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 } 1050 }
1034 1051
1035 .timeline-tree-view .data-grid .data-container { 1052 .timeline-tree-view .data-grid .data-container {
1036 top: 21px; 1053 top: 21px;
1037 } 1054 }
1038 1055
1039 .timeline-tree-view .data-grid th { 1056 .timeline-tree-view .data-grid th {
1040 border-bottom: 1px solid #ddd; 1057 border-bottom: 1px solid #ddd;
1041 background-color: #f3f3f3 1058 background-color: #f3f3f3
1042 } 1059 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698