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

Unified Diff: runtime/observatory/lib/src/elements/script_ref_wrapper.dart

Issue 2194383002: Converted Observatory code-ref function-ref element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fixed CSS problem Created 4 years, 5 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/script_ref_wrapper.dart
diff --git a/runtime/observatory/lib/src/elements/script_ref_wrapper.dart b/runtime/observatory/lib/src/elements/script_ref_wrapper.dart
index afc8b94c2679a2be6aca26fb3dce907cfaef6244..01f69402fbfdaedab358e5f94b751a7ec48757f1 100644
--- a/runtime/observatory/lib/src/elements/script_ref_wrapper.dart
+++ b/runtime/observatory/lib/src/elements/script_ref_wrapper.dart
@@ -41,7 +41,14 @@ class ScriptRefElementWrapper extends HtmlElement {
shadowRoot.children = [
new StyleElement()
- ..text = '@import "packages/observatory/src/elements/css/shared.css";',
+ ..text = '''
+ script-ref-wrapped > a[href]:hover {
+ text-decoration: underline;
+ }
+ script-ref-wrapped > a[href] {
+ color: #0489c3;
+ text-decoration: none;
+ }''',
new ScriptRefElement(_script.isolate, _script,
queue: ObservatoryApplication.app.queue)
];
« no previous file with comments | « runtime/observatory/lib/src/elements/script_inset.dart ('k') | runtime/observatory/lib/src/elements/source_link_wrapper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698