• This repository has been archived on 09/Jul/2018
  • Stars
    star
    185
  • Rank 208,271 (Top 5 %)
  • Language
    HTML
  • License
    Other
  • Created about 10 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

[INACTIVE] The bootstrap-material-design bundled as an asset for the rails asset pipeline.

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