glyphicons-rails

GLYPHICONS Halflings, extracted from Twitter Bootstrap and customized for use with Sass @extend and Rails.


License
MIT
Install
gem install glyphicons-rails -v 0.1.3

Documentation

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:

gem 'glyphicons-rails'

And then execute:

$ bundle

Usage

Add this to your application.css.scss file:

@import "glyphicons";

To show an icon use:

@extend %glyphicon-[icon_name];

Example:

.hide-button {
  @extend %glyphicon-chevron-up;
}

You can find all the icons (with names) at the official Twitter Bootstrap components page.