0.0
No commit activity in last 3 years
No release in over 3 years
This gem provides access to the sexybuttons library (http://code.google.com/p/sexybuttons) through the Rails asset pipeline.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 3.1.0
 Project Readme

Sexybuttons¶ ↑

This gem provides access to the sexybuttons library (code.google.com/p/sexybuttons) through the Rails asset pipeline.

It contains the contents of Sexybuttons version 1.2, downloaded from sexybuttons.googlecode.com/files/SexyButtons_v1.2.zip.

The images have been copied to vendor/assets/images/sexybuttons.

The stylesheet has been copied to vendor/assets/stylesheets/sexybuttons.css.scss, the paths to background images have been rewritten using the asset path helpers. It uses the “silk” icon set.

Usage¶ ↑

To use sexybuttons in your Rails app, first add it to your Gemfile:

gem 'sexybuttons', group: :assets

Then, put the following line in your app/assets/stylesheets/application.css:

//= require 'sexybuttons'

Or, put the following line in your app/assets/stylesheets/application.css.scss:

@import "sexybuttons"

For a list of available classes, view the stylesheet vendor/assets/stylesheet/sexybuttons.css.scss.

This project uses MIT-LICENSE.