| 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 <link rel="import" href="observatory_element.html"> |
| 3 | 3 |
| 4 <polymer-element name="icon-refresh" noscript> | 4 <polymer-element name="icon-refresh" noscript> |
| 5 <template> | 5 <template> |
| 6 <style> | 6 <style> |
| 7 svg { | 7 svg { |
| 8 fill: currentColor | 8 fill: currentColor |
| 9 } | 9 } |
| 10 </style> | 10 </style> |
| 11 <svg width="24" height="24"> | 11 <svg width="24" height="24"> |
| 12 <path d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8
7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s
2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"/> | 12 <path d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8
7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s
2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"/> |
| 13 </svg> | 13 </svg> |
| 14 </template> | 14 </template> |
| 15 </polymer-element> | 15 </polymer-element> |
| 16 | 16 |
| 17 <polymer-element name="icon-whatshot" noscript> |
| 18 <template> |
| 19 <style> |
| 20 svg { |
| 21 fill: currentColor |
| 22 } |
| 23 </style> |
| 24 <svg width="24" height="24"> |
| 25 <path d="M13.5.67s.74 2.65.74 4.8c0 2.06-1.35 3.73-3.41 3.73-2.07 0-3.63-1
.67-3.63-3.73l.03-.36C5.21 7.51 4 10.62 4 14c0 4.42 3.58 8 8 8s8-3.58 8-8C20 8.6
1 17.41 3.8 13.5.67zM11.71 19c-1.78 0-3.22-1.4-3.22-3.14 0-1.62 1.05-2.76 2.81-3
.12 1.77-.36 3.6-1.21 4.62-2.58.39 1.29.59 2.65.59 4.04 0 2.65-2.15 4.8-4.8 4.8z
"></path> |
| 26 </svg> |
| 27 </template> |
| 28 </polymer-element> |
| 29 |
| 17 <polymer-element name="script-inset" extends="observatory-element"> | 30 <polymer-element name="script-inset" extends="observatory-element"> |
| 18 <template> | 31 <template> |
| 19 <style> | 32 <style> |
| 20 a { | 33 a { |
| 21 color: #0489c3; | 34 color: #0489c3; |
| 22 text-decoration: none; | 35 text-decoration: none; |
| 23 } | 36 } |
| 24 a:hover { | 37 a:hover { |
| 25 text-decoration: underline; | 38 text-decoration: underline; |
| 26 } | 39 } |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 background-color: #e66; | 122 background-color: #e66; |
| 110 } | 123 } |
| 111 .unresolvedBreakAnnotation { | 124 .unresolvedBreakAnnotation { |
| 112 color: white; | 125 color: white; |
| 113 background-color: #cac; | 126 background-color: #cac; |
| 114 } | 127 } |
| 115 .resolvedBreakAnnotation { | 128 .resolvedBreakAnnotation { |
| 116 color: white; | 129 color: white; |
| 117 background-color: #e66; | 130 background-color: #e66; |
| 118 } | 131 } |
| 132 .notSourceProfile, .noProfile, .coldProfile, .mediumProfile, .hotProfile { |
| 133 display: table-cell; |
| 134 vertical-align: top; |
| 135 font: 400 14px consolas, courier, monospace; |
| 136 width: 4em; |
| 137 text-align: right; |
| 138 cursor: pointer; |
| 139 margin-left: 5px; |
| 140 margin-right: 5px; |
| 141 } |
| 142 .notSourceProfile { |
| 143 } |
| 144 .noProfile { |
| 145 background-color: #e0e0e0; |
| 146 } |
| 147 .coldProfile { |
| 148 background-color: #aea; |
| 149 } |
| 150 .mediumProfile { |
| 151 background-color: #fe9; |
| 152 } |
| 153 .hotProfile { |
| 154 background-color: #faa; |
| 155 } |
| 119 </style> | 156 </style> |
| 120 </template> | 157 </template> |
| 121 </polymer-element> | 158 </polymer-element> |
| 122 | 159 |
| 123 <polymer-element name="refresh-button"> | 160 <polymer-element name="refresh-button"> |
| 124 <template> | 161 <template> |
| 125 <style> | 162 <style> |
| 126 .refreshButton { | 163 .refreshButton { |
| 127 color: rgba(0,0,0,.3); | 164 color: rgba(0,0,0,.3); |
| 128 } | 165 } |
| (...skipping 12 matching lines...) Expand all Loading... |
| 141 </template> | 178 </template> |
| 142 <template if="{{ !busy }}"> | 179 <template if="{{ !busy }}"> |
| 143 <a on-click="{{ buttonClick }}"> | 180 <a on-click="{{ buttonClick }}"> |
| 144 <icon-refresh id="refreshIcon" class="refreshButton"></icon-refresh> | 181 <icon-refresh id="refreshIcon" class="refreshButton"></icon-refresh> |
| 145 </a> | 182 </a> |
| 146 </template> | 183 </template> |
| 147 </template> | 184 </template> |
| 148 </template> | 185 </template> |
| 149 </polymer-element> | 186 </polymer-element> |
| 150 | 187 |
| 188 <polymer-element name="toggle-button"> |
| 189 <template> |
| 190 <style> |
| 191 </style> |
| 192 <template if="{{ callback != null }}"> |
| 193 <template if="{{ enabled }}"> |
| 194 <a on-click="{{ buttonClick }}"> |
| 195 <content></content> |
| 196 </a> |
| 197 </template> |
| 198 <template if="{{ !enabled }}"> |
| 199 <a on-click="{{ buttonClick }}"> |
| 200 <content></content> |
| 201 </a> |
| 202 </template> |
| 203 </template> |
| 204 </template> |
| 205 </polymer-element> |
| 206 |
| 151 <polymer-element name="source-inset"> | 207 <polymer-element name="source-inset"> |
| 152 <template> | 208 <template> |
| 153 <template if="{{ location != null }}"> | 209 <template if="{{ location != null }}"> |
| 154 <script-inset script="{{ location.script }}" | 210 <script-inset script="{{ location.script }}" |
| 155 startPos="{{ location.tokenPos }}" | 211 startPos="{{ location.tokenPos }}" |
| 156 scroller="{{ scroller }}" | 212 scroller="{{ scroller }}" |
| 157 endPos="{{ location.endTokenPos }}" | 213 endPos="{{ location.endTokenPos }}" |
| 158 height="{{ height }}" | 214 height="{{ height }}" |
| 159 currentPos="{{ currentPos }}" | 215 currentPos="{{ currentPos }}" |
| 160 inDebuggerContext="{{ inDebuggerContext }}" | 216 inDebuggerContext="{{ inDebuggerContext }}" |
| 161 variables="{{ variables }}"> | 217 variables="{{ variables }}"> |
| 162 </script-inset> | 218 </script-inset> |
| 163 </template> | 219 </template> |
| 164 </template> | 220 </template> |
| 165 </polymer-element> | 221 </polymer-element> |
| 166 | 222 |
| 167 <script type="application/dart" src="script_inset.dart"></script> | 223 <script type="application/dart" src="script_inset.dart"></script> |
| OLD | NEW |