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

Unified Diff: runtime/bin/vmservice/client/lib/src/elements/action_link.html

Issue 381383010: Add breakpoints and single-stepping to Observatory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix bugs, gen js Created 6 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/bin/vmservice/client/lib/src/elements/action_link.html
diff --git a/runtime/bin/vmservice/client/lib/src/elements/action_link.html b/runtime/bin/vmservice/client/lib/src/elements/action_link.html
index ba584786742019cf4639fa7e2d05be7c9f52f6fa..b02e7d6915137b2447a94c9f8069dca072d987e0 100644
--- a/runtime/bin/vmservice/client/lib/src/elements/action_link.html
+++ b/runtime/bin/vmservice/client/lib/src/elements/action_link.html
@@ -7,10 +7,15 @@
.idle {
color: #0489c3;
cursor: pointer;
+ text-decoration: none;
+ }
+ .idle:hover {
+ text-decoration: underline;
}
.busy {
color: #aaa;
cursor: wait;
+ text-decoration: none;
}
</style>
@@ -18,7 +23,12 @@
<span class="busy">[{{ label }}]</span>
</template>
<template if="{{ !busy }}">
- <span class="idle"><a on-click="{{ doAction }}">[{{ label }}]</a></span>
+ <template if="{{ color == null }}">
+ <span class="idle"><a on-click="{{ doAction }}">[{{ label }}]</a></span>
+ </template>
+ <template if="{{ color != null }}">
+ <span class="idle" style="color:{{ color }}"><a on-click="{{ doAction }}">[{{ label }}]</a></span>
+ </template>
</template>
</template>
</polymer-element>

Powered by Google App Engine
This is Rietveld 408576698