Added new buttons and styling
This commit is contained in:
parent
106cc6fc50
commit
cd703970b4
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 |
@ -78,8 +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')
|
||||||
form.slideDown()
|
form.slideDown()
|
||||||
else
|
else
|
||||||
|
@$('this').removeClass('open')
|
||||||
form.slideUp()
|
form.slideUp()
|
||||||
|
|
||||||
show_error: (message) ->
|
show_error: (message) ->
|
||||||
|
@ -157,6 +157,10 @@ form.formtastic {
|
|||||||
&:hover {
|
&:hover {
|
||||||
background-image: image-url("locomotive/list/icons/toggle.png");
|
background-image: image-url("locomotive/list/icons/toggle.png");
|
||||||
}
|
}
|
||||||
|
&.open {
|
||||||
|
@include rotate(180);
|
||||||
|
}
|
||||||
|
@include single-transition(transform, 0.5s);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.drag {
|
&.drag {
|
||||||
|
Loading…
Reference in New Issue
Block a user