| 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 } | 4 } |
| 5 | 5 |
| 6 .CodeMirror-linewidget { | 6 .CodeMirror-linewidget { |
| 7 overflow: visible !important; | 7 overflow: visible !important; |
| 8 } |
| 9 |
| 10 .CodeMirror-gutter-performance { |
| 11 width: 74px; |
| 12 background-color: white; |
| 13 margin-left: 3px; |
| 8 } | 14 } |
| 9 | 15 |
| 10 .CodeMirror .source-frame-eval-expression { | 16 .CodeMirror .source-frame-eval-expression { |
| 11 outline: 0; | 17 outline: 0; |
| 12 border: 1px solid rgb(163, 41, 34); | 18 border: 1px solid rgb(163, 41, 34); |
| 13 border-left-width: 0; | 19 border-left-width: 0; |
| 14 border-right-width: 0; | 20 border-right-width: 0; |
| 15 background-color: rgb(255, 255, 194); | 21 background-color: rgb(255, 255, 194); |
| 16 } | 22 } |
| 17 | 23 |
| 18 .CodeMirror .source-frame-eval-expression-end { | 24 .CodeMirror .source-frame-eval-expression-end { |
| 19 border-right-width: 1px; | 25 border-right-width: 1px; |
| 20 margin-right: -1px; | 26 margin-right: -1px; |
| 21 } | 27 } |
| 22 | 28 |
| 23 .CodeMirror .source-frame-eval-expression-start { | 29 .CodeMirror .source-frame-eval-expression-start { |
| 24 border-left-width: 1px; | 30 border-left-width: 1px; |
| 25 margin-left: -1px; | 31 margin-left: -1px; |
| 26 } | 32 } |
| 27 | 33 |
| 28 .CodeMirror-readonly .CodeMirror-cursor { | 34 .CodeMirror-readonly .CodeMirror-cursor { |
| 29 display: none; | 35 display: none; |
| 30 } | 36 } |
| 31 | 37 |
| 32 .CodeMirror .CodeMirror-gutters { | 38 .CodeMirror .CodeMirror-gutters { |
| 33 border-right: 1px solid rgb(187, 187, 187); | 39 border-right: 1px solid rgb(187, 187, 187); |
| 34 background-color: #eee; | 40 background-color: #eee; |
| 35 } | 41 } |
| 36 | 42 |
| 37 .CodeMirror .CodeMirror-linenumber { | 43 .CodeMirror .CodeMirror-linenumber { |
| 38 color: rgb(128, 128, 128); | 44 color: rgb(128, 128, 128); |
| 39 } | 45 } |
| 40 | 46 |
| 41 .CodeMirror-linenumber { | 47 .CodeMirror-linenumber { |
| 42 min-width: 22px !important; | 48 min-width: 22px !important; |
| 43 } | 49 } |
| 44 | 50 |
| 45 .cm-highlight { | 51 .cm-highlight { |
| 46 -webkit-animation: fadeout 2s 0s; | 52 -webkit-animation: fadeout 2s 0s; |
| 47 } | 53 } |
| 48 .-theme-with-dark-background .cm-highlight { | 54 .-theme-with-dark-background .cm-highlight { |
| 49 -webkit-animation: fadeout-dark 2s 0s; | 55 -webkit-animation: fadeout-dark 2s 0s; |
| 50 } | 56 } |
| 51 @-webkit-keyframes fadeout { | 57 @-webkit-keyframes fadeout { |
| 52 from {background-color: rgb(255, 255, 120); } | 58 from {background-color: rgb(255, 255, 120); } |
| 53 to { background-color: white; } | 59 to { background-color: white; } |
| 54 } | 60 } |
| 55 @-webkit-keyframes fadeout-dark { | 61 @-webkit-keyframes fadeout-dark { |
| 56 from {background-color: hsla(133, 100%, 30%, 0.5); } | 62 from {background-color: hsla(133, 100%, 30%, 0.5); } |
| 57 to { background-color: transparent; } | 63 to { background-color: transparent; } |
| 58 } | 64 } |
| 59 | 65 |
| 60 .cm-highlight.cm-execution-line { | 66 .cm-highlight.cm-execution-line { |
| 61 -webkit-animation: fadeout-execution-line 1s 0s; | 67 -webkit-animation: fadeout-execution-line 1s 0s; |
| 62 } | 68 } |
| 63 @-webkit-keyframes fadeout-execution-line { | 69 @-webkit-keyframes fadeout-execution-line { |
| 64 from {background-color: rgb(121, 141, 254); } | 70 from {background-color: rgb(121, 141, 254); } |
| 65 to { background-color: rgb(171, 191, 254); } | 71 to { background-color: rgb(171, 191, 254); } |
| 66 } | 72 } |
| 67 | 73 |
| 68 .cm-breakpoint .CodeMirror-linenumber { | 74 .cm-breakpoint .CodeMirror-linenumber { |
| 69 color: white; | 75 color: white; |
| 70 border-width: 1px 4px 1px 1px !important; | 76 border-width: 1px 4px 1px 1px !important; |
| 71 -webkit-border-image: url(Images/breakpoint.png) 1 4 1 1; | 77 -webkit-border-image: url(Images/breakpoint.png) 1 4 1 1; |
| 72 margin: 0 0 0 3px !important; | 78 margin: 0 0 0 3px !important; |
| 73 padding-right: 3px; | 79 padding-right: 3px; |
| 74 padding-left: 1px; | 80 padding-left: 1px; |
| 75 height: 11px; | 81 height: 11px; |
| 76 line-height: 12px !important; | 82 line-height: 12px !important; |
| 77 } | 83 } |
| 78 | 84 |
| 79 .cm-line-without-source-mapping { | 85 .cm-line-without-source-mapping { |
| 80 background-color: #fafafa; | 86 background-color: #fafafa; |
| 81 } | 87 } |
| 82 | 88 |
| 83 .cm-breakpoint.cm-breakpoint-conditional .CodeMirror-linenumber { | 89 .cm-breakpoint.cm-breakpoint-conditional .CodeMirror-linenumber { |
| 84 -webkit-border-image: url(Images/breakpointConditional.png) 1 4 1 1; | 90 -webkit-border-image: url(Images/breakpointConditional.png) 1 4 1 1; |
| 85 } | 91 } |
| 86 | 92 |
| 87 @media (-webkit-min-device-pixel-ratio: 1.5) { | 93 @media (-webkit-min-device-pixel-ratio: 1.5) { |
| 88 .cm-breakpoint .CodeMirror-linenumber { | 94 .cm-breakpoint .CodeMirror-linenumber { |
| 89 -webkit-border-image: url(Images/breakpoint_2x.png) 2 8 2 2; | 95 -webkit-border-image: url(Images/breakpoint_2x.png) 2 8 2 2; |
| 90 } | 96 } |
| 91 .cm-breakpoint.cm-breakpoint-conditional .CodeMirror-linenumber { | 97 .cm-breakpoint.cm-breakpoint-conditional .CodeMirror-linenumber { |
| 92 -webkit-border-image: url(Images/breakpointConditional_2x.png) 2 8 2 2; | 98 -webkit-border-image: url(Images/breakpointConditional_2x.png) 2 8 2 2; |
| 93 } | 99 } |
| 94 } /* media */ | 100 } /* media */ |
| 95 | 101 |
| 96 .cm-breakpoint-disabled .CodeMirror-linenumber { | 102 .cm-breakpoint-disabled .CodeMirror-linenumber { |
| 97 opacity: 0.5; | 103 opacity: 0.5; |
| 98 } | 104 } |
| 99 | 105 |
| 100 .breakpoints-deactivated .cm-breakpoint .CodeMirror-linenumber { | 106 .breakpoints-deactivated .cm-breakpoint .CodeMirror-linenumber { |
| 101 opacity: 0.5; | 107 opacity: 0.5; |
| 102 } | 108 } |
| 103 | 109 |
| 104 .breakpoints-deactivated .cm-breakpoint-disabled .CodeMirror-linenumber { | 110 .breakpoints-deactivated .cm-breakpoint-disabled .CodeMirror-linenumber { |
| 105 opacity: 0.3; | 111 opacity: 0.3; |
| 106 } | 112 } |
| 107 | 113 |
| 108 .CodeMirror-matchingbracket { | 114 .CodeMirror-matchingbracket { |
| 109 border-bottom: 1px solid black; | 115 border-bottom: 1px solid black; |
| 110 color: #222 !important; | 116 color: #222 !important; |
| 111 } | 117 } |
| 112 | 118 |
| 113 .CodeMirror-nonmatchingbracket { | 119 .CodeMirror-nonmatchingbracket { |
| 114 color: #222 !important; | 120 color: #222 !important; |
| 115 } | 121 } |
| 116 | 122 |
| 117 .cm-whitespace::before { | 123 .cm-whitespace::before { |
| 118 position: absolute; | 124 position: absolute; |
| 119 pointer-events: none; | 125 pointer-events: none; |
| 120 color: rgb(175, 175, 175); | 126 color: rgb(175, 175, 175); |
| 121 } | 127 } |
| 122 | 128 |
| 123 .cm-tab { | 129 .cm-tab { |
| 124 position: relative; | 130 position: relative; |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 } | 241 } |
| 236 | 242 |
| 237 .-theme-with-dark-background .cm-line-with-selection .cm-column-with-selection.c
m-search-highlight:before { | 243 .-theme-with-dark-background .cm-line-with-selection .cm-column-with-selection.c
m-search-highlight:before { |
| 238 background-color: hsl(133, 100%, 30%); | 244 background-color: hsl(133, 100%, 30%); |
| 239 } | 245 } |
| 240 | 246 |
| 241 .-theme-with-dark-background .cm-line-with-selection .cm-search-highlight { | 247 .-theme-with-dark-background .cm-line-with-selection .cm-search-highlight { |
| 242 color: #eee; | 248 color: #eee; |
| 243 } | 249 } |
| 244 | 250 |
| 251 .CodeMirror .text-editor-line-marker-performance { |
| 252 text-align: right; |
| 253 padding-right: 3px; |
| 254 } |
| 255 |
| 245 .CodeMirror .text-editor-line-decoration { | 256 .CodeMirror .text-editor-line-decoration { |
| 246 position: absolute; | 257 position: absolute; |
| 247 } | 258 } |
| 248 | 259 |
| 249 .CodeMirror .text-editor-line-decoration-wave { | 260 .CodeMirror .text-editor-line-decoration-wave { |
| 250 position: absolute; | 261 position: absolute; |
| 251 top: -2px; | 262 top: -2px; |
| 252 cursor: pointer; | 263 cursor: pointer; |
| 253 height: 4px; | 264 height: 4px; |
| 254 } | 265 } |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 | 313 |
| 303 .CodeMirror .text-editor-line-with-warning:not(.cm-execution-line) { | 314 .CodeMirror .text-editor-line-with-warning:not(.cm-execution-line) { |
| 304 background-color: rgba(241, 230, 0, 0.1); | 315 background-color: rgba(241, 230, 0, 0.1); |
| 305 } | 316 } |
| 306 | 317 |
| 307 .CodeMirror .text-editor-line-with-error:not(.cm-execution-line) { | 318 .CodeMirror .text-editor-line-with-error:not(.cm-execution-line) { |
| 308 background-color: rgba(255, 0, 0, 0.05); | 319 background-color: rgba(255, 0, 0, 0.05); |
| 309 } | 320 } |
| 310 | 321 |
| 311 .CodeMirror .text-editor-line-decoration-wave { | 322 .CodeMirror .text-editor-line-decoration-wave { |
| 312 background-image: url(Images/errorWave.png); | 323 background-image: url(Images/errorWave.png); |
| 313 background-repeat: repeat-x; | 324 background-repeat: repeat-x; |
| 314 background-size: contain; | 325 background-size: contain; |
| 315 } | 326 } |
| 316 | 327 |
| 317 @media (-webkit-min-device-pixel-ratio: 1.5) { | 328 @media (-webkit-min-device-pixel-ratio: 1.5) { |
| 318 .CodeMirror .text-editor-line-decoration-wave { | 329 .CodeMirror .text-editor-line-decoration-wave { |
| 319 background-image: url(Images/errorWave_2x.png); | 330 background-image: url(Images/errorWave_2x.png); |
| 320 } | 331 } |
| 321 } /* media */ | 332 } /* media */ |
| 322 | 333 |
| 323 /** @see crbug.com/358161 */ | 334 /** @see crbug.com/358161 */ |
| 324 .CodeMirror .CodeMirror-vscrollbar, .CodeMirror .CodeMirror-hscrollbar { | 335 .CodeMirror .CodeMirror-vscrollbar, .CodeMirror .CodeMirror-hscrollbar { |
| 325 transform: translateZ(0); | 336 transform: translateZ(0); |
| 326 } | 337 } |
| 327 | 338 |
| 328 .CodeMirror .CodeMirror-activeline-background { | 339 .CodeMirror .CodeMirror-activeline-background { |
| 329 background-color: transparent; | 340 background-color: transparent; |
| 330 } | 341 } |
| 331 | 342 |
| 332 .cm-trailing-whitespace { | 343 .cm-trailing-whitespace { |
| 333 background-color: rgba(255, 0, 0, 0.05); | 344 background-color: rgba(255, 0, 0, 0.05); |
| 334 } | 345 } |
| 335 | 346 |
| 336 .CodeMirror-activeline .cm-trailing-whitespace { | 347 .CodeMirror-activeline .cm-trailing-whitespace { |
| 337 background-color: transparent; | 348 background-color: transparent; |
| 338 } | 349 } |
| 339 | 350 |
| 340 .-theme-with-dark-background .CodeMirror .CodeMirror-selected { | 351 .-theme-with-dark-background .CodeMirror .CodeMirror-selected { |
| 341 background-color: #454545; | 352 background-color: #454545; |
| 342 } | 353 } |
| OLD | NEW |