diff --git a/pipeline/source_assets/js/interaction.js b/pipeline/source_assets/js/interaction.js
index 80b3ce5c..59124599 100644
--- a/pipeline/source_assets/js/interaction.js
+++ b/pipeline/source_assets/js/interaction.js
@@ -10,12 +10,12 @@ function setupItemTable(items_json) {
newitem = -1;
}
-function nl2br (str, is_xhtml) {
+function nl2br(str, is_xhtml) {
var breakTag = (is_xhtml || typeof is_xhtml === 'undefined') ? '
' : '
';
return (str + '').replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g, '$1'+ breakTag +'$2');
}
-function escapeHtml (str) {
+function escapeHtml(str) {
return $('
').text(str).html();
}
diff --git a/pipeline/source_assets/scss/dark_screen.scss b/pipeline/source_assets/scss/dark_screen.scss
index a00f014a..7296ffcb 100644
--- a/pipeline/source_assets/scss/dark_screen.scss
+++ b/pipeline/source_assets/scss/dark_screen.scss
@@ -133,4 +133,21 @@
-webkit-box-shadow: 0 0 0px 1000px rgba($info, .3) inset;
transition: background-color 5000s ease-in-out 0s;
}
+ .editor-toolbar > a {
+ color: white !important;
+ }
+ .editor-toolbar > a:hover {
+ background: transparent !important;
+ }
+ .editor-toolbar > a.active {
+ background: $info !important;
+ }
+ .cm-s-paper {
+ color: white;
+ background-color: $darktheme;
+ border-color: #bbb;
+ }
+ .CodeMirror-cursor {
+ border-color: white !important;
+ }
}