Skip to content

3rror/glyphicons-rails

Repository files navigation

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.

About

GLYPHICONS Halflings icons for use with Rails

Resources

License

Stars

Watchers

Forks

Packages

No packages published