mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
+ show placeholder while tab grabbing
This commit is contained in:
parent
da6311bea6
commit
d100b60e9d
2 changed files with 8 additions and 1 deletions
|
|
@ -70,6 +70,7 @@ a { color:#0000ff; cursor:pointer; text-decoration:underline; }
|
||||||
.mtt-tabs.mtt-tabs-only-one li { display:none; }
|
.mtt-tabs.mtt-tabs-only-one li { display:none; }
|
||||||
.mtt-tabs.mtt-tabs-only-one li.mtt-tabs-selected { display:block; }
|
.mtt-tabs.mtt-tabs-only-one li.mtt-tabs-selected { display:block; }
|
||||||
.mtt-tabs-hidden { display:none; }
|
.mtt-tabs-hidden { display:none; }
|
||||||
|
.mtt-tabs .mtt-list-sort-placeholder { background-color:#ddd; border:1px solid #aaa; }
|
||||||
|
|
||||||
.mtt-tabs-alltasks { margin:1px 3px 0 3px; }
|
.mtt-tabs-alltasks { margin:1px 3px 0 3px; }
|
||||||
.mtt-tabs-alltasks.mtt-tab { border-top-right-radius:0px; border-top-left-radius:8px; }
|
.mtt-tabs-alltasks.mtt-tab { border-top-right-radius:0px; border-top-left-radius:8px; }
|
||||||
|
|
|
||||||
|
|
@ -500,7 +500,13 @@ var mytinytodo = window.mytinytodo = _mtt = {
|
||||||
$('#cmenu_note').hide();
|
$('#cmenu_note').hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
$("#lists ul").sortable({delay:150, update:listOrderChanged});
|
$("#lists ul").sortable({
|
||||||
|
delay:150,
|
||||||
|
update:listOrderChanged,
|
||||||
|
placeholder: 'mtt-list-sort-placeholder',
|
||||||
|
cursor: 'grabbing'
|
||||||
|
});
|
||||||
|
|
||||||
this.applySingletab();
|
this.applySingletab();
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue