2 * Custom CodeMirror BookStack overrides
7 border: 1px solid #ddd;
13 // Manual dark-mode definition so that it applies to code blocks within the shadow
14 // dom which are used within the WYSIWYG editor, as the .dark-mode on the parent
15 // <html> node are not applies so instead we have the class on the parent element.
16 .dark-mode .cm-editor {
27 justify-content: center;
30 background-color: #EEE;
31 border: 1px solid #DDD;
32 border-radius: 0 4px 0 0;
33 @include lightDark(background-color, #eee, #333);
34 @include lightDark(border-color, #ddd, #444);
35 @include lightDark(color, #444, #888);
44 transition: background-color linear 60ms, color linear 60ms;
49 background: $positive;
53 outline: 0 !important;
56 .cm-editor:hover .cm-copy-button {