Chromium Code Reviews| 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 width: 100%; |
| 15 width: 100%; | 15 box-sizing: border-box; |
| 16 box-sizing: border-box; | |
| 17 } | 16 } |
| 18 .sourceRow { | 17 .sourceRow { |
| 19 display: table-row; | 18 display: table-row; |
| 20 } | 19 } |
| 21 .sourceItem, .sourceItemCurrent { | 20 .sourceItem, .sourceItemCurrent { |
| 22 display: table-cell; | 21 display: table-cell; |
| 23 vertical-align: top; | 22 vertical-align: top; |
| 24 font: 400 14px consolas, courier, monospace; | 23 font: 400 14px consolas, courier, monospace; |
| 25 line-height: 125%; | 24 line-height: 125%; |
| 26 white-space: pre; | 25 white-space: pre; |
| 26 max-width: 0; | |
|
rmacnak
2015/05/06 01:33:44
Apparently this needs to be set for a table-cell t
turnidge
2015/05/06 07:14:42
Do we want hidden or auto? Will auto give us a sc
rmacnak
2015/05/06 17:10:33
A scroll bar would be nice if it applied to the sc
| |
| 27 » overflow-x: hidden; | |
| 27 } | 28 } |
| 28 .currentLine { | 29 .currentLine { |
| 29 background-color: #fff; | 30 background-color: #fff; |
| 30 } | 31 } |
| 31 .currentCol { | 32 .currentCol { |
| 32 background-color: #6cf; | 33 background-color: #6cf; |
| 33 } | 34 } |
| 34 .hitsNone, .hitsNotExecuted, .hitsExecuted { | 35 .hitsNone, .hitsNotExecuted, .hitsExecuted { |
| 35 display: table-cell; | 36 display: table-cell; |
| 36 vertical-align: top; | 37 vertical-align: top; |
| 37 font: 400 14px consolas, courier, monospace; | 38 font: 400 14px consolas, courier, monospace; |
| 38 min-width: 32px; | 39 width: 4em; |
| 39 text-align: right; | 40 text-align: right; |
| 40 color: #a8a8a8; | 41 color: #a8a8a8; |
| 41 } | 42 } |
| 42 .hitsNotExecuted { | 43 .hitsNotExecuted { |
| 43 background-color: #EEA7A7; | 44 background-color: #EEA7A7; |
| 44 } | 45 } |
| 45 .hitsExecuted { | 46 .hitsExecuted { |
| 46 background-color: #9BDD9B; | 47 background-color: #9BDD9B; |
| 47 } | 48 } |
| 48 | 49 |
| 49 .emptyBreakpoint, .possibleBreakpoint, .busyBreakpoint, .unresolvedBreakpo int, .resolvedBreakpoint { | 50 .emptyBreakpoint, .possibleBreakpoint, .busyBreakpoint, .unresolvedBreakpo int, .resolvedBreakpoint { |
| 50 display: table-cell; | 51 display: table-cell; |
| 51 vertical-align: top; | 52 vertical-align: top; |
| 52 font: 400 14px consolas, courier, monospace; | 53 font: 400 14px consolas, courier, monospace; |
| 53 min-width: 1em; | 54 width: 1em; |
| 54 text-align: center; | 55 text-align: center; |
| 55 cursor: pointer; | 56 cursor: pointer; |
| 56 } | 57 } |
| 57 .possibleBreakpoint { | 58 .possibleBreakpoint { |
| 58 color: #e0e0e0; | 59 color: #e0e0e0; |
| 59 } | 60 } |
| 60 .possibleBreakpoint:hover { | 61 .possibleBreakpoint:hover { |
| 61 color: white; | 62 color: white; |
| 62 background-color: #777; | 63 background-color: #777; |
| 63 } | 64 } |
| 64 .busyBreakpoint { | 65 .busyBreakpoint { |
| 65 color: white; | 66 color: white; |
| 66 background-color: black; | 67 background-color: black; |
| 67 cursor: wait; | 68 cursor: wait; |
| 68 } | 69 } |
| 69 .unresolvedBreakpoint { | 70 .unresolvedBreakpoint { |
| 70 color: white; | 71 color: white; |
| 71 background-color: #cac; | 72 background-color: #cac; |
| 72 } | 73 } |
| 73 .resolvedBreakpoint { | 74 .resolvedBreakpoint { |
| 74 color: white; | 75 color: white; |
| 75 background-color: #e66; | 76 background-color: #e66; |
| 76 } | 77 } |
| 77 </style> | 78 </style> |
| 78 </template> | 79 </template> |
| 79 </polymer-element> | 80 </polymer-element> |
| 80 | 81 |
| 81 <script type="application/dart" src="script_inset.dart"></script> | 82 <script type="application/dart" src="script_inset.dart"></script> |
| OLD | NEW |