rebase stylinggetting there

This commit is contained in:
Peter Cottle 2012-12-20 09:58:38 -08:00
parent d7d700c841
commit 8bf28ebc20
3 changed files with 16 additions and 6 deletions

View file

@ -8531,8 +8531,8 @@ var InteractiveRebaseView = BaseView.extend({
// then make it reorderable..
listHolder.sortable({
distance: 5,
placeholder: 'ui-state-highlight'
//distance: 5,
placeholder: 'rebaseEntry transitionOpacity ui-state-highlight'
});
}
});
@ -14785,8 +14785,8 @@ var InteractiveRebaseView = BaseView.extend({
// then make it reorderable..
listHolder.sortable({
distance: 5,
placeholder: 'ui-state-highlight'
//distance: 5,
placeholder: 'rebaseEntry transitionOpacity ui-state-highlight'
});
}
});

View file

@ -96,8 +96,8 @@ var InteractiveRebaseView = BaseView.extend({
// then make it reorderable..
listHolder.sortable({
distance: 5,
placeholder: 'ui-state-highlight'
//distance: 5,
placeholder: 'rebaseEntry transitionOpacity ui-state-highlight'
});
}
});

View file

@ -370,6 +370,16 @@ li.rebaseEntry {
padding: 5px;
}
li.rebaseEntry.ui-state-highlight {
padding: 15px;
border: 1px dashed rgba(0, 0, 0, 0.5);
}
/* wtf jquery UI sortable is barfing here on calculating the position... */
li.rebaseEntry.ui-sortable-helper {
margin-top: -140px;
}
li.rebaseEntry a#toggleButton {
cursor: pointer;
}