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