OLD | NEW |
1 <link rel="import" href="../../../../packages/polymer/polymer.html"> | 1 <link rel="import" href="../../../../packages/polymer/polymer.html"> |
2 <link rel="import" href="instance_ref.html"> | 2 <link rel="import" href="instance_ref.html"> |
3 <link rel="import" href="observatory_element.html"> | |
4 | 3 |
5 <polymer-element name="action-link" extends="observatory-element"> | 4 |
| 5 <polymer-element name="action-link"> |
6 <template> | 6 <template> |
7 <style> | 7 <style> |
8 .idle { | 8 .idle { |
9 color: #0489c3; | 9 color: #0489c3; |
10 cursor: pointer; | 10 cursor: pointer; |
11 text-decoration: none; | 11 text-decoration: none; |
12 } | 12 } |
13 .idle:hover { | 13 .idle:hover { |
14 text-decoration: underline; | 14 text-decoration: underline; |
15 } | 15 } |
(...skipping 12 matching lines...) Expand all Loading... |
28 <span class="idle"><a on-click="{{ doAction }}">[{{ label }}]</a></span> | 28 <span class="idle"><a on-click="{{ doAction }}">[{{ label }}]</a></span> |
29 </template> | 29 </template> |
30 <template if="{{ color != null }}"> | 30 <template if="{{ color != null }}"> |
31 <span class="idle" style="color:{{ color }}"><a on-click="{{ doAction }}
">[{{ label }}]</a></span> | 31 <span class="idle" style="color:{{ color }}"><a on-click="{{ doAction }}
">[{{ label }}]</a></span> |
32 </template> | 32 </template> |
33 </template> | 33 </template> |
34 </template> | 34 </template> |
35 </polymer-element> | 35 </polymer-element> |
36 | 36 |
37 <script type="application/dart" src="action_link.dart"></script> | 37 <script type="application/dart" src="action_link.dart"></script> |
OLD | NEW |