From f603d9b61fb00215f87fec2988e6ef70d2d584d8 Mon Sep 17 00:00:00 2001 From: tophf Date: Sun, 18 Jun 2017 14:04:18 +0300 Subject: [PATCH] simplify html for editor options: reuse the id --- edit.html | 22 +++++++++++----------- edit.js | 4 ++-- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/edit.html b/edit.html index a263cc66..e3d9ae4c 100644 --- a/edit.html +++ b/edit.html @@ -210,13 +210,13 @@ .CodeMirror-search-hint { color: #888; } - body[data-highlight-selection-matches="token"] .cm-matchhighlight-approved .cm-matchhighlight, - body[data-highlight-selection-matches="token"] .CodeMirror-selection-highlight-scrollbar { + body[data-match-highlight="token"] .cm-matchhighlight-approved .cm-matchhighlight, + body[data-match-highlight="token"] .CodeMirror-selection-highlight-scrollbar { animation: fadein-match-highlighter 1s cubic-bezier(.97,.01,.42,.98); animation-fill-mode: both; } - body[data-highlight-selection-matches="selection"] .cm-matchhighlight-approved .cm-matchhighlight, - body[data-highlight-selection-matches="selection"] .CodeMirror-selection-highlight-scrollbar { + body[data-match-highlight="selection"] .cm-matchhighlight-approved .cm-matchhighlight, + body[data-match-highlight="selection"] .CodeMirror-selection-highlight-scrollbar { background-color: rgba(1, 151, 193, 0.1); } @-webkit-keyframes highlight { @@ -693,33 +693,33 @@

- +
- +
- +
- +
- +
- +
-