+@use "mixins";
+@use "vars";
+
/**
* Custom CodeMirror BookStack overrides
*/
font-size: 12px;
border: 1px solid #ddd;
line-height: 1.4;
- margin-bottom: $-l;
+ margin-bottom: vars.$l;
}
.page-content .cm-editor,
border-radius: 4px;
}
+.cm-editor .cm-line {
+ line-height: 1.6;
+}
+
.cm-editor .cm-line, .cm-editor .cm-gutter {
font-family: var(--font-code);
}
align-items: center;
justify-content: center;
top: -1px;
- right: -1px;
+ inset-inline-end: -1px;
background-color: #EEE;
border: 1px solid #DDD;
- border-radius: 0 4px 0 0;
- @include lightDark(background-color, #eee, #333);
- @include lightDark(border-color, #ddd, #444);
- @include lightDark(color, #444, #888);
+ border-start-end-radius: 4px;
+ @include mixins.lightDark(background-color, #eee, #333);
+ @include mixins.lightDark(border-color, #ddd, #444);
+ @include mixins.lightDark(color, #444, #888);
line-height: 0;
cursor: pointer;
z-index: 5;