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