GLYPHICONS Halflings for Rails
WARNING: this gem is deprecated!
GLYPHICONS Halflings, extracted from Twitter Bootstrap and customized for use with Sass @extend and Rails.
This gem won’t pollute your code or force you to follow a specific developing methodology. It will only create placeholders and you are free to decide how and where to use them.
Installation
Add this line to your Gemfile:
“by gem ‘glyphicons-rails’
“
And then execute:
$ bundle
Usage
Add this to your application.css.scss file:
“ss @import “glyphicons”;
“
To show an icon use:
“ss @extend %glyphicon-[icon_name];
“
Example:
“ss .hide-button { @extend %glyphicon-chevron-up; }
“
You can find all the icons (with names) at the official Twitter Bootstrap components page.