Low commit activity in last 3 years
No release in over a year
GLYPHICONS Halflings, extracted from Twitter Bootstrap and customized for use with Sass @extend and Rails.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.2, >= 2.2.10
~> 12.3, >= 12.3.3

Runtime

~> 3.3
 Project Readme

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.