mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-08-20 12:30:44 +02:00
css on 'x' mouse over
This commit is contained in:
parent
fdf041e8b1
commit
734463d233
@ -155,6 +155,10 @@ input#selectAll {
|
||||
background-color: #d5d3d4;
|
||||
}
|
||||
|
||||
.closeTag {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.tableTag {
|
||||
padding:0px;
|
||||
margin-bottom: 0px;
|
||||
@ -172,8 +176,9 @@ table.tableTag td {
|
||||
line-height: 15px;
|
||||
}
|
||||
|
||||
table.tableTag td:hover {
|
||||
background-color: #ffffff;
|
||||
.closeTag:hover {
|
||||
background-color: #ffffff !important;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
/* ---------------------------- Scrollbar for list filter --------------------------------- */
|
||||
|
@ -24,8 +24,9 @@ function labelTagsAsHtml(labels) {
|
||||
label.title +
|
||||
'</div>' +
|
||||
"</td>" +
|
||||
"<td style='cursor: pointer;background-color:"+ label.color +"'>" +
|
||||
"<span style='left: -2px;top: -1px;position: relative;font-size: 11px' title='remove'>x</span>"+
|
||||
//"<td style='padding: 0; background-color: #d8d4d4'></td>" +
|
||||
"<td class='closeTag' style='background-color:"+ label.color +"'>" +
|
||||
"<span style='top: -1px;position: relative;font-size: 11px' title='remove'>x</span>"+
|
||||
"</td>" +
|
||||
"</tr></tbody>" +
|
||||
"</table>"
|
||||
@ -54,7 +55,7 @@ function tagMindmaps(labelName, labelColor) {
|
||||
var rows = $('#mindmapListTable').dataTableExt.getSelectedRows();
|
||||
for (var i = 0; i < rows.length; i++) {
|
||||
if ($(rows[i]).find(".labelTag:contains('" + labelName + "')").length == 0) {
|
||||
$(rows[i]).find('.mindmapName').append(
|
||||
$(rows[i]).find('.mindmapName').parent().append(
|
||||
labelTagsAsHtml([{
|
||||
title: labelName,
|
||||
color: labelColor
|
||||
|
Loading…
Reference in New Issue
Block a user