|
|
@ -94,8 +94,14 @@ |
|
|
|
|
|
|
|
|
|
|
|
.cm-tab { display: inline-block; text-decoration: inherit; } |
|
|
|
.cm-tab { display: inline-block; text-decoration: inherit; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.CodeMirror-rulers { |
|
|
|
|
|
|
|
position: absolute; |
|
|
|
|
|
|
|
left: 0; right: 0; top: -50px; bottom: -20px; |
|
|
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
} |
|
|
|
.CodeMirror-ruler { |
|
|
|
.CodeMirror-ruler { |
|
|
|
border-left: 1px solid #ccc; |
|
|
|
border-left: 1px solid #ccc; |
|
|
|
|
|
|
|
top: 0; bottom: 0; |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -206,9 +212,6 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;} |
|
|
|
display: inline-block; |
|
|
|
display: inline-block; |
|
|
|
vertical-align: top; |
|
|
|
vertical-align: top; |
|
|
|
margin-bottom: -30px; |
|
|
|
margin-bottom: -30px; |
|
|
|
/* Hack to make IE7 behave */ |
|
|
|
|
|
|
|
*zoom:1; |
|
|
|
|
|
|
|
*display:inline; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
.CodeMirror-gutter-wrapper { |
|
|
|
.CodeMirror-gutter-wrapper { |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
@ -226,11 +229,8 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;} |
|
|
|
cursor: default; |
|
|
|
cursor: default; |
|
|
|
z-index: 4; |
|
|
|
z-index: 4; |
|
|
|
} |
|
|
|
} |
|
|
|
.CodeMirror-gutter-wrapper { |
|
|
|
.CodeMirror-gutter-wrapper ::selection { background-color: transparent } |
|
|
|
-webkit-user-select: none; |
|
|
|
.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent } |
|
|
|
-moz-user-select: none; |
|
|
|
|
|
|
|
user-select: none; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.CodeMirror-lines { |
|
|
|
.CodeMirror-lines { |
|
|
|
cursor: text; |
|
|
|
cursor: text; |
|
|
@ -252,8 +252,8 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;} |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
overflow: visible; |
|
|
|
overflow: visible; |
|
|
|
-webkit-tap-highlight-color: transparent; |
|
|
|
-webkit-tap-highlight-color: transparent; |
|
|
|
-webkit-font-variant-ligatures: none; |
|
|
|
-webkit-font-variant-ligatures: contextual; |
|
|
|
font-variant-ligatures: none; |
|
|
|
font-variant-ligatures: contextual; |
|
|
|
} |
|
|
|
} |
|
|
|
.CodeMirror-wrap pre { |
|
|
|
.CodeMirror-wrap pre { |
|
|
|
word-wrap: break-word; |
|
|
|
word-wrap: break-word; |
|
|
@ -275,6 +275,8 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;} |
|
|
|
|
|
|
|
|
|
|
|
.CodeMirror-widget {} |
|
|
|
.CodeMirror-widget {} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.CodeMirror-rtl pre { direction: rtl; } |
|
|
|
|
|
|
|
|
|
|
|
.CodeMirror-code { |
|
|
|
.CodeMirror-code { |
|
|
|
outline: none; |
|
|
|
outline: none; |
|
|
|
} |
|
|
|
} |
|
|
@ -297,7 +299,10 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;} |
|
|
|
visibility: hidden; |
|
|
|
visibility: hidden; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.CodeMirror-cursor { position: absolute; } |
|
|
|
.CodeMirror-cursor { |
|
|
|
|
|
|
|
position: absolute; |
|
|
|
|
|
|
|
pointer-events: none; |
|
|
|
|
|
|
|
} |
|
|
|
.CodeMirror-measure pre { position: static; } |
|
|
|
.CodeMirror-measure pre { position: static; } |
|
|
|
|
|
|
|
|
|
|
|
div.CodeMirror-cursors { |
|
|
|
div.CodeMirror-cursors { |
|
|
@ -324,9 +329,6 @@ div.CodeMirror-dragcursors { |
|
|
|
background: rgba(255, 255, 0, .4); |
|
|
|
background: rgba(255, 255, 0, .4); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* IE7 hack to prevent it from returning funny offsetTops on the spans */ |
|
|
|
|
|
|
|
.CodeMirror span { *vertical-align: text-bottom; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Used to force a border model for a node */ |
|
|
|
/* Used to force a border model for a node */ |
|
|
|
.cm-force-border { padding-right: .1px; } |
|
|
|
.cm-force-border { padding-right: .1px; } |
|
|
|
|
|
|
|
|
|
|
|