修改BUG:更改Settings样式

This commit is contained in:
Argo-MacBookPro 2018-08-06 03:44:44 +08:00
parent fed276f392
commit ba1ccd1109
2 changed files with 5 additions and 6 deletions

View File

@ -29,7 +29,6 @@
.tasks-widget .task-list > li {
position: relative;
font-size: 0.75rem;
}
.tasks-widget .task-list li.last-line {
@ -54,7 +53,7 @@
position: absolute;
left: 190px;
right: 84px;
top: 15px;
top: 14px;
display: none;
}
@ -118,7 +117,7 @@
.tasks-widget .task-list li .task-title .task-title-sp {
margin-right: 5px;
max-width: 120px;
margin-top: 15px;
margin-top: 14px;
}
.tasks-widget .task-list li.task-done .task-title-sp {
@ -150,8 +149,9 @@
.tasks-widget .task-list li i {
position: absolute;
left: 6px;
padding: 17px 10px;
padding: 16px 10px;
cursor: pointer;
margin-top: 2px;
}
#sortable {
@ -169,7 +169,6 @@
}
.ui-sortable li.title {
font-size: 14px;
color: #0077de;
background-color: #b5f1b6;
padding: 10px 15px;

View File

@ -70,7 +70,7 @@
swal: false,
callback: function (result) {
if ($.isArray(result)) {
var html = '<li class="{4}"><i class="fa fa-ellipsis-v"></i><div class="task-title"><span class="task-title-sp" data-toggle="tooltip" title="{1}">{2}</span><span class="badge badge-pill badge-success">{0}</span><span class="task-value" title="{3}">{3}</span><div class="pull-right hidden-phone"><span>{7}</span><button class="btn btn-danger btn-xs fa fa-trash-o" title="{1}" data-url="{5}?cacheKey={1}" data-toggle="tooltip" data-self="{6}" data-placement="left"></button></div></div></li>';
var html = '<li class="{4}"><i class="fa fa-ellipsis-v"></i><div class="task-title"><span class="task-title-sp" data-toggle="tooltip" title="{2}">{2}</span><span class="badge badge-pill badge-success">{0}</span><span class="task-value" title="{3}">{3}</span><div class="pull-right hidden-phone"><span>{7}</span><button class="btn btn-danger btn-xs fa fa-trash-o" title="{1}" data-url="{5}?cacheKey={1}" data-toggle="tooltip" data-self="{6}" data-placement="left"></button></div></div></li>';
var content = result.sort(function (x, y) {
return x.Key > y.Key ? 1 : -1;
}).map(function (ele) {