Fixed my css and javascript problems
This commit is contained in:
parent
cd703970b4
commit
560afc6b0a
@ -78,10 +78,10 @@ class Locomotive.Views.ContentTypes.CustomFieldEntryView extends Backbone.View
|
|||||||
form = @$('ol')
|
form = @$('ol')
|
||||||
|
|
||||||
if form.is(':hidden')
|
if form.is(':hidden')
|
||||||
@$('this').addClass('open')
|
@$('a.toggle').addClass('open')
|
||||||
form.slideDown()
|
form.slideDown()
|
||||||
else
|
else
|
||||||
@$('this').removeClass('open')
|
@$('a.toggle').removeClass('open')
|
||||||
form.slideUp()
|
form.slideUp()
|
||||||
|
|
||||||
show_error: (message) ->
|
show_error: (message) ->
|
||||||
|
@ -158,7 +158,7 @@ form.formtastic {
|
|||||||
background-image: image-url("locomotive/list/icons/toggle.png");
|
background-image: image-url("locomotive/list/icons/toggle.png");
|
||||||
}
|
}
|
||||||
&.open {
|
&.open {
|
||||||
@include rotate(180);
|
@include rotate(180deg);
|
||||||
}
|
}
|
||||||
@include single-transition(transform, 0.5s);
|
@include single-transition(transform, 0.5s);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user