change editor theme

This commit is contained in:
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/fading_exits/fadeOut.css',
'node_modules/codemirror/lib/codemirror.css',
'node_modules/codemirror/theme/mdn-like.css',
'node_modules/codemirror/theme/ttcn.css',
'temp/css/**/*.css'
],
dest: 'temp/css/main.css',
@ -97,4 +97,4 @@ module.exports = function(grunt) {
});
grunt.registerTask('default', ['copy', 'sass', 'concat', 'cssmin', 'uglify']);
};
};

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]) {
options = {
mode: textarea.data("mode"),
theme: 'mdn-like',
theme: 'ttcn',
lineWrapping: true,
lineNumbers: true,
scrollbarStyle: null

View File

@ -34,10 +34,6 @@
margin-top: 0;
}
.editor .cm-s-mdn-like.CodeMirror {
background: none;
}
.editor h3 {
font-size : 1em;
margin : 0 0 .25em;
@ -207,4 +203,4 @@ input:-ms-input-placeholder {
overflow : hidden;
text-align: center;
}
}
}