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

Unified 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: Merged with master 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 38f6cb072d633c7d96db51485e06c4dda63fd3aa..9e4a0f5b67a7ff41c1d7eb1e329fe1cf6d8790cb 100644
--- a/runtime/observatory/lib/src/elements/css/shared.css
+++ b/runtime/observatory/lib/src/elements/css/shared.css
@@ -307,6 +307,12 @@ input.textbox {
font: 400 16px 'Montserrat', sans-serif;
}
+select, button, input {
+ border-radius: 0px;
+ border-style: solid;
+ border-width: 1px;
+}
+
@-webkit-keyframes fadeIn {
0% { opacity: 0; }
100% { opacity: 1; }
@@ -416,6 +422,56 @@ class-tree virtual-tree .class-tree-item .name {
margin-left: 0.5em;
}
+/* cpu-profile */
+
+cpu-profile {
+ position: relative;
+ display: block;
+ height: 100%;
+}
+
+cpu-profile > cpu-profile-virtual-tree {
+ position: absolute;
+ height: auto;
+ top: 320px;
+ bottom: 0;
+ left: 0;
+ right: 0;
+}
+
+/* cpu-profile-virtual-tree */
+
+cpu-profile-virtual-tree {
+ display: block;
+ height: 600px;
+}
+
+cpu-profile-virtual-tree .tree-item {
+ line-height: 30px;
+ height: 30px;
+ padding-left: 5%;
+ padding-right: 5%;
+}
+
+cpu-profile-virtual-tree .tree-item > .inclusive,
+cpu-profile-virtual-tree .tree-item > .exclusive,
+cpu-profile-virtual-tree .tree-item > .percentage {
+ display: inline-block;
+ text-align: right;
+ width: 4em;
+ margin-left: 0.25em;
+ margin-right: 0.25em;
+}
+
+cpu-profile-virtual-tree .tree-item > .exclusive {
+ margin-right: 1.5em;
+}
+
+cpu-profile-virtual-tree .tree-item > .name {
+ display: inline;
+ margin-left: 0.5em;
+}
+
/* error-ref */
/* TODO(cbernaschina) fix error-ref-wrapped to error-ref when wrapper
removed */
@@ -683,6 +739,47 @@ source-link-wrapped > a[href] {
}
+/* observatory-application */
+
+observatory-application {
+ display: block;
+ height: 100%;
+}
+
+observatory-application > div {
+ display: block;
+ height: 100%;
+}
+
+/* sample-buffer-control */
+
+sample-buffer-control .statusMessage {
+ font-size: 150%;
+ font-weight: bold;
+}
+
+sample-buffer-control .statusBox {
+ height: 100%;
+ padding: 1em;
+}
+
+sample-buffer-control .center {
+ align-items: center;
+ justify-content: center;
+}
+
+sample-buffer-control .notice {
+ background-color: #fcf8e3;
+}
+
+sample-buffer-control .red {
+ background-color: #f2dede;
+}
+
+sample-buffer-control .shadow {
+ box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16),
+ 0 2px 5px 0 rgba(0, 0, 0, 0.26);
+}
/* view-footer */
@@ -743,6 +840,12 @@ virtual-tree .expander {
font-weight: bold;
font-size: 18px;
width: 19px;
+ border: none;
+ background-color: transparent;
+}
+
+virtual-tree .expander:focus {
+ outline: none;
}
virtual-tree .lines,

Powered by Google App Engine
This is Rietveld 408576698