Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 91 } | 91 } |
| 92 | 92 |
| 93 .cm-line-without-source-mapping .CodeMirror-linenumber { | 93 .cm-line-without-source-mapping .CodeMirror-linenumber { |
| 94 color: rgba(128, 128, 128, 0.4); | 94 color: rgba(128, 128, 128, 0.4); |
| 95 } | 95 } |
| 96 | 96 |
| 97 .cm-breakpoint.cm-breakpoint-conditional .CodeMirror-linenumber { | 97 .cm-breakpoint.cm-breakpoint-conditional .CodeMirror-linenumber { |
| 98 -webkit-border-image: url(Images/breakpointConditional.png) 1 4 1 1; | 98 -webkit-border-image: url(Images/breakpointConditional.png) 1 4 1 1; |
| 99 } | 99 } |
| 100 | 100 |
| 101 .cm-inline-breakpoint { | |
| 102 position:relative; | |
| 103 top: 1px; | |
| 104 width: 10px; | |
| 105 height: 10px; | |
| 106 display: inline-block; | |
| 107 -webkit-user-select: none; | |
| 108 clip-path: polygon(0% 0%, 60% 0%, 100% 50%, 60% 100%, 0% 100%); | |
|
lushnikov
2016/11/17 04:31:50
FYI: it's easy to insert UI.Icon instances in edit
| |
| 109 cursor: pointer; | |
| 110 background-color: #698cfe; | |
| 111 } | |
| 112 | |
| 113 .cm-execution-line-tail + .CodeMirror-widget { | |
| 114 background-color: #abbffe; | |
| 115 } | |
| 116 | |
| 117 .source-frame-eval-expression + .CodeMirror-widget { | |
| 118 border: 1px solid rgb(163, 41, 34); | |
| 119 border-left-width: 0; | |
| 120 border-right-width: 0; | |
| 121 background-color: rgb(255, 255, 194); | |
| 122 } | |
| 123 | |
| 124 .cm-inline-breakpoint.cm-execution-line-tail { | |
| 125 background-color: #698cfe; | |
| 126 } | |
| 127 | |
| 128 .cm-execution-line-tail .cm-inline-breakpoint { | |
| 129 background-color: white | |
| 130 } | |
| 131 | |
| 132 .cm-inline-breakpoint.cm-inline-conditional { | |
| 133 background-color: #ef9d0d; | |
| 134 } | |
| 135 | |
| 136 .cm-inline-breakpoint.cm-inline-disabled { | |
| 137 opacity: 0.5; | |
| 138 } | |
| 139 | |
| 101 @media (-webkit-min-device-pixel-ratio: 1.1) { | 140 @media (-webkit-min-device-pixel-ratio: 1.1) { |
| 102 .cm-breakpoint .CodeMirror-gutter-wrapper .CodeMirror-linenumber { | 141 .cm-breakpoint .CodeMirror-gutter-wrapper .CodeMirror-linenumber { |
| 103 -webkit-border-image: url(Images/breakpoint_2x.png) 2 8 2 2; | 142 -webkit-border-image: url(Images/breakpoint_2x.png) 2 8 2 2; |
| 104 } | 143 } |
| 105 .cm-breakpoint.cm-breakpoint-conditional .CodeMirror-linenumber { | 144 .cm-breakpoint.cm-breakpoint-conditional .CodeMirror-linenumber { |
| 106 -webkit-border-image: url(Images/breakpointConditional_2x.png) 2 8 2 2; | 145 -webkit-border-image: url(Images/breakpointConditional_2x.png) 2 8 2 2; |
| 107 } | 146 } |
| 108 } /* media */ | 147 } /* media */ |
| 109 | 148 |
| 110 .cm-breakpoint-disabled .CodeMirror-linenumber { | 149 .cm-breakpoint-disabled .CodeMirror-linenumber { |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 } |
| OLD | NEW |