imathis / fancy-buttons

Fancy CSS Buttons using Compass
http://brandonmathis.com/projects/fancy-buttons/
819 stars 55 forks source link

v-gradient removed in Compass pre7 #9

Closed AaronH closed 14 years ago

AaronH commented 14 years ago

The v-gradient method has been removed in compass pre7 and replaced with an updated linear-gradient (via commit http://github.com/chriseppstein/compass/commit/aef52bd57e1a8ecc33a56ff4a74adb205658cd2f)

Not completely tested, but a quick fix is to replace the v-gradient lines in _fancy_gradient.sass as follows (in order):


+linear-gradient(color_stops(!top_shine, !top_middle 10%, !middle 50%, !bottom_middle 50%, !bottom_glow))

+linear-gradient(color_stops(!top, !top_middle 30%, !middle 50%, !bottom_middle 50%, !bottom))

+linear-gradient(color_stops(!color1, !color2))

+linear-gradient(color_stops(!top, !middle 85%, !middle 40%, !bottom))
imathis commented 14 years ago

Thanks, having worked with Chris to make the new gradient mixins I'm aware of this. I'll be releasing an updated version of Fancy Buttons soon.

sbader commented 14 years ago

Thanks for this. Helped me out a lot.

imathis commented 14 years ago

I've just pushed the latest Fancy Buttons 0.4.0 to gem cutter, you should be able to install it now. It requires Compass 0.10.0.pre8 which was released earlier today. Let me know if you run into any problems.

AaronH commented 14 years ago

So far so good. Thanks.