1
0
Fork 0
mirror of https://github.com/twbs/bootstrap-sass.git synced 2022-11-09 12:27:02 -05:00
Official Sass port of Bootstrap 2 and 3.
Find a file
2011-10-12 17:51:51 -04:00
lib You can't use bootstrap-sass without sass-rails, so you need to require it (gemspec dependency are not automatically required). When used from an engine, this ended up in weird races conditions when sass-rails wasn't present in main_app's Gemfile (which requires it by default). 2011-10-12 18:43:01 +03:00
vendor/assets Update javascripts 2011-10-12 17:51:51 -04:00
.gitignore Extracted Bootstrap from QA 2011-09-06 20:08:31 +01:00
bootstrap-sass.gemspec 1.3.1 release 2011-10-12 18:42:24 +01:00
LICENSE Extracted Bootstrap from QA 2011-09-06 20:08:31 +01:00
README.md Fix css syntax in readme 2011-10-12 09:59:11 +03:00

Bootstrap for Rails

bootstrap-sass is an SASS-powered version of Twitter's Bootstrap, ready to drop right into your asset-pipeline powered Rails applications.

Enjoy.

Usage

In your gemfile:

gem 'bootstrap-sass', '1.3.0'

CSS

In your CSS file of choice:

@import "bootstrap"; /* Use this to get all of Bootstrap's @mixins and $variables */

or

/*
 *= require bootstrap // This doesn't (at the moment) preserve loaded @mixins,
 *                    //so I wouldn't use this. Stil, its an alternative.
 */

Javascript

In your Javascript manifest:

// Loads all Bootstrap javascripts
//= require bootstrap

// Alternatively
//= require bootstrap-scrollspy
//= require bootstrap-modal
//= require bootstrap-dropdown

Simples.