line highlight and fullscreen in codemirror, thanks lightdot

This commit is contained in:
mdipierro
2012-09-09 16:57:09 -05:00
parent 4f3c364b79
commit 2e64465d6b
5 changed files with 65 additions and 10 deletions
+14 -1
View File
@@ -29,4 +29,17 @@
.cm-s-web2py {
line-height: 1.40em;
font-family: Monaco, Menlo,"Andale Mono","lucida console","Courier New",monospace !important;
}
}
/* Fullscreen mode and active line highlight */
.cm-s-web2py .CodeMirror-fullscreen {
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 9999;
}
.cm-s-web2py .activeline {background: #e8f2ff !important;}