From: Radek Czajka Date: Wed, 30 Jun 2010 08:56:57 +0000 (+0200) Subject: Fixed #657: pr->pe, colors for annotations X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/7d90e33be7ee1de4f79216b33ce9e28794685dc4?ds=sidebyside;hp=-c Fixed #657: pr->pe, colors for annotations --- 7d90e33be7ee1de4f79216b33ce9e28794685dc4 diff --git a/redakcja/static/css/html.css b/redakcja/static/css/html.css index 38873007..c935f094 100644 --- a/redakcja/static/css/html.css +++ b/redakcja/static/css/html.css @@ -370,7 +370,10 @@ div[x-node] > .uwaga { } .htmlview .annotation:hover { - background-color: #96e0e4; + background-color: #ffcccc; +} +.htmlview .pe .annotation:hover { + background-color: #96e0e4;*/ } *.htmlview *.annotation-inline-box { position: static; diff --git a/redakcja/static/js/wiki/view_editor_wysiwyg.js b/redakcja/static/js/wiki/view_editor_wysiwyg.js index ef087a3b..d8704fde 100644 --- a/redakcja/static/js/wiki/view_editor_wysiwyg.js +++ b/redakcja/static/js/wiki/view_editor_wysiwyg.js @@ -97,7 +97,7 @@ range.insertNode(tag[0]); xml2html({ - xml: '' + text + ' --- ', + xml: '' + text + ' --- ', success: function(text){ var t = $(text); tag.replaceWith(t);