| 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="observatory_element.html"> |
| 2 | 3 |
| 3 <polymer-element name="curly-block"> | 4 <polymer-element name="curly-block" extends="observatory-element"> |
| 4 <template> | 5 <template> |
| 5 <style> | 6 <style> |
| 6 .idle { | 7 .idle { |
| 7 display: inline-block; | 8 display: inline-block; |
| 8 color: #0489c3; | 9 color: #0489c3; |
| 9 cursor: pointer; | 10 cursor: pointer; |
| 10 } | 11 } |
| 11 .busy { | 12 .busy { |
| 12 display: inline-block; | 13 display: inline-block; |
| 13 color: white; | 14 color: white; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 34 {<div class="busy"> ⊞ </div>} | 35 {<div class="busy"> ⊞ </div>} |
| 35 </template> | 36 </template> |
| 36 <template if="{{ !busy }}"> | 37 <template if="{{ !busy }}"> |
| 37 {<a on-click="{{ toggleExpand }}"><div class="idle"> ⊞&
nbsp; </div></a>} | 38 {<a on-click="{{ toggleExpand }}"><div class="idle"> ⊞&
nbsp; </div></a>} |
| 38 </template> | 39 </template> |
| 39 </template> | 40 </template> |
| 40 </template> | 41 </template> |
| 41 </polymer-element> | 42 </polymer-element> |
| 42 | 43 |
| 43 <script type="application/dart" src="curly_block.dart"></script> | 44 <script type="application/dart" src="curly_block.dart"></script> |
| OLD | NEW |