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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/text_editor/cmdevtools.css

Issue 2526013002: [DevTools] Added inline breakpoints (Closed)
Patch Set: addressed comments Created 4 years 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.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 line-height: 1.2em !important; 2 line-height: 1.2em !important;
3 background-color: transparent !important; 3 background-color: transparent !important;
4 color: #222; 4 color: #222;
5 } 5 }
6 6
7 .CodeMirror-linewidget { 7 .CodeMirror-linewidget {
8 overflow: visible !important; 8 overflow: visible !important;
9 } 9 }
10 10
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 } 112 }
113 113
114 .breakpoints-deactivated .cm-breakpoint .CodeMirror-linenumber { 114 .breakpoints-deactivated .cm-breakpoint .CodeMirror-linenumber {
115 opacity: 0.5; 115 opacity: 0.5;
116 } 116 }
117 117
118 .breakpoints-deactivated .cm-breakpoint-disabled .CodeMirror-linenumber { 118 .breakpoints-deactivated .cm-breakpoint-disabled .CodeMirror-linenumber {
119 opacity: 0.3; 119 opacity: 0.3;
120 } 120 }
121 121
122 .cm-inline-breakpoint {
123 position:relative;
124 top: 1px;
125 width: 10px;
126 height: 10px;
127 display: inline-block;
128 -webkit-user-select: none;
129 clip-path: polygon(0% 0%, 60% 0%, 100% 50%, 60% 100%, 0% 100%);
dgozman 2016/11/23 23:46:56 Maybe a mask or an image? UI.Icon ftw!
kozy 2016/11/24 01:24:18 Done.
130 cursor: pointer;
131 background-color: #698cfe;
132 }
133
134 .cm-execution-line-tail + .CodeMirror-widget {
135 background-color: #abbffe;
136 }
137
138 .source-frame-eval-expression + .CodeMirror-widget {
139 border: 1px solid rgb(163, 41, 34);
140 border-left-width: 0;
141 border-right-width: 0;
142 background-color: rgb(255, 255, 194);
143 }
144
145 .cm-inline-breakpoint.cm-execution-line-tail {
146 background-color: #698cfe;
147 }
148
149 .cm-execution-line-tail .cm-inline-breakpoint {
150 background-color: white
151 }
152
153 .cm-inline-breakpoint.cm-inline-conditional {
154 background-color: #ef9d0d;
155 }
156
157 .cm-inline-breakpoint.cm-inline-disabled {
158 opacity: 0.5;
159 }
160
122 div.CodeMirror span.CodeMirror-matchingbracket { 161 div.CodeMirror span.CodeMirror-matchingbracket {
123 background-color: rgba(0, 0, 0, 0.07); 162 background-color: rgba(0, 0, 0, 0.07);
124 border-bottom: 1px solid rgba(0, 0, 0, 0.5); 163 border-bottom: 1px solid rgba(0, 0, 0, 0.5);
125 color: unset; 164 color: unset;
126 } 165 }
127 166
128 div.CodeMirror span.CodeMirror-nonmatchingbracket { 167 div.CodeMirror span.CodeMirror-nonmatchingbracket {
129 background-color: rgba(255, 0, 0, 0.07); 168 background-color: rgba(255, 0, 0, 0.07);
130 border-bottom: 1px solid rgba(255, 0, 0, 0.5); 169 border-bottom: 1px solid rgba(255, 0, 0, 0.5);
131 color: unset; 170 color: unset;
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 427
389 .CodeMirror .auto-complete-text { 428 .CodeMirror .auto-complete-text {
390 color: rgb(128,128,128); 429 color: rgb(128,128,128);
391 } 430 }
392 431
393 /** Prevent the codemirror textarea from stealing PageUp events **/ 432 /** Prevent the codemirror textarea from stealing PageUp events **/
394 .CodeMirror textarea { 433 .CodeMirror textarea {
395 resize: none; 434 resize: none;
396 overflow: hidden; 435 overflow: hidden;
397 } 436 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698