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

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: Removed debug 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 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..37e4dae2e1b13c7f20df0ced99beb86b3c0d11f2 100644
--- a/runtime/observatory/lib/src/elements/css/shared.css
+++ b/runtime/observatory/lib/src/elements/css/shared.css
@@ -666,6 +666,57 @@ function-ref-wrapped > a[href] {
text-decoration: none;
}
+/* heap-snapshot */
+
+
+heap-snapshot .statusMessage {
+ font-size: 150%;
+ font-weight: bold;
+}
+
+heap-snapshot .statusBox {
+ height: 100%;
+ padding: 1em;
+}
+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 +988,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 {
« no previous file with comments | « runtime/observatory/lib/src/elements/class_view.dart ('k') | runtime/observatory/lib/src/elements/heap_snapshot.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698