This repository has been archived by the owner. It is now read-only.
[INACTIVE] The bootstrap-material-design bundled as an asset for the rails asset pipeline.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app/assets Fixes #13 Aug 29, 2015
lib First commit Oct 2, 2014
test/dummy_app Various bug fixing, fixes #5 Feb 18, 2015
.gitignore Improve .gitignore file Oct 20, 2014
Gemfile First commit Oct 2, 2014
LICENSE First commit Oct 2, 2014
README.md Update README.md Jul 9, 2018
Rakefile First commit Oct 2, 2014
bootstrap-material-design.gemspec Bump version to 0.2.2 Aug 29, 2015

README.md

Material Design for Bootstrap

bootstrap-material-design provides the Bootstrap-Material-Design web fonts, javascripts and stylesheets as a Rails engine for use with the asset pipeline.

You can check out the demo at this link.

Installation

Add this line to your application's Gemfile:

gem 'bootstrap-material-design'

And then execute:

$ bundle

Or install it yourself as:

$ gem install bootstrap-material-design

Usage

Make sure you have installed the Bootstrap in your Rails application.

You should include the theme right after the Bootstrap CSS and include the javascript at the end of your document, everything will be converted to Material Design (paper) style.

Just like this:

application.js:

//= require bootstrap-material-design

application.css:

/*
 *= require bootstrap-material-design
 */

Then restart your webserver if it was previously running.

That's it, hava fun!

Also you can see more details about bootstrap-material-design at this link or clone my gem in your computer, then run cd bootstrap-material-design/test/dummy_app && bundle && rails s, that just give a demo for you.

Thanks

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