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

Unified Diff: runtime/observatory/lib/src/elements/css/shared.css

Issue 2266343002: Converted Observatory heap-snapshot element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Added missing explanation text 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 side-by-side diff with in-line comments
Download patch
Index: runtime/observatory/lib/src/elements/css/shared.css
diff --git a/runtime/observatory/lib/src/elements/css/shared.css b/runtime/observatory/lib/src/elements/css/shared.css
index 1ab12fa51db353ba4f099770a5dea5b131df651f..9aa6a0a018b3da9d2b9f6f54b380fce0413a7804 100644
--- a/runtime/observatory/lib/src/elements/css/shared.css
+++ b/runtime/observatory/lib/src/elements/css/shared.css
@@ -666,6 +666,48 @@ function-ref-wrapped > a[href] {
text-decoration: none;
}
+/* heap-snapshot */
+
+heap-snapshot .explanation {
+ display: block;
+ display: -webkit-box;
+ -webkit-line-clamp: 4;
+ -webkit-box-orient: vertical;
+ max-height: 80px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
+heap-snapshot virtual-tree {
+ position: absolute;
+ height: auto;
+ top: 250px;
+ bottom: 0;
+ left: 0;
+ right: 0;
+}
+heap-snapshot .tree-item {
+ box-sizing: border-box;
+ line-height: 30px;
+ height: 30px;
+ padding-left: 5%;
+ padding-right: 5%;
+}
+heap-snapshot .tree-item > .size,
+heap-snapshot .tree-item > .percentage {
+ display: inline-block;
+ text-align: right;
+ width: 4em;
+ margin-left: 0.25em;
+ margin-right: 0.25em;
+}
+
+heap-snapshot .tree-item > .name {
+ display: inline;
+ margin-left: 0.5em;
+}
+
+
/* inbound-reference */
inbound-reference > a[href]:hover {
@@ -937,6 +979,21 @@ object-common-wrapped button {
text-decoration: none;
}
+/* object-pool-ref */
+
+object-pool-ref > a[href]:hover {
+ text-decoration: underline;
+}
+
+object-pool-ref > a[href] {
+ color: #0489c3;
+ text-decoration: none;
+}
+
+object-pool-ref > a[href] * {
+ color: inherit;
+}
+
/* observatory-application */
observatory-application {

Powered by Google App Engine
This is Rietveld 408576698