bitburner-src/css/codemirror-overrides.scss

50 lines
747 B
SCSS
Raw Normal View History

@import "theme";
/**
* Customized styling for the Code Mirror editor
*/
#codemirror-form-wrapper {
2021-09-05 01:09:30 +02:00
height: 80%;
margin: 10px 0 0 6px;
}
.CodeMirror {
2021-09-05 01:09:30 +02:00
height: 100%;
width: 100%;
border: 2px solid var(--my-highlight-color);
z-index: 1;
font-family: $fontFamily;
font-size: $defaultFontSize;
}
/**
* Highlight matches
*/
.cm-matchhighlight {
2021-09-05 01:09:30 +02:00
background-color: #8f908a;
}
.CodeMirror-selection-highlight-scrollbar {
2021-09-05 01:09:30 +02:00
background-color: #8f908a;
}
/**
* Show Invisibles
*/
.cm-whitespace::before {
2021-09-05 01:09:30 +02:00
position: absolute;
pointer-events: none;
color: #404f7d;
}
/**
* Vim command display
*/
#codemirror-vim-command-display-wrapper {
2021-09-05 01:09:30 +02:00
background-color: white;
font-size: 13px;
height: 30px;
margin-left: 6px;
}