Index: runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/action_link.html |
diff --git a/runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/action_link.html b/runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/action_link.html |
index ba584786742019cf4639fa7e2d05be7c9f52f6fa..b02e7d6915137b2447a94c9f8069dca072d987e0 100644 |
--- a/runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/action_link.html |
+++ b/runtime/bin/vmservice/client/deployed/web/packages/observatory/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> |