0.0
No commit activity in last 3 years
No release in over 3 years
Flatstrap CSS for Rails 3.1 asset pipeline
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0

Runtime

 Project Readme

Flatstrap-Rails

flatstrap-rails bundles Flatstrap, Little Spark's flattened fork of Twitter Bootstrap, for the Rails 3.1 asset pipeline.

Installation

Add this line to your application's Gemfile:

gem 'flatstrap-rails'

And then execute:

$ bundle

You must include the Flatstrap CSS. If you generate static assets with twitter-bootstrap-rails, the easiest way to do this is to substitute the vendored Flatstrap bootstrap.css in place.

twitter-bootstrap-rails installs this line into your application.css:

/*
 *= require bootstrap_and_overrides
 */

Replace that line with this:

/*
 *= require flatstrap/bootstrap
 */

/* Your stylesheets goes here... */

Usage

As of the initial release (0.3.0.1), there are no generators. You can use the layout generator in twitter-bootstrap-rails to generate a Bootstrap/Flatstrap-enabled layout.

Versions

Flatstrap-rails follows Flatstrap's versioning system, with an extra patch number to indicate gem updates/fixes. Currently Flatstrap is at version 0.3, so releases of flatstrap-rails will be in the 0.3.0.x series.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Credits

Bootstrap is built by Twitter.

twitter-bootstrap-rails is built by Seyhun Akyürek.

Flatstrap is built by Little Spark.

flatstrap-rails is created and maintained by Geoff Harcourt.