| OLD | NEW |
| (Empty) |
| 1 .CodeMirror { | |
| 2 line-height: 1.2em !important; | |
| 3 background-color: transparent !important; | |
| 4 color: #222; | |
| 5 } | |
| 6 | |
| 7 .CodeMirror-linewidget { | |
| 8 overflow: visible !important; | |
| 9 } | |
| 10 | |
| 11 .CodeMirror-gutter-performance { | |
| 12 width: 74px; | |
| 13 background-color: white; | |
| 14 margin-left: 3px; | |
| 15 } | |
| 16 | |
| 17 .CodeMirror .source-frame-eval-expression { | |
| 18 outline: 0; | |
| 19 border: 1px solid rgb(163, 41, 34); | |
| 20 border-left-width: 0; | |
| 21 border-right-width: 0; | |
| 22 background-color: rgb(255, 255, 194); | |
| 23 } | |
| 24 | |
| 25 .CodeMirror .source-frame-eval-expression-end { | |
| 26 border-right-width: 1px; | |
| 27 margin-right: -1px; | |
| 28 } | |
| 29 | |
| 30 .CodeMirror .source-frame-eval-expression-start { | |
| 31 border-left-width: 1px; | |
| 32 margin-left: -1px; | |
| 33 } | |
| 34 | |
| 35 .CodeMirror-readonly .CodeMirror-cursor { | |
| 36 display: none; | |
| 37 } | |
| 38 | |
| 39 .CodeMirror .CodeMirror-gutters { | |
| 40 border-right: 1px solid rgb(187, 187, 187); | |
| 41 background-color: #eee; | |
| 42 } | |
| 43 | |
| 44 .CodeMirror .CodeMirror-linenumber { | |
| 45 color: rgb(128, 128, 128); | |
| 46 } | |
| 47 | |
| 48 .CodeMirror-linenumber { | |
| 49 min-width: 22px !important; | |
| 50 } | |
| 51 | |
| 52 .cm-highlight { | |
| 53 -webkit-animation: fadeout 2s 0s; | |
| 54 } | |
| 55 .-theme-with-dark-background .cm-highlight { | |
| 56 -webkit-animation: fadeout-dark 2s 0s; | |
| 57 } | |
| 58 @-webkit-keyframes fadeout { | |
| 59 from {background-color: rgb(255, 255, 120); } | |
| 60 to { background-color: white; } | |
| 61 } | |
| 62 @-webkit-keyframes fadeout-dark { | |
| 63 from {background-color: hsla(133, 100%, 30%, 0.5); } | |
| 64 to { background-color: transparent; } | |
| 65 } | |
| 66 | |
| 67 .cm-highlight.cm-execution-line { | |
| 68 -webkit-animation: fadeout-execution-line 1s 0s; | |
| 69 } | |
| 70 @-webkit-keyframes fadeout-execution-line { | |
| 71 from {background-color: rgb(121, 141, 254); } | |
| 72 to { background-color: rgb(171, 191, 254); } | |
| 73 } | |
| 74 | |
| 75 .cm-breakpoint .CodeMirror-gutter-wrapper .CodeMirror-linenumber { | |
| 76 color: white; | |
| 77 border-width: 1px 4px 1px 1px !important; | |
| 78 -webkit-border-image: url(Images/breakpoint.png) 1 4 1 1; | |
| 79 margin: 0 0 0 3px !important; | |
| 80 padding-right: 3px; | |
| 81 padding-left: 1px; | |
| 82 height: 11px; | |
| 83 line-height: 12px !important; | |
| 84 border-style: solid; | |
| 85 } | |
| 86 | |
| 87 .cm-line-without-source-mapping .CodeMirror-linenumber { | |
| 88 color: rgba(128, 128, 128, 0.4); | |
| 89 } | |
| 90 | |
| 91 .cm-breakpoint.cm-breakpoint-conditional .CodeMirror-linenumber { | |
| 92 -webkit-border-image: url(Images/breakpointConditional.png) 1 4 1 1; | |
| 93 } | |
| 94 | |
| 95 @media (-webkit-min-device-pixel-ratio: 1.5) { | |
| 96 .cm-breakpoint .CodeMirror-gutter-wrapper .CodeMirror-linenumber { | |
| 97 -webkit-border-image: url(Images/breakpoint_2x.png) 2 8 2 2; | |
| 98 } | |
| 99 .cm-breakpoint.cm-breakpoint-conditional .CodeMirror-linenumber { | |
| 100 -webkit-border-image: url(Images/breakpointConditional_2x.png) 2 8 2 2; | |
| 101 } | |
| 102 } /* media */ | |
| 103 | |
| 104 .cm-breakpoint-disabled .CodeMirror-linenumber { | |
| 105 opacity: 0.5; | |
| 106 } | |
| 107 | |
| 108 .breakpoints-deactivated .cm-breakpoint .CodeMirror-linenumber { | |
| 109 opacity: 0.5; | |
| 110 } | |
| 111 | |
| 112 .breakpoints-deactivated .cm-breakpoint-disabled .CodeMirror-linenumber { | |
| 113 opacity: 0.3; | |
| 114 } | |
| 115 | |
| 116 .CodeMirror-matchingbracket { | |
| 117 border-bottom: 1px solid black; | |
| 118 color: #222 !important; | |
| 119 } | |
| 120 | |
| 121 .CodeMirror-nonmatchingbracket { | |
| 122 color: #222 !important; | |
| 123 } | |
| 124 | |
| 125 .cm-whitespace::before { | |
| 126 position: absolute; | |
| 127 pointer-events: none; | |
| 128 color: rgb(175, 175, 175); | |
| 129 } | |
| 130 | |
| 131 .cm-tab { | |
| 132 position: relative; | |
| 133 } | |
| 134 | |
| 135 .cm-tab:before { | |
| 136 display: none; | |
| 137 content: "."; | |
| 138 color: transparent; | |
| 139 border-bottom: 1px solid rgb(175, 175, 175); | |
| 140 position: absolute; | |
| 141 width: 90%; | |
| 142 bottom: 50%; | |
| 143 left: 5%; | |
| 144 } | |
| 145 | |
| 146 .show-whitespaces .CodeMirror .cm-tab:before { | |
| 147 display: block !important; | |
| 148 } | |
| 149 | |
| 150 .cm-execution-line, | |
| 151 .-theme-selection-color { | |
| 152 background-color: rgb(230, 236, 255); | |
| 153 outline: 1px solid rgb(64, 115, 244); | |
| 154 } | |
| 155 | |
| 156 .cm-execution-line-tail, | |
| 157 .-theme-selection-color { | |
| 158 background-color: rgb(171, 191, 254); | |
| 159 } | |
| 160 | |
| 161 .cm-execution-line .CodeMirror-linenumber, | |
| 162 .-theme-selection-color { | |
| 163 border-right: 1px solid rgb(64, 115, 244); | |
| 164 } | |
| 165 | |
| 166 .cm-token-highlight { | |
| 167 position: relative; | |
| 168 } | |
| 169 | |
| 170 .cm-token-highlight:before { | |
| 171 position: absolute; | |
| 172 border: 1px solid gray; | |
| 173 border-radius: 3px; | |
| 174 top: 0; | |
| 175 bottom: -1px; | |
| 176 left: 0; | |
| 177 right: 0; | |
| 178 content: ""; | |
| 179 } | |
| 180 | |
| 181 .cm-line-with-selection .cm-column-with-selection:before { | |
| 182 border: none; | |
| 183 } | |
| 184 | |
| 185 .cm-search-highlight { | |
| 186 position: relative; | |
| 187 } | |
| 188 | |
| 189 .cm-search-highlight:before { | |
| 190 position: absolute; | |
| 191 border-top-style: solid; | |
| 192 border-bottom-style: solid; | |
| 193 border-top-color: gray; | |
| 194 border-bottom-color: gray; | |
| 195 border-top-width: 1px; | |
| 196 border-bottom-width: 1px; | |
| 197 top: -1px; | |
| 198 bottom: 0; | |
| 199 left: 0; | |
| 200 right: 0; | |
| 201 content: ""; | |
| 202 } | |
| 203 | |
| 204 .cm-search-highlight-full:before { | |
| 205 border: 1px solid gray; | |
| 206 border-radius: 3px; | |
| 207 } | |
| 208 | |
| 209 .cm-search-highlight-start:before { | |
| 210 border-left-width: 1px; | |
| 211 border-top-left-radius: 2px; | |
| 212 border-bottom-left-radius: 2px; | |
| 213 border-left-style: solid; | |
| 214 border-left-color: gray; | |
| 215 } | |
| 216 | |
| 217 .cm-search-highlight-end:before { | |
| 218 border-right-width: 1px; | |
| 219 border-top-right-radius: 2px; | |
| 220 border-bottom-right-radius: 2px; | |
| 221 border-right-style: solid; | |
| 222 border-right-color: gray; | |
| 223 } | |
| 224 | |
| 225 .cm-line-with-selection .cm-column-with-selection.cm-search-highlight-full:befor
e { | |
| 226 border-radius: 1px; | |
| 227 } | |
| 228 | |
| 229 .cm-line-with-selection .cm-column-with-selection.cm-search-highlight-start:befo
re { | |
| 230 border-top-left-radius: 1px; | |
| 231 border-bottom-left-radius: 1px; | |
| 232 } | |
| 233 | |
| 234 .cm-line-with-selection .cm-column-with-selection.cm-search-highlight-end:before
{ | |
| 235 border-top-right-radius: 1px; | |
| 236 border-bottom-right-radius: 1px; | |
| 237 } | |
| 238 | |
| 239 .cm-line-with-selection .cm-column-with-selection.cm-search-highlight:before { | |
| 240 margin: -1px -1px -1px -1px; | |
| 241 background-color: rgb(241, 234, 0); | |
| 242 z-index: -1; | |
| 243 } | |
| 244 | |
| 245 .-theme-with-dark-background .cm-line-with-selection .cm-column-with-selection.c
m-search-highlight:before { | |
| 246 background-color: hsl(133, 100%, 30%); | |
| 247 } | |
| 248 | |
| 249 .-theme-with-dark-background .cm-line-with-selection .cm-search-highlight { | |
| 250 color: #eee; | |
| 251 } | |
| 252 | |
| 253 .CodeMirror .text-editor-line-marker-performance { | |
| 254 text-align: right; | |
| 255 padding-right: 3px; | |
| 256 } | |
| 257 | |
| 258 .CodeMirror .text-editor-line-decoration { | |
| 259 position: absolute; | |
| 260 } | |
| 261 | |
| 262 .CodeMirror .text-editor-line-decoration-wave { | |
| 263 position: absolute; | |
| 264 top: -2px; | |
| 265 right: -4px; | |
| 266 left: 4px; | |
| 267 cursor: pointer; | |
| 268 height: 4px; | |
| 269 } | |
| 270 | |
| 271 .CodeMirror .text-editor-value-decoration { | |
| 272 position: absolute; | |
| 273 bottom: 0; | |
| 274 white-space: nowrap; | |
| 275 overflow: hidden; | |
| 276 text-overflow: ellipsis; | |
| 277 max-width: 1000px; | |
| 278 opacity: 0.8; | |
| 279 background-color: #FFE3C7; | |
| 280 margin-left: 10px; | |
| 281 padding-left: 5px; | |
| 282 color: #222; | |
| 283 -webkit-user-select: text; | |
| 284 } | |
| 285 | |
| 286 .CodeMirror .cm-execution-line .text-editor-value-decoration { | |
| 287 background-color: transparent; | |
| 288 opacity: 0.5; | |
| 289 } | |
| 290 | |
| 291 .text-editor-messages-description-container { | |
| 292 display: inline-block; | |
| 293 } | |
| 294 | |
| 295 .text-editor-row-message:first-child { | |
| 296 border-top-width: 0; | |
| 297 } | |
| 298 | |
| 299 .text-editor-row-message { | |
| 300 border-top: 1px solid rgb(215, 215, 215); | |
| 301 line-height: 1.2; | |
| 302 white-space: nowrap; | |
| 303 display: flex; | |
| 304 } | |
| 305 | |
| 306 .text-editor-row-message .bubble-repeat-count { | |
| 307 margin-right: 1ex; | |
| 308 margin-top: -1px; | |
| 309 } | |
| 310 | |
| 311 .CodeMirror .text-editor-line-decoration-icon { | |
| 312 position: absolute; | |
| 313 cursor: pointer; | |
| 314 right: -16px; | |
| 315 top: -9px; | |
| 316 } | |
| 317 | |
| 318 .CodeMirror .text-editor-line-with-warning:not(.cm-execution-line) { | |
| 319 background-color: rgba(241, 230, 0, 0.1); | |
| 320 } | |
| 321 | |
| 322 .CodeMirror .text-editor-line-with-error:not(.cm-execution-line) { | |
| 323 background-color: rgba(255, 0, 0, 0.05); | |
| 324 } | |
| 325 | |
| 326 .CodeMirror .text-editor-line-decoration-wave { | |
| 327 background-image: url(Images/errorWave.png); | |
| 328 background-repeat: repeat-x; | |
| 329 background-size: contain; | |
| 330 } | |
| 331 | |
| 332 @media (-webkit-min-device-pixel-ratio: 1.5) { | |
| 333 .CodeMirror .text-editor-line-decoration-wave { | |
| 334 background-image: url(Images/errorWave_2x.png); | |
| 335 } | |
| 336 } /* media */ | |
| 337 | |
| 338 /** @see crbug.com/358161 */ | |
| 339 .CodeMirror .CodeMirror-vscrollbar, .CodeMirror .CodeMirror-hscrollbar { | |
| 340 transform: translateZ(0); | |
| 341 } | |
| 342 | |
| 343 .CodeMirror .CodeMirror-activeline-background { | |
| 344 background-color: transparent; | |
| 345 } | |
| 346 | |
| 347 .cm-trailing-whitespace { | |
| 348 background-color: rgba(255, 0, 0, 0.05); | |
| 349 } | |
| 350 | |
| 351 .CodeMirror-activeline .cm-trailing-whitespace { | |
| 352 background-color: transparent; | |
| 353 } | |
| 354 | |
| 355 .-theme-with-dark-background .CodeMirror .CodeMirror-selected { | |
| 356 background-color: #454545; | |
| 357 } | |
| 358 | |
| 359 .CodeMirror .auto-complete-text{ | |
| 360 color: rgb(128,128,128); | |
| 361 } | |
| OLD | NEW |