diff --git a/editor/svg-editor.css b/editor/svg-editor.css index 0e1d4d15..8708e924 100644 --- a/editor/svg-editor.css +++ b/editor/svg-editor.css @@ -189,11 +189,11 @@ select { display: inline-block; position:absolute; top: 1px; - bottom: 0px; - right: 0px; - width: 0px; + bottom: 0; + right: 0; + width: 0; overflow: auto; - margin: 0px; + margin: 0; -moz-user-select: none; -webkit-user-select: none; } @@ -314,6 +314,11 @@ select { cursor: pointer; } +#layerlist td.layername:hover { + color: blue; + font-style: italic; +} + #layerlist tr.layersel td.layername { font-weight: bold; } diff --git a/editor/svg-editor.js b/editor/svg-editor.js index 7e8faa86..6b001f0a 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -3728,11 +3728,9 @@ evt.preventDefault(); }) .mouseover(function(evt){ - $(this).css({'font-style': 'italic', 'color': 'blue'}); toggleHighlightLayer(this.textContent); }) .mouseout(function(evt){ - $(this).css({'font-style': 'normal', 'color': 'black'}); toggleHighlightLayer(); }); $('#layerlist td.layervis').click(function(evt){