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

Side by Side Diff: Source/devtools/front_end/cm/cmdevtools.css

Issue 203433002: DevTools: Reuse _showSourceLocation for execution line changes handling in sources panel (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaselined and fixed highlighting after execution line changes Created 6 years, 9 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
« no previous file with comments | « Source/devtools/front_end/SourcesPanel.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 .CodeMirror * { 1 .CodeMirror * {
2 box-sizing: content-box; 2 box-sizing: content-box;
3 } 3 }
4 4
5 .CodeMirror { 5 .CodeMirror {
6 line-height: 1.2em !important; 6 line-height: 1.2em !important;
7 background-color: transparent !important; 7 background-color: transparent !important;
8 } 8 }
9 9
10 .CodeMirror .source-frame-eval-expression { 10 .CodeMirror .source-frame-eval-expression {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 } 42 }
43 43
44 .cm-highlight { 44 .cm-highlight {
45 -webkit-animation: "fadeout" 2s 0s; 45 -webkit-animation: "fadeout" 2s 0s;
46 } 46 }
47 @-webkit-keyframes fadeout { 47 @-webkit-keyframes fadeout {
48 from {background-color: rgb(255, 255, 120); } 48 from {background-color: rgb(255, 255, 120); }
49 to { background-color: white; } 49 to { background-color: white; }
50 } 50 }
51 51
52 .cm-highlight.cm-execution-line {
53 -webkit-animation: "fadeout-execution-line" 1s 0s;
54 }
55 @-webkit-keyframes fadeout-execution-line {
56 from {background-color: rgb(121, 141, 254); }
57 to { background-color: rgb(171, 191, 254); }
58 }
59
52 .cm-breakpoint .CodeMirror-linenumber { 60 .cm-breakpoint .CodeMirror-linenumber {
53 color: white; 61 color: white;
54 border-width: 1px 4px 1px 1px !important; 62 border-width: 1px 4px 1px 1px !important;
55 -webkit-border-image: url(Images/breakpoint.png) 1 4 1 1; 63 -webkit-border-image: url(Images/breakpoint.png) 1 4 1 1;
56 margin: 0px 0px 0px 3px !important; 64 margin: 0px 0px 0px 3px !important;
57 padding-right: 3px; 65 padding-right: 3px;
58 padding-left: 1px; 66 padding-left: 1px;
59 height: 11px; 67 height: 11px;
60 line-height: 12px !important; 68 line-height: 12px !important;
61 } 69 }
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 width: 90%; 121 width: 90%;
114 bottom: 50%; 122 bottom: 50%;
115 left: 5%; 123 left: 5%;
116 } 124 }
117 125
118 .show-whitespaces .CodeMirror .cm-tab:before { 126 .show-whitespaces .CodeMirror .cm-tab:before {
119 display: block !important; 127 display: block !important;
120 } 128 }
121 129
122 .cm-execution-line { 130 .cm-execution-line {
123 background-color: rgb(171, 191, 254) !important; 131 background-color: rgb(171, 191, 254);
124 outline: 1px solid rgb(64, 115, 244); 132 outline: 1px solid rgb(64, 115, 244);
125 } 133 }
126 134
127 .cm-execution-line .CodeMirror-linenumber { 135 .cm-execution-line .CodeMirror-linenumber {
128 border-right: 1px solid rgb(64, 115, 244); 136 border-right: 1px solid rgb(64, 115, 244);
129 } 137 }
130 138
131 .cm-token-highlight { 139 .cm-token-highlight {
132 position: relative; 140 position: relative;
133 } 141 }
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 235
228 .CodeMirror .webkit-html-warning-message { 236 .CodeMirror .webkit-html-warning-message {
229 background-color: rgb(100%, 62%, 42%); 237 background-color: rgb(100%, 62%, 42%);
230 border: 2px solid rgb(100%, 52%, 21%); 238 border: 2px solid rgb(100%, 52%, 21%);
231 } 239 }
232 240
233 .CodeMirror .webkit-html-error-message { 241 .CodeMirror .webkit-html-error-message {
234 background-color: rgb(100%, 42%, 42%); 242 background-color: rgb(100%, 42%, 42%);
235 border: 2px solid rgb(100%, 31%, 31%); 243 border: 2px solid rgb(100%, 31%, 31%);
236 } 244 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/SourcesPanel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698