change editor theme

pull/29/head
Henrique Dias 2015-09-28 21:11:52 +01:00
parent 69aeb4633d
commit 77aff61d70
6 changed files with 13 additions and 17 deletions

View File

@ -40,7 +40,7 @@ module.exports = function(grunt) {
'node_modules/animate.css/source/bouncing_entrances/bounceInRight.css', 'node_modules/animate.css/source/bouncing_entrances/bounceInRight.css',
'node_modules/animate.css/source/fading_exits/fadeOut.css', 'node_modules/animate.css/source/fading_exits/fadeOut.css',
'node_modules/codemirror/lib/codemirror.css', 'node_modules/codemirror/lib/codemirror.css',
'node_modules/codemirror/theme/mdn-like.css', 'node_modules/codemirror/theme/ttcn.css',
'temp/css/**/*.css' 'temp/css/**/*.css'
], ],
dest: 'temp/css/main.css', dest: 'temp/css/main.css',

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -348,7 +348,7 @@ $(document).on('ready pjax:success', function() {
if (textarea[0]) { if (textarea[0]) {
options = { options = {
mode: textarea.data("mode"), mode: textarea.data("mode"),
theme: 'mdn-like', theme: 'ttcn',
lineWrapping: true, lineWrapping: true,
lineNumbers: true, lineNumbers: true,
scrollbarStyle: null scrollbarStyle: null

View File

@ -34,10 +34,6 @@
margin-top: 0; margin-top: 0;
} }
.editor .cm-s-mdn-like.CodeMirror {
background: none;
}
.editor h3 { .editor h3 {
font-size : 1em; font-size : 1em;
margin : 0 0 .25em; margin : 0 0 .25em;