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

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

Issue 2306483002: Converted Observatory code-view element (Closed)
Patch Set: Removed dead code Created 4 years, 3 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 b92fb0a57e371ffae64648a1940eaf08fada7120..67b62164d51362818cbb528f67f417aad81d3935 100644
--- a/runtime/observatory/lib/src/elements/css/shared.css
+++ b/runtime/observatory/lib/src/elements/css/shared.css
@@ -578,6 +578,54 @@ class-tree virtual-tree .class-tree-item .name {
margin-left: 0.5em;
}
+/* code-view */
+
+code-view .table {
+ table-layout: fixed;
+}
+
+code-view th:nth-of-type(1),
+code-view td:nth-of-type(1) {
+ min-width: 10em;
+ text-align: left;
+}
+
+code-view th:nth-of-type(2),
+code-view td:nth-of-type(2) {
+ min-width: 8em;
+ text-align: left;
+}
+
+code-view th:nth-of-type(3),
+code-view td:nth-of-type(3) {
+ min-width: 8em;
+ text-align: left;
+}
+
+code-view th:nth-of-type(4),
+code-view td:nth-of-type(4) {
+ text-align: left;
+ overflow: visible;
+ white-space: pre;
+ padding-right: 1em;
+ width: 1px;
+}
+
+code-view th:nth-of-type(5),
+code-view td:nth-of-type(5) {
+ text-align: left;
+ overflow: visible;
+}
+
+code-view tr:hover > td {
+ background-color: #F4C7C3;
+}
+
+code-view .code-comment {
+ color: grey;
+ font-style: italic;
+}
+
/* context-ref */
/* TODO(cbernaschina) fix context-ref-wrapped to context-ref when wrapper
removed */

Powered by Google App Engine
This is Rietveld 408576698