mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-05 07:03:24 +01:00
css and fix jquery problems
This commit is contained in:
parent
632a9a6e00
commit
7a535b1dca
@ -133,14 +133,10 @@ input#selectAll {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.labelTag {
|
.labelTag {
|
||||||
border: 1px solid;
|
|
||||||
border-radius: 3px;
|
|
||||||
color: white;
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
padding: 2px 5px 2px 5px;
|
padding: 2px 0px 0px 2px;
|
||||||
background-color: black;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
float: right;
|
float: right;
|
||||||
@ -148,6 +144,8 @@ input#selectAll {
|
|||||||
|
|
||||||
.closeLabel {
|
.closeLabel {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
position: relative;
|
||||||
|
top: -1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.listSeparator {
|
.listSeparator {
|
||||||
@ -160,19 +158,17 @@ input#selectAll {
|
|||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
float: right;
|
float: right;
|
||||||
top: -3px;
|
|
||||||
position: relative;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
table.tableTag td {
|
table.tableTag td {
|
||||||
user-select: none;
|
|
||||||
border-radius: 1px;
|
border-radius: 1px;
|
||||||
padding-left: 5px;
|
padding-left: 4px;
|
||||||
padding-right:5px;
|
padding-right: 3px;
|
||||||
padding-top :0px;
|
padding-top :0px;
|
||||||
padding-bottom: 0px;
|
padding-bottom: 0px;
|
||||||
background-color: #000000;
|
background-color: #000000;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
line-height: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.tableTag td:hover {
|
table.tableTag td:hover {
|
||||||
|
@ -22,12 +22,12 @@ function labelTagsAsHtml(labels) {
|
|||||||
"<table class='tableTag'>" +
|
"<table class='tableTag'>" +
|
||||||
"<tbody><tr>" +
|
"<tbody><tr>" +
|
||||||
"<td style='cursor: default; background-color:"+ labelColor +"'>" +
|
"<td style='cursor: default; background-color:"+ labelColor +"'>" +
|
||||||
"<div style='font-size: 11px'>" +
|
"<div class='labelTag' >" +
|
||||||
label.title +
|
label.title +
|
||||||
'</div>' +
|
'</div>' +
|
||||||
"</td>" +
|
"</td>" +
|
||||||
"<td style='cursor: pointer;background-color:"+ labelColor +"'>" +
|
"<td style='cursor: pointer;background-color:"+ labelColor +"'>" +
|
||||||
"<span style='font-size: 12px' title='remove'>x</span>"+
|
"<span style='left: -2px;top: -1px;position: relative;font-size: 11px' title='remove'>x</span>"+
|
||||||
"</td>" +
|
"</td>" +
|
||||||
"</tr></tbody>" +
|
"</tr></tbody>" +
|
||||||
"</table>"
|
"</table>"
|
||||||
@ -55,7 +55,7 @@ function tagMindmaps(labelName, labelColor) {
|
|||||||
//tag selected mindmaps...
|
//tag selected mindmaps...
|
||||||
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').append(
|
||||||
labelTagsAsHtml([{
|
labelTagsAsHtml([{
|
||||||
title: labelName,
|
title: labelName,
|
||||||
|
Loading…
Reference in New Issue
Block a user