diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-11-13 22:51:59 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-11-13 22:51:59 -0500 |
commit | ebb6b2827d0496303852f524a551592295dd0040 (patch) | |
tree | a3e6dff7036ba83e436941b0b0e96c89311eb0f8 /assets/sass/_markdown_editor.sass | |
parent | 527a1677a0578e479302e1f80b127e177ed915e9 (diff) |
Replace SimpleMDE with custom Markdown editor
Diffstat (limited to 'assets/sass/_markdown_editor.sass')
-rw-r--r-- | assets/sass/_markdown_editor.sass | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/assets/sass/_markdown_editor.sass b/assets/sass/_markdown_editor.sass index 5bf77a99..4041a125 100644 --- a/assets/sass/_markdown_editor.sass +++ b/assets/sass/_markdown_editor.sass @@ -1,15 +1,19 @@ -.markdown-editor-container - max-width: 400px +@import variables -div - &.CodeMirror, &.CodeMirror-scroll - max-height: 250px - min-height: 200px - -.markdown-editor-small div - &.CodeMirror, &.CodeMirror-scroll - min-height: 100px - max-height: 180px - -.form-column div.CodeMirror - margin-bottom: 10px +.text-editor + button + font-size: size('normal') + border: none + color: color('light') + background: transparent + &:hover + color: link-color('primary') + cursor: pointer + .text-editor-preview-area + border: 1px solid color('lighter') + width: 400px + height: 200px + overflow: auto + .text-editor-toolbar + button:first-child + padding-left: 0 |