change editor theme
This commit is contained in:
parent
69aeb4633d
commit
77aff61d70
|
@ -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
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue