moved layers list styling to CSS

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2450 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Bruno Heridet 2013-02-21 19:56:59 +00:00
parent 61be265b91
commit e0dbc7e750
2 changed files with 9 additions and 6 deletions

View File

@ -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;
}

View File

@ -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){