OLD | NEW |
1 <head> | 1 <head> |
2 <link rel="import" href="instance_ref.html"> | 2 <link rel="import" href="instance_ref.html"> |
3 <link rel="import" href="observatory_element.html"> | 3 <link rel="import" href="observatory_element.html"> |
4 </head> | 4 </head> |
5 <polymer-element name="eval-box" extends="observatory-element"> | 5 <polymer-element name="eval-box" extends="observatory-element"> |
6 <template> | 6 <template> |
7 <style> | 7 <style> |
8 .textbox { | 8 .textbox { |
9 width: 80ex; | 9 width: 80ex; |
10 font: 400 16px 'Montserrat', sans-serif; | 10 font: 400 16px 'Montserrat', sans-serif; |
(...skipping 16 matching lines...) Expand all Loading... |
27 } | 27 } |
28 .historyExpr a { | 28 .historyExpr a { |
29 display: block; | 29 display: block; |
30 color: black; | 30 color: black; |
31 text-decoration: none; | 31 text-decoration: none; |
32 padding: 6px 6px; | 32 padding: 6px 6px; |
33 cursor: pointer; | 33 cursor: pointer; |
34 white-space: pre-line; | 34 white-space: pre-line; |
35 } | 35 } |
36 .historyExpr a:hover { | 36 .historyExpr a:hover { |
37 background-color: #e1f5fe | 37 background-color: #fff3e3; |
38 } | 38 } |
39 .historyValue { | 39 .historyValue { |
40 display: block; | 40 display: block; |
41 padding: 6px 6px; | 41 padding: 6px 6px; |
42 } | 42 } |
43 </style> | 43 </style> |
44 <form> | 44 <form> |
45 <template if="{{ lineMode == '1-line' }}"> | 45 <template if="{{ lineMode == '1-line' }}"> |
46 <input class="textbox" type="text" value="{{ text }}"> | 46 <input class="textbox" type="text" value="{{ text }}"> |
47 </template> | 47 </template> |
(...skipping 29 matching lines...) Expand all Loading... |
77 <instance-ref ref="{{ result['value'] }}"></instance-ref> | 77 <instance-ref ref="{{ result['value'] }}"></instance-ref> |
78 </template> | 78 </template> |
79 </td> | 79 </td> |
80 </tr> | 80 </tr> |
81 </table> | 81 </table> |
82 </template> | 82 </template> |
83 </template> | 83 </template> |
84 </polymer-element> | 84 </polymer-element> |
85 | 85 |
86 <script type="application/dart" src="eval_box.dart"></script> | 86 <script type="application/dart" src="eval_box.dart"></script> |
OLD | NEW |