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 .sourceInset { | 7 .sourceInset { |
8 } | 8 } |
9 .sourceTable { | 9 .sourceTable { |
10 display: table; | 10 display: table; |
11 background-color: #f5f5f5; | 11 background-color: #f5f5f5; |
12 border: 1px solid #ccc; | 12 border: 1px solid #ccc; |
13 padding: 10px; | 13 padding: 10px; |
14 overflow-y: auto; | 14 overflow-y: auto; |
15 width: 100%; | 15 width: 100%; |
| 16 box-sizing: border-box; |
16 } | 17 } |
17 .sourceRow { | 18 .sourceRow { |
18 display: table-row; | 19 display: table-row; |
19 } | 20 } |
20 .sourceItem, .sourceItemCurrent { | 21 .sourceItem, .sourceItemCurrent { |
21 display: table-cell; | 22 display: table-cell; |
22 vertical-align: top; | 23 vertical-align: top; |
23 font: 400 14px consolas, courier, monospace; | 24 font: 400 14px consolas, courier, monospace; |
24 line-height: 125%; | 25 line-height: 125%; |
25 white-space: pre; | 26 white-space: pre; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 } | 72 } |
72 .resolvedBreakpoint { | 73 .resolvedBreakpoint { |
73 color: white; | 74 color: white; |
74 background-color: #e66; | 75 background-color: #e66; |
75 } | 76 } |
76 </style> | 77 </style> |
77 </template> | 78 </template> |
78 </polymer-element> | 79 </polymer-element> |
79 | 80 |
80 <script type="application/dart" src="script_inset.dart"></script> | 81 <script type="application/dart" src="script_inset.dart"></script> |
OLD | NEW |