File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99}
1010
1111.CodeMirror-scroll {
12- overflow-x : auto;
13- overflow-y : hidden;
12+ overflow : auto;
1413 height : 300px ;
1514 /* This is needed to prevent an IE[67] bug where the scrolled content
1615 is visible outside of the scrolling box. */
2019
2120/* Vertical scrollbar */
2221.CodeMirror-scrollbar {
23- float : right;
22+ position : absolute;
23+ right : 0 ; top : 0 ;
2424 overflow-x : hidden;
2525 overflow-y : scroll;
26-
27- /* This corrects for the 1px gap introduced to the left of the scrollbar
28- by the rule for .CodeMirror-scrollbar-inner. */
29- margin-left : -1px ;
26+ z-index : 5 ;
3027}
3128.CodeMirror-scrollbar-inner {
3229 /* This needs to have a nonzero width in order for the scrollbar to appear
6966 white-space : pre;
7067 cursor : text;
7168}
72- .CodeMirror-lines * {
73- /* Necessary for throw-scrolling to decelerate properly on Safari. */
74- pointer-events : none;
75- }
7669
7770.CodeMirror pre {
7871 -moz-border-radius : 0 ;
@@ -165,5 +158,16 @@ span.cm-em {font-style: italic;}
165158span .cm-emstrong {font-style : italic; font-weight : bold;}
166159span .cm-link {text-decoration : underline;}
167160
161+ span .cm-invalidchar {color : # f00 ;}
162+
168163div .CodeMirror span .CodeMirror-matchingbracket {color : # 0f0 ;}
169164div .CodeMirror span .CodeMirror-nonmatchingbracket {color : # f22 ;}
165+
166+ @media print {
167+
168+ /* Hide the cursor when printing */
169+ .CodeMirror pre .CodeMirror-cursor {
170+ visibility : hidden;
171+ }
172+
173+ }
Original file line number Diff line number Diff line change @@ -79,3 +79,6 @@ button.bigBtn {
7979 margin-right : auto;
8080}
8181
82+
83+ /* necessary for CodeMirror error line highlighting to work! */
84+ .CodeMirror .errorLine { background : # F89D99 !important ; }
Original file line number Diff line number Diff line change @@ -466,7 +466,3 @@ div.ExecutionVisualizer .ui-slider .ui-slider-handle {
466466 border : 1px solid # 999 ;
467467}
468468
469-
470- /* necessary for CodeMirror line highlighting to work! */
471- div .ExecutionVisualizer .CodeMirror .errorLine { background : # F89D99 !important ; }
472-
You can’t perform that action at this time.
0 commit comments