Skip to content

Commit

Permalink
Extracted Bootstrap from QA
Browse files Browse the repository at this point in the history
and everything *should* work.
  • Loading branch information
thomas-mcdonald committed Sep 6, 2011
0 parents commit c303d86
Show file tree
Hide file tree
Showing 13 changed files with 2,077 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.gem

14 changes: 14 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Copyright 2011 Twitter, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License 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.

20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Bootstrap for Rails

`bootstrap-rails` is an SASS-powered version of [Twitter's Bootstrap](http://github.com/twitter/bootstrap), ready to drop right into your asset-pipeline powered Rails applications.

Enjoy.

## Usage

In your gemfile:

gem 'bootstrap-rails', '1.2.0'

In your css file of choice:

/*
*= require bootstrap
*/

Simples.

14 changes: 14 additions & 0 deletions bootstrap-rails.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Gem::Specification.new do |s|
s.name = "bootstrap-rails"
s.version = '1.2.0'
s.authors = ["Thomas McDonald"]
s.email = '[email protected]'
s.summary = "Twitter's Bootstrap, converted to SASS and ready to drop into Rails"
s.homepage = "http://github.com/thomas-mcdonald/bootstrap-rails"

s.add_dependency 'sass-rails'

s.files = Dir["vendor/**/*.css.scss"] + ["README.md", "LICENSE", "lib/bootstrap-rails.rb"]
end


8 changes: 8 additions & 0 deletions lib/bootstrap-rails.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module Bootstrap
module Rails
class Engine < ::Rails::Engine
# Rails, will you please look in our vendor? kthx
end
end
end

24 changes: 24 additions & 0 deletions vendor/assets/stylesheets/bootstrap.css.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*!
* Bootstrap 1.2.0
*
* Copyright 2011 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat, and crafted into SASS by the fine typing of Thomas McDonald
* Date: 6th September, 2011
*/

// CSS Reset
@import "bootstrap/reset";

// Core
@import "bootstrap/preboot";
@import "bootstrap/scaffolding";

// Styled patterns and elements
@import "bootstrap/type";
@import "bootstrap/forms";
@import "bootstrap/tables";
@import "bootstrap/patterns";

Loading

0 comments on commit c303d86

Please sign in to comment.