Skip to content

Commit

Permalink
[#200] EasyMDE fixes for preview, full screen, selected text.
Browse files Browse the repository at this point in the history
  • Loading branch information
CatalinFrancu committed Oct 22, 2021
1 parent 59feefe commit 0147018
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions www/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,24 @@ body, main {
border-left-color: inherit !important;
}

.CodeMirror-focused .CodeMirror-selected {
background-color: var(--bs-gray-200) !important;
}

.CodeMirror-line::selection,
.CodeMirror-line > span::selection,
.CodeMirror-line > span > span::selection {
background: var(--bs-gray-200) !important;
}

.editor-preview {
background: var(--bs-gray-100) !important;
}

.editor-preview-side {
border-color: var(--bs-gray-400) !important;
}

.editor-toolbar {
align-items: center;
border-color: var(--bs-gray-400) !important;
Expand All @@ -617,6 +635,20 @@ body, main {
border-color: var(--bs-gray-500) !important;
}

.editor-toolbar.fullscreen {
background: var(--bs-body-bg) !important;
}

.editor-toolbar.fullscreen::before,
.editor-toolbar.fullscreen::after {
background: none !important;
}

.editor-toolbar i.separator {
border-left-color: var(--bs-gray-400) !important;
border-right: 0 !important;
}

.is-invalid + .EasyMDEContainer > .editor-toolbar,
.is-invalid + .EasyMDEContainer > .CodeMirror {
border-color: red;
Expand Down

0 comments on commit 0147018

Please sign in to comment.