From e8815b79ff661f3b8d5793b434562a8402baa4d8 Mon Sep 17 00:00:00 2001 From: Simon Huber Date: Sun, 6 Dec 2020 18:21:35 +0100 Subject: [PATCH] Update CodeMirror Dialog to always have a background color (#5217) --- plugins/tiddlywiki/codemirror/styles.tid | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/plugins/tiddlywiki/codemirror/styles.tid b/plugins/tiddlywiki/codemirror/styles.tid index d1a324847..de3ca98ce 100755 --- a/plugins/tiddlywiki/codemirror/styles.tid +++ b/plugins/tiddlywiki/codemirror/styles.tid @@ -59,9 +59,8 @@ name: tiddlywiki .cm-s-tiddlywiki span.cm-comment { color: #586e75; font-style:italic; font-weight:normal; } .cm-s-tiddlywiki .CodeMirror-activeline-background, .cm-s-tiddlywiki .CodeMirror-activeline-gutter .CodeMirror-linenumber { background: rgba(127,127,127,0.2); } .cm-s-tiddlywiki span.cm-matchhighlight { color: <>; background-color: <>; font-weight: normal;} -.cm-s-tiddlywiki .CodeMirror-widget { - text-shadow: none; -} +.cm-s-tiddlywiki .CodeMirror-widget { text-shadow: none; } +.cm-s-tiddlywiki .CodeMirror-dialog { background: <>; } .cm-s-tiddlywiki .cm-header { color: #586e75; } .cm-s-tiddlywiki .cm-quote { color: #93a1a1; } .cm-s-tiddlywiki .cm-keyword { color: #cb4b16; } @@ -84,23 +83,12 @@ name: tiddlywiki .cm-s-tiddlywiki .CodeMirror-nonmatchingbracket { color: #dc322f; } .cm-s-tiddlywiki .cm-tag { color: #93a1a1; } .cm-s-tiddlywiki .cm-attribute { color: #2aa198; } -.cm-s-tiddlywiki .cm-hr { - color: transparent; - border-top: 1px solid #586e75; - display: block; -} +.cm-s-tiddlywiki .cm-hr { color: transparent; border-top: 1px solid #586e75; display: block; } .cm-s-tiddlywiki .cm-link { color: #93a1a1; cursor: pointer; } .cm-s-tiddlywiki .cm-special { color: #6c71c4; } -.cm-s-tiddlywiki .cm-em { - color: #999; - text-decoration: underline; - text-decoration-style: dotted; -} +.cm-s-tiddlywiki .cm-em { color: #999; text-decoration: underline; text-decoration-style: dotted; } .cm-s-tiddlywiki .cm-error, -.cm-s-tiddlywiki .cm-invalidchar { - color: #586e75; - border-bottom: 1px dotted #dc322f; -} +.cm-s-tiddlywiki .cm-invalidchar { color: #586e75; border-bottom: 1px dotted #dc322f; } .cm-s-tiddlywiki .CodeMirror-matchingbracket { color: #859900; } .cm-s-tiddlywiki .CodeMirror-nonmatchingbracket { color: #dc322f; } .cm-s-tiddlywiki .cm-searching { background: rgba(243, 155, 53, .3); outline: 1px solid #F39B35; }