locomotivecms/engine — pull request #351 by willcosgrove (2012-04-11 20:48:23+00:00)
Title: Spinny toggle buttons

So I feel like an idiot. I was having troubles getting the has_many/belongs_to relationships to work. And I couldn't find any resources, and I was just about to give up, when I happened to click on this: http://cl.ly/2E2u3R2F2E0m2o1D3P2m

This opened up a world of options, and my problem was solved almost instantly. I had glanced over the button before, and I assumed it was communicating that the element was able to be dragged up and down. Not that you could toggle down a menu.

So to make myself feel better, I set about changing the button. So now the button is just one arrow down, and when someone clicks it, a class gets added to it called `open`, which rotates the button 180 degrees, with a nice little css transition. See here: http://cl.ly/3M043I3n1l0x3q3e1i0k

That is all, enjoy :)