Permalink
Browse files

Added new buttons and styling

  • Loading branch information...
1 parent 106cc6f commit cd703970b45e28635edca2efbdf5a77c77b50a49 @willcosgrove willcosgrove committed Apr 11, 2012
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -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) ->
@@ -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 {

0 comments on commit cd70397

Please sign in to comment.