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

Unified Diff: runtime/observatory/lib/src/elements/source_link_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/source_link_wrapper.dart
diff --git a/runtime/observatory/lib/src/elements/source_link_wrapper.dart b/runtime/observatory/lib/src/elements/source_link_wrapper.dart
index a408032efa8cc63627c99f39482d0126ca7c0bc2..d38d70f90b41c0a68b72fd59a84d7b3f02068a2c 100644
--- a/runtime/observatory/lib/src/elements/source_link_wrapper.dart
+++ b/runtime/observatory/lib/src/elements/source_link_wrapper.dart
@@ -44,7 +44,14 @@ class SourceLinkElementWrapper extends HtmlElement {
shadowRoot.children = [
new StyleElement()
- ..text = '@import "packages/observatory/src/elements/css/shared.css";',
+ ..text = '''
+ source-link-wrapped > a[href]:hover {
+ text-decoration: underline;
+ }
+ source-link-wrapped > a[href] {
+ color: #0489c3;
+ text-decoration: none;
+ }''',
new SourceLinkElement(_location.isolate, _location, repository,
queue: ObservatoryApplication.app.queue)
];
« no previous file with comments | « runtime/observatory/lib/src/elements/script_ref_wrapper.dart ('k') | runtime/observatory/lib/src/elements/vm_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698