Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Side by Side Diff: runtime/observatory/lib/src/elements/script_inset.html

Issue 1123143002: Make script-insets obey their bounds, and other padding tweaks. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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;
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>
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/function_view.html ('k') | runtime/observatory/lib/src/elements/script_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698