Added new buttons and styling

This commit is contained in:
Will Cosgrove 2012-04-11 14:24:41 -05:00
parent 106cc6fc50
commit cd703970b4
4 changed files with 6 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 347 B

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 346 B

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -78,8 +78,10 @@ class Locomotive.Views.ContentTypes.CustomFieldEntryView extends Backbone.View
form = @$('ol')
if form.is(':hidden')
@$('this').addClass('open')
form.slideDown()
else
@$('this').removeClass('open')
form.slideUp()
show_error: (message) ->

View File

@ -157,6 +157,10 @@ form.formtastic {
&:hover {
background-image: image-url("locomotive/list/icons/toggle.png");
}
&.open {
@include rotate(180);
}
@include single-transition(transform, 0.5s);
}
&.drag {