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="script-inset" extends="observatory-element"> | 4 <polymer-element name="script-inset" extends="observatory-element"> |
5 <template> | 5 <template> |
6 <style> | 6 <style> |
7 a { | 7 a { |
8 color: #0489c3; | 8 color: #0489c3; |
9 text-decoration: none; | 9 text-decoration: none; |
10 } | 10 } |
(...skipping 21 matching lines...) Expand all Loading... |
32 line-height: 125%; | 32 line-height: 125%; |
33 white-space: pre; | 33 white-space: pre; |
34 max-width: 0; | 34 max-width: 0; |
35 } | 35 } |
36 .currentLine { | 36 .currentLine { |
37 background-color: #fff; | 37 background-color: #fff; |
38 } | 38 } |
39 .currentCol { | 39 .currentCol { |
40 background-color: #6cf; | 40 background-color: #6cf; |
41 } | 41 } |
42 .breakAnnotation { | 42 .hitsCurrent, .hitsNone, .hitsNotExecuted, .hitsExecuted { |
43 background-color: #e66; | |
44 color: white; | |
45 } | |
46 .hitsNone, .hitsNotExecuted, .hitsExecuted { | |
47 display: table-cell; | 43 display: table-cell; |
48 vertical-align: top; | 44 vertical-align: top; |
49 font: 400 14px consolas, courier, monospace; | 45 font: 400 14px consolas, courier, monospace; |
50 margin-left: 5px; | 46 margin-left: 5px; |
51 margin-right: 5px; | 47 margin-right: 5px; |
52 text-align: right; | 48 text-align: right; |
53 color: #a8a8a8; | 49 color: #a8a8a8; |
54 } | 50 } |
| 51 .hitsCurrent { |
| 52 background-color: #6cf; |
| 53 color: black; |
| 54 } |
55 .hitsNotExecuted { | 55 .hitsNotExecuted { |
56 background-color: #faa; | 56 background-color: #faa; |
57 } | 57 } |
58 .hitsExecuted { | 58 .hitsExecuted { |
59 background-color: #aea; | 59 background-color: #aea; |
60 } | 60 } |
61 .noCopy {} | 61 .noCopy {} |
62 .emptyBreakpoint, .possibleBreakpoint, .busyBreakpoint, .unresolvedBreakpo
int, .resolvedBreakpoint { | 62 .emptyBreakpoint, .possibleBreakpoint, .busyBreakpoint, .unresolvedBreakpo
int, .resolvedBreakpoint { |
63 display: table-cell; | 63 display: table-cell; |
64 vertical-align: top; | 64 vertical-align: top; |
(...skipping 15 matching lines...) Expand all Loading... |
80 cursor: wait; | 80 cursor: wait; |
81 } | 81 } |
82 .unresolvedBreakpoint { | 82 .unresolvedBreakpoint { |
83 color: white; | 83 color: white; |
84 background-color: #cac; | 84 background-color: #cac; |
85 } | 85 } |
86 .resolvedBreakpoint { | 86 .resolvedBreakpoint { |
87 color: white; | 87 color: white; |
88 background-color: #e66; | 88 background-color: #e66; |
89 } | 89 } |
| 90 .unresolvedBreakAnnotation { |
| 91 color: white; |
| 92 background-color: #cac; |
| 93 } |
| 94 .resolvedBreakAnnotation { |
| 95 color: white; |
| 96 background-color: #e66; |
| 97 } |
90 </style> | 98 </style> |
91 </template> | 99 </template> |
92 </polymer-element> | 100 </polymer-element> |
93 | 101 |
94 | 102 |
95 <polymer-element name="source-inset"> | 103 <polymer-element name="source-inset"> |
96 <template> | 104 <template> |
97 <template if="{{ location != null }}"> | 105 <template if="{{ location != null }}"> |
98 <script-inset script="{{ location.script }}" | 106 <script-inset script="{{ location.script }}" |
99 startPos="{{ location.tokenPos }}" | 107 startPos="{{ location.tokenPos }}" |
100 endPos="{{ location.endTokenPos }}" | 108 endPos="{{ location.endTokenPos }}" |
101 height="{{ height }}" | 109 height="{{ height }}" |
102 currentPos="{{ currentPos }}" | 110 currentPos="{{ currentPos }}" |
103 inDebuggerContext="{{ inDebuggerContext }}" | 111 inDebuggerContext="{{ inDebuggerContext }}" |
104 variables="{{ variables }}"> | 112 variables="{{ variables }}"> |
105 </script-inset> | 113 </script-inset> |
106 </template> | 114 </template> |
107 </template> | 115 </template> |
108 </polymer-element> | 116 </polymer-element> |
109 | 117 |
110 <script type="application/dart" src="script_inset.dart"></script> | 118 <script type="application/dart" src="script_inset.dart"></script> |
OLD | NEW |