2022-09-02 02:58:49 -05:00
. ui . field : not ( : last-child ) . EasyMDEContainer . editor-statusbar {
2023-03-14 21:20:19 -05:00
margin-bottom : -1em ; /* when there is a statusbar, the "margin-bottom: 1em" of the "field" is not needed, because the statusbar is likely a blank line */
2022-09-02 02:58:49 -05:00
}
2021-12-20 15:07:49 -05:00
. EasyMDEContainer . CodeMirror {
color : var ( --color-input-text ) ;
background-color : var ( --color-input-background ) ;
border-color : var ( --color-secondary ) ;
font : 14px var ( --fonts-monospace ) ;
2023-03-14 21:20:19 -05:00
}
2021-12-20 15:07:49 -05:00
2023-03-14 21:20:19 -05:00
. EasyMDEContainer . CodeMirror . cm-s-default {
border-radius : var ( --border-radius ) ;
padding : 0 ! important ;
}
2021-12-20 15:07:49 -05:00
2023-03-14 21:20:19 -05:00
. EasyMDEContainer . CodeMirror . CodeMirror-fullscreen . CodeMirror-focused {
border-right : 1px solid var ( --color-primary ) ! important ;
2021-12-20 15:07:49 -05:00
}
. CodeMirror-cursor {
border-color : var ( --color-caret ) ! important ;
}
. CodeMirror . cm-comment {
background : inherit ! important ;
}
. CodeMirror . CodeMirror-code {
font : 14px var ( --fonts-monospace ) ;
}
. CodeMirror-selected {
background : var ( --color-primary-light-1 ) ! important ;
color : var ( --color-white ) ! important ;
}
. CodeMirror-placeholder {
color : var ( --color-placeholder-text ) ! important ;
opacity : 1 ! important ;
}
. CodeMirror-focused {
border-color : var ( --color-primary ) ! important ;
}
2023-06-17 23:10:07 -05:00
. CodeMirror : focus {
outline : none ;
}