Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
The twitter bootstrap ported to compass
Ruby JavaScript

This branch is 32 commits ahead, 120 commits behind vwall:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
build
lib
public
stylesheets
stylesheets_sass
vendor/assets
.gitignore
CHANGELOG.md
Gemfile
README.md
Rakefile
config.ru
equip.gemspec
init.rb

README.md

EQUIP

Everyday Hero's opinionated implementation of Twitter's Bootstrap for Compass, via the Compass Twitter Bootstrap gem.

Usage without Asset Pipeline

Add this to your Gemfile

gem 'equip', :git => 'git@github.com:everydayhero/equip.git'

...or local install for development

gem 'equip', :path => "~/path/to/equip"

Bundle it!

bundle install

Add this to your Compass config.rb

require 'equip'
project_type = :rails

Import it into your SASS file

//= require_self
// Optional...
//= require_tree .

@import equip

Usage with Asset Pipeline

Add this to your Gemfile.

gem 'compass-rails'
gem 'equip', :git => 'git@github.com:everydayhero/equip.git'

...or local install for development

gem 'equip', :path => "~/path/to/equip"

Bundle it!

bundle install

Add it to your config/application.rb

# Enable the asset pipeline
config.assets.enabled = true

Create config/compass.rb with the following:

require 'equip'
project_type = :rails

Import it into your SASS file

//= require_self
// Optional...
//= require_tree .

@import equip

On Heroku

If you're deploying to Heroku, you'll need to prevent Rails from initialising when precompiling assets at deploy time. In your application.rb:

config.assets.initialize_on_precompile = false

Reference Font Awesome

Font Awesome is used for scalable fonts, for now.

Using Javascripts with Rails Asset Pipeline

Javascript Libraries are located in vendor/assets/javascripts

Include them individually or

//=require bootstrap-all

to include all files

TWITTER BOOTSTRAP

Bootstrap is Twitter's toolkit for kickstarting CSS for websites, apps, and more. It includes base CSS styles for typography, forms, buttons, tables, grids, navigation, alerts, and more.

To get started -- checkout http://twitter.github.com/bootstrap!

AUTHORS

Mark Otto

Jacob Thornton

Copyright and License

Copyright 2011 Twitter, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Something went wrong with that request. Please try again.