diff --git a/index.html b/index.html index dc141760..4b267818 100644 --- a/index.html +++ b/index.html @@ -1,1606 +1,1462 @@ - - Material Design for Bootstrap + + + Material Design for Bootstrap - - + + - - + + - - - - + + + - - + + - - + #source-modal h4 { + color: black; + } + - - + + - - + + - Fork me on GitHub + Fork me on GitHub -
-
-
-
-

Paper Elements

-
-
-
+
+
+
+
+

Paper Elements

+
-
-
- -
-
-
-

Material Design for Bootstrap

-

Material Design for Bootstrap is a theme for Bootstrap 3 which lets you use the new Google Material Design in your favorite front-end framework.

-

If you like this project you can support me by donating something on Gratipay, starring this repository, or reporting bugs and ideas.

-

Read more about Material Design for Bootstrap at the Github page.

+
+
+
+
+ +
+
+
+

Material Design for Bootstrap

+

Material Design for Bootstrap is a theme for Bootstrap 3 which lets you use the new Google Material Design in your favorite front-end framework.

+

If you like this project you can support me by donating something on Gratipay, starring this repository, or reporting bugs and ideas.

+

Read more about Material Design for Bootstrap at the Github page.

+ +
+

If you want support the development of this project please consider donate something:

+ Donate with Gratipay +
+ + + +
+

Thanks to all the people that donate me weekly on Gratipay and all the ones which has donated on PayPal! You are great guys!

+ +
+

Would you like to use this theme for commercial projects? Visit MyWebExpression and contact me using the form on the bottom of the page. Thanks!

+ +
+
+ +
Seems like you are using AdBlock to hide banners... Carbon ADS are quite nice and don't take much space, you may consider disabling it on this website.
This is the only AD on the entire website.

Thanks!
+
+ + +
+

You can get this theme downloading the source from Bower:

+
bower install bootstrap-material-design
-
-

If you want support the development of this project please consider donate something:

- Donate with Gratipay -
- - - -
-

Thanks to all the people that donate me weekly on Gratipay and all the ones which has donated on PayPal! You are great guys!

-
-

Would you like to use this theme for commercial projects? Visit MyWebExpression and contact me using the form on the bottom of the page. Thanks!

- -
-
- -
Seems like you are using AdBlock to hide banners... Carbon ADS are quite nice and don't take much space, you may consider disabling it on this website.
This is the only AD on the entire website.

Thanks!
-
- - -
-

You can get this theme downloading the source from Bower:

-
bower install bootstrap-material-design
- - -
-
-

Getting Started

-

Download

-
-

Install with NPM - Coming Soon

-

You can also install and manage Material Bootstrap using NPM

-
npm install
-

Install with Bower

-

You can also install and manage Material Bootstrap using Bower

-
bower install bootstrap-material-design
-

Install with Meteor

-

You can also install and manage Material Bootstrap using Meteor

-
meteor add fezvrasta:bootstrap-material-design
-
-

What's included

-
-

Material Bootstrap is downloadable in a two forms. Material.css only supports the primary shades of the material color palette and Material-fullpalette.css supports every shade of the material color palette

-
-
-

Required Frameworks

-
-
-
-
-
- -
-
-

Bootstrap v3.0+

-

This theme extends, styles, and modifies Bootstrap's elements and styles. Without Bootstrap this project will not display correctly. To install Bootstrap please go to Get Bootstrap

-
-
-
-
-
- -
-
-

jQuery 1.9.1+

-

All JavaScript plugins require jQuery to be included.

-
-
-
-
-
-

Once downloaded, unzip the compressed folder to see the structure of (the compiled) Material Bootstrap. You'll see something like this:

- -
Material/
-├── css/
-│   ├── material.css
-│   ├── material.css.map
-│   ├── material.min.css
-│   ├── material.min.css.map
-│   ├── material-wfont.css
-│   ├── material-wfont.css.map
-│   ├── material-wfont.min.css
-│   ├── material-wfont.min.css.map
-│   ├── ripples
-│   ├── ripples.css.map
-│   ├── ripples.min.css
-│   ├── ripples.min.css.map
-├── js/
-│   ├── material.js
-│   ├── material.min.js
-│   ├── material.min.js.map
-│   ├── ripples.js
-│   ├── ripples.min.js
-│   ├── ripples.min.js.map
-└── fonts/
-    ├── Material-Design-Icons.eot
-    ├── Material-Design-Icons.svg
-    ├── Material-Design-Icons.ttf
-    ├── Material-Design-Icons.woff
-    └── ADD REMAINING GOOGLE FONT FILES HERE
-                
-                            
-

Just copy the compiled CSS and JS files and the font files from the .zip and add them to your site.

-
-

Once copied you need to initialize the material javascript by adding the following javascript to your site,

-
$.material.init()
-
-
-

Checkbox

- - -
-
- -
-

Notify me about updates to apps or games that I've downloaded

-
- - -
-
- -
-

Auto-update apps over wifi only

-
- - -
-
- -
-

Remove all the searches you have ever performed

-
- -

Sound

- - -
-
Touch sounds
-
- -
-
-
-
Screen lock sound
-
- -
-
-
-
Vibrate on touch
-
- -
-
- - - -
-
-

Checkbox

-

Keep Wi-Fi on during sleep

-
-
- -
-
- -
-
- -
-
- - -

Wi-Fi frequency band

-
-
- -
-
- -
-
- -
-
- - -
-
- -

Toggle Button

-
- -
-
- -
- -

Toggle Button Variations

-
- -
-
- -
- - -
-
-

Input

-
-

Input

- - - -

Textarea

- - - -

Validation

- - - -

Disabled

- - - -

Hints

- - - - -

Styling

-
- - -
- - - -
-
- -
-

Progress Bar

-

Basic

-
-
-
- -

Contextual alternatives

-
-
-
-
-
-
-
-
-
-
-
-
- -

Striped

-
-
-
-
-
-
-
-
-
-
-
-
- -

Animated

-
-
-
- -

Stacked

-
-
-
-
-
- - - -
-
-

Slider

-
-

Music, video, games & other media

-
- -

Notifications

-
- -

Alarms

-
-
- -
-
-
-
-
- -

Sliders are powered by noUiSlider

- - - -
- - -
- -

Icones

- -
-
- - -
- - - - -
-

Material Color Samples

-

This is the list of all the supported color variations. Each color can be applied to every element that supports variations.

- -
.btn-material-{{color}}
.navbar-material-{{color}}
.well-material-{{color}}
etc...
- -

material.css includes only the primary color shades (red, pink, purple, deep-purple, etc...), if you want the entire palette please use material-fullpalette.css

-
- - -
-
-

- - - - - - - - - -
- - - - -
-
-

- - - - - - - - - -
- - - - -
-
-

- - - - - - - - - -
- - - - -
-
-

- - - - - - - - - -
- - - - -
-
-

- - - - - - - - - -
- - - - -
-
-

- - - - - - - - - -
- - - - -
-
-

- - - - - - - - - -
- - - - -
-
-

- - - - - - - - - -
- - - - -
-
-

- - - - - - - - - -
- - - - -
-
-

- - - - - - - - - -
- - - - -
-
-

- - - - - - - - - -
- - - - -
-
-

- - - - - - - - - -
- - - - -
-
-

- - - - - - - - - -
- - - - -
-
-

- - - - - - - - - -
- - - - -
-
-

- - - - - - - - - -
- - - - -
-
-

- - - - - - - - - -
- - - -

-
-
-

- - - - - - - - - - -
-
-

- - - - - - - - - - -
-
-

- - - - - - - - - - -
-
-
-

Button

-
-

Normal buttons

- - - - -
-
-

Flat buttons

- - - - -
-
-

Raised buttons

- - - - -
-
-

Custom button content

- - -
- - - -
-
-

Floating Action Button

- -

Regular

- - - -

Mini

- - - - -
- - -
-

Dialog

- -

Simple Dialog

- - -

Dialog with header and footer

- - - - - - -
-
-

Shadow

- -

Shadows

-
z = 0
-
z = 1
-
z = 2
-
z = 3
-
z = 4
-
z = 5
- -

Animated

-
tap
-
tap
- - - - -
-
-
-
-
-
+
+

Checkbox

- +
+
+
+
+
- $("#opensource").click(function () { - $.get(window.location.href, function (data) { - var html = $(data).find(window.page).html(); - html = cleanSource(html); - $("#source-modal pre").text(html); - $("#source-modal").modal(); - }); - }); - - - - - - - - - + - - - + $(document).ready(function() { + if (window.page != "#about") { + $(".menu").find("li[data-target=" + window.page + "]").trigger("click"); + } + }); - - - + $(window).on("resize", function() { + $("html, body").height($(window).height()); + $(".main, .menu").height($(window).height() - $(".header-panel").outerHeight()); + $(".pages").height($(window).height()); + }).trigger("resize"); - + $(".menu li").click(function() { + // Menu + if (!$(this).data("target")) return; + if ($(this).is(".active")) return; + $(".menu li").not($(this)).removeClass("active"); + $(".page").not(page).removeClass("active").hide(); + window.page = $(this).data("target"); + var page = $(window.page); + window.location.hash = window.page; + $(this).addClass("active"); + + + page.show(); + + var totop = setInterval(function() { + $(".pages").animate({scrollTop:0}, 0); + }, 1); + + setTimeout(function() { + page.addClass("active"); + setTimeout(function() { + clearInterval(totop); + }, 1000); + }, 100); + }); + + function cleanSource(html) { + var lines = html.split(/\n/); + + lines.shift(); + lines.splice(-1, 1); + + var indentSize = lines[0].length - lines[0].trim().length, + re = new RegExp(" {" + indentSize + "}"); + + lines = lines.map(function(line){ + if (line.match(re)) { + line = line.substring(indentSize); + } + + return line; + }); + + lines = lines.join("\n"); + + return lines; + } + + $("#opensource").click(function() { + $.get(window.location.href, function(data){ + var html = $(data).find(window.page).html(); + html = cleanSource(html); + $("#source-modal pre").text(html); + $("#source-modal").modal(); + }); + }); + + + + + + + + + + + + + + + + + + + +