├── favicon.ico ├── favicon.png ├── screenshot.jpg ├── _sass ├── menu │ └── snippets │ │ ├── codepen-lower-buttons.css │ │ ├── codepen-top-buttons.css │ │ ├── lower-right.html │ │ ├── top-left.html │ │ ├── top-right.html │ │ ├── lower-left.html │ │ ├── top-left-demo.html │ │ ├── lower-left-demo.html │ │ ├── top-right-demo.html │ │ └── lower-right-demo.html ├── badge │ ├── snippets │ │ ├── badge-on-text-icon.html │ │ ├── badge-on-text-text.html │ │ ├── badge-on-icon-icon.html │ │ ├── badge-on-icon-text.html │ │ ├── badge-on-text-icon-demo.html │ │ ├── badge-on-text-text-demo.html │ │ ├── badge-on-icon-icon-demo.html │ │ └── badge-on-icon-text-demo.html │ ├── _badge.scss │ └── README.md ├── button │ ├── snippets │ │ ├── flat.html │ │ ├── raised.html │ │ ├── flat-disabled.html │ │ ├── fab.html │ │ ├── flat-accent.html │ │ ├── flat-primary.html │ │ ├── flat-ripple.html │ │ ├── icon.html │ │ ├── raised-disabled.html │ │ ├── raised-colored.html │ │ ├── raised-accent.html │ │ ├── raised-ripple.html │ │ ├── fab-disabled.html │ │ ├── fab-mini.html │ │ ├── fab-colored.html │ │ ├── fab-ripple.html │ │ ├── icon-colored.html │ │ ├── raised-ripple-accent.html │ │ ├── fab-mini-colored.html │ │ └── fab-colored-ripple.html │ ├── README.md │ └── button.js ├── spinner │ ├── snippets │ │ ├── spinner-default.html │ │ └── spinner-single-color.html │ └── README.md ├── chip │ ├── snippets │ │ ├── basic.html │ │ ├── button.html │ │ ├── contact.html │ │ ├── deletable.html │ │ └── deletable-contact.html │ ├── _chip.scss │ └── README.md ├── slider │ ├── snippets │ │ ├── slider-default.html │ │ ├── slider-starting-value.html │ │ ├── slider-default-demo.html │ │ ├── slider-starting-value-demo.html │ │ └── demo.html │ └── README.md ├── progress │ ├── snippets │ │ ├── progress-indeterminate.html │ │ ├── progress-default-demo.html │ │ ├── progress-buffering-demo.html │ │ ├── progress-indeterminate-demo.html │ │ ├── progress-default.html │ │ └── progress-buffering.html │ ├── README.md │ ├── _progress.scss │ └── progress.js ├── tooltip │ ├── snippets │ │ ├── tooltip-simple.html │ │ ├── tooltip-large.html │ │ ├── tooltip-multiline.html │ │ └── tooltip-rich.html │ ├── _tooltip.scss │ └── README.md ├── textfield │ └── snippets │ │ ├── textfield-text-demo.html │ │ ├── textfield-numeric-demo.html │ │ ├── textfield-expanding-demo.html │ │ ├── textfield-multi-line-demo.html │ │ ├── textfield-floating-text-demo.html │ │ ├── textfield-floating-numeric-demo.html │ │ ├── textfield-text.html │ │ ├── textfield-multi-line.html │ │ ├── textfield-floating-text.html │ │ ├── textfield-numeric.html │ │ ├── textfield-floating-numeric.html │ │ └── textfield-expanding.html ├── switch │ ├── snippets │ │ ├── switch-off.html │ │ └── switch-on.html │ └── README.md ├── checkbox │ ├── snippets │ │ ├── check-off.html │ │ └── check-on.html │ └── README.md ├── radio │ ├── snippets │ │ ├── radio-off.html │ │ └── radio-on.html │ └── _radio.scss ├── grid │ └── snippets │ │ ├── codepen-grid.css │ │ ├── grid-demo.html │ │ └── grid.html ├── icon-toggle │ ├── snippets │ │ ├── icon-off.html │ │ └── icon-on.html │ ├── _icon-toggle.scss │ └── README.md ├── footer │ ├── snippets │ │ ├── mini-footer.html │ │ └── mega-footer.html │ └── _mini_footer.scss ├── layout │ └── snippets │ │ ├── transparent-demo.html │ │ ├── fixed-tabs-demo.html │ │ ├── fixed-drawer-demo.html │ │ ├── fixed-header-demo.html │ │ ├── scrollable-tabs-demo.html │ │ ├── fixed-header-drawer-demo.html │ │ ├── scrolling-header-demo.html │ │ ├── waterfall-header-demo.html │ │ ├── fixed-drawer.html │ │ ├── fixed-tabs.html │ │ ├── scrolling-header.html │ │ ├── fixed-header.html │ │ ├── fixed-header-drawer.html │ │ ├── transparent.html │ │ ├── scrollable-tabs.html │ │ └── waterfall-header.html ├── animation │ ├── demo.html │ ├── _animation.scss │ ├── demo.css │ └── demo.js ├── shadow │ ├── demo.html │ ├── _shadow.scss │ ├── demo.css │ └── README.md ├── images │ ├── buffer.svg │ ├── tick.svg │ └── tick-mask.svg ├── list │ ├── snippets │ │ ├── list-item.html │ │ ├── icon.html │ │ ├── action.html │ │ ├── two-line.html │ │ ├── list-control.html │ │ └── three-line.html │ ├── README.md │ └── _list.scss ├── card │ ├── snippets │ │ ├── image.html │ │ ├── square.html │ │ ├── wide.html │ │ └── event.html │ └── _card.scss ├── _functions.scss ├── template.scss ├── snackbar │ ├── snippets │ │ ├── toast.html │ │ └── snackbar.html │ ├── _snackbar.scss │ └── README.md ├── material-design-lite-grid.scss ├── data-table │ ├── snippets │ │ └── data-table.html │ └── _data-table.scss ├── tabs │ ├── snippets │ │ └── tabs.html │ └── _tabs.scss ├── resets │ ├── _mobile.scss │ └── _resets.scss ├── demos.css ├── ripple │ └── _ripple.scss ├── palette │ └── demo.css ├── typography │ └── demo.css ├── dialog │ └── _dialog.scss ├── material-design-lite.scss ├── third_party │ └── rAF.js ├── styleguide.scss ├── _syntax-highlighting.scss └── INTRODUCTION.md ├── .gitignore ├── Gemfile ├── _layouts ├── page.html ├── post.html └── default.html ├── 404.html ├── about.md ├── index.html ├── README.md ├── _posts ├── 2016-01-01-all-posts-components.markdown └── 2016-01-01-welcome-to-jekyll.markdown ├── _includes ├── footer.html ├── header.html └── head.html ├── LICENSE ├── search.html ├── feed.xml ├── _config.yml └── css └── main.scss /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tigefa4u/jekmdl/HEAD/favicon.ico -------------------------------------------------------------------------------- /favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tigefa4u/jekmdl/HEAD/favicon.png -------------------------------------------------------------------------------- /screenshot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tigefa4u/jekmdl/HEAD/screenshot.jpg -------------------------------------------------------------------------------- /_sass/menu/snippets/codepen-lower-buttons.css: -------------------------------------------------------------------------------- 1 | #demo-menu-lower-left { 2 | margin-left: 40%; 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | _site 2 | .sass-cache 3 | .jekyll-metadata 4 | bower_components 5 | node_modules 6 | vendor 7 | Gemfile.lock -------------------------------------------------------------------------------- /_sass/badge/snippets/badge-on-text-icon.html: -------------------------------------------------------------------------------- 1 | 2 | Mood 3 | -------------------------------------------------------------------------------- /_sass/badge/snippets/badge-on-text-text.html: -------------------------------------------------------------------------------- 1 | 2 | Inbox 3 | -------------------------------------------------------------------------------- /_sass/button/snippets/flat.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /_sass/spinner/snippets/spinner-default.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gem 'wdm' # For Microsoft windows user, Jekyll recomended use this gem. 4 | gem 'github-pages' 5 | -------------------------------------------------------------------------------- /_sass/chip/snippets/basic.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Basic Chip 4 | -------------------------------------------------------------------------------- /_sass/button/snippets/raised.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /_sass/button/snippets/flat-disabled.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /_sass/chip/snippets/button.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /_sass/badge/snippets/badge-on-icon-icon.html: -------------------------------------------------------------------------------- 1 | 2 |
account_box
3 | -------------------------------------------------------------------------------- /_sass/badge/snippets/badge-on-icon-text.html: -------------------------------------------------------------------------------- 1 | 2 |
account_box
3 | -------------------------------------------------------------------------------- /_sass/button/snippets/fab.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /_sass/button/snippets/flat-accent.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /_sass/button/snippets/flat-primary.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /_sass/button/snippets/flat-ripple.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /_sass/button/snippets/icon.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /_sass/slider/snippets/slider-default.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | -------------------------------------------------------------------------------- /_sass/button/snippets/raised-disabled.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /_sass/button/snippets/raised-colored.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /_sass/menu/snippets/codepen-top-buttons.css: -------------------------------------------------------------------------------- 1 | #demo-menu-top-left { 2 | margin-left: 40%; 3 | } 4 | 5 | #demo-menu-top-left, 6 | #demo-menu-top-right { 7 | margin-top: 250px; 8 | } 9 | -------------------------------------------------------------------------------- /_sass/spinner/snippets/spinner-single-color.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | -------------------------------------------------------------------------------- /_sass/button/snippets/raised-accent.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /_sass/button/snippets/raised-ripple.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /_sass/button/snippets/fab-disabled.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /_sass/progress/snippets/progress-indeterminate.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | -------------------------------------------------------------------------------- /_sass/slider/snippets/slider-starting-value.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | -------------------------------------------------------------------------------- /_sass/tooltip/snippets/tooltip-simple.html: -------------------------------------------------------------------------------- 1 | 2 |
add
3 |
4 | Follow 5 |
6 | -------------------------------------------------------------------------------- /_sass/button/snippets/fab-mini.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /_sass/badge/snippets/badge-on-text-icon-demo.html: -------------------------------------------------------------------------------- 1 | 6 | {% include "badge-on-text-icon.html" %} 7 | -------------------------------------------------------------------------------- /_sass/button/snippets/fab-colored.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /_sass/textfield/snippets/textfield-text-demo.html: -------------------------------------------------------------------------------- 1 | 6 | 7 | {% include "textfield-text.html" %} 8 | -------------------------------------------------------------------------------- /_sass/tooltip/snippets/tooltip-large.html: -------------------------------------------------------------------------------- 1 | 2 |
print
3 |
4 | Print 5 |
6 | -------------------------------------------------------------------------------- /_sass/badge/snippets/badge-on-text-text-demo.html: -------------------------------------------------------------------------------- 1 | 6 | 7 | {% include "badge-on-text-text.html" %} 8 | -------------------------------------------------------------------------------- /_sass/button/snippets/fab-ripple.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /_sass/button/snippets/icon-colored.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /_sass/textfield/snippets/textfield-numeric-demo.html: -------------------------------------------------------------------------------- 1 | 6 | 7 | {% include "textfield-numeric.html" %} 8 | -------------------------------------------------------------------------------- /_sass/slider/snippets/slider-default-demo.html: -------------------------------------------------------------------------------- 1 | 7 | {% include "slider-default.html" %} 8 | -------------------------------------------------------------------------------- /_sass/textfield/snippets/textfield-expanding-demo.html: -------------------------------------------------------------------------------- 1 | 6 | 7 | {% include "textfield-expanding.html" %} 8 | -------------------------------------------------------------------------------- /_sass/textfield/snippets/textfield-multi-line-demo.html: -------------------------------------------------------------------------------- 1 | 6 | 7 | {% include "textfield-multi-line.html" %} 8 | -------------------------------------------------------------------------------- /_sass/progress/snippets/progress-default-demo.html: -------------------------------------------------------------------------------- 1 | 7 | {% include "progress-default.html" %} 8 | -------------------------------------------------------------------------------- /_sass/tooltip/snippets/tooltip-multiline.html: -------------------------------------------------------------------------------- 1 | 2 |
share
3 |
4 | Share your content
via social media 5 |
6 | -------------------------------------------------------------------------------- /_sass/tooltip/snippets/tooltip-rich.html: -------------------------------------------------------------------------------- 1 | 2 |
cloud_upload
3 |
4 | Upload file.zip 5 |
6 | -------------------------------------------------------------------------------- /_sass/button/snippets/raised-ripple-accent.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /_sass/textfield/snippets/textfield-floating-text-demo.html: -------------------------------------------------------------------------------- 1 | 6 | 7 | {% include "textfield-floating-text.html" %} 8 | -------------------------------------------------------------------------------- /_sass/button/snippets/fab-mini-colored.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /_sass/progress/snippets/progress-buffering-demo.html: -------------------------------------------------------------------------------- 1 | 7 | 8 | {% include "progress-buffering.html" %} 9 | -------------------------------------------------------------------------------- /_sass/slider/snippets/slider-starting-value-demo.html: -------------------------------------------------------------------------------- 1 | 7 | 8 | {% include "slider-starting-value.html" %} 9 | -------------------------------------------------------------------------------- /_sass/textfield/snippets/textfield-floating-numeric-demo.html: -------------------------------------------------------------------------------- 1 | 6 | 7 | {% include "textfield-floating-numeric.html" %} 8 | -------------------------------------------------------------------------------- /_sass/button/snippets/fab-colored-ripple.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /_sass/progress/snippets/progress-indeterminate-demo.html: -------------------------------------------------------------------------------- 1 | 7 | {% include "progress-indeterminate.html" %} 8 | -------------------------------------------------------------------------------- /_sass/switch/snippets/switch-off.html: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /_sass/switch/snippets/switch-on.html: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /_sass/chip/snippets/contact.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | A 4 | Contact Chip 5 | 6 | -------------------------------------------------------------------------------- /_sass/checkbox/snippets/check-off.html: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /_layouts/page.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | --- 4 |
5 | {{ site.title }} > {{ page.title }} 6 |
7 |

{{ page.title }}

8 |
9 | {{ content }} 10 |
11 | -------------------------------------------------------------------------------- /_sass/radio/snippets/radio-off.html: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /_sass/checkbox/snippets/check-on.html: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /_sass/chip/snippets/deletable.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Deletable Chip 4 | 5 | -------------------------------------------------------------------------------- /_sass/radio/snippets/radio-on.html: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /_sass/grid/snippets/codepen-grid.css: -------------------------------------------------------------------------------- 1 | .mdl-cell { 2 | box-sizing: border-box; 3 | background-color: #BDBDBD; 4 | height: 200px; 5 | padding-left: 8px; 6 | padding-top: 4px; 7 | color: white; 8 | } 9 | .mdl-grid:first-of-type .mdl-cell { 10 | height: 50px; 11 | } 12 | -------------------------------------------------------------------------------- /_sass/icon-toggle/snippets/icon-off.html: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /_sass/icon-toggle/snippets/icon-on.html: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /_sass/badge/snippets/badge-on-icon-icon-demo.html: -------------------------------------------------------------------------------- 1 | 9 | {% include "badge-on-icon-icon.html" %} 10 | -------------------------------------------------------------------------------- /_sass/badge/snippets/badge-on-icon-text-demo.html: -------------------------------------------------------------------------------- 1 | 9 | {% include "badge-on-icon-text.html" %} 10 | -------------------------------------------------------------------------------- /_sass/progress/snippets/progress-default.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 8 | -------------------------------------------------------------------------------- /_sass/textfield/snippets/textfield-text.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 |
7 |
8 | -------------------------------------------------------------------------------- /_sass/footer/snippets/mini-footer.html: -------------------------------------------------------------------------------- 1 | 10 | -------------------------------------------------------------------------------- /_sass/textfield/snippets/textfield-multi-line.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 |
7 |
8 | -------------------------------------------------------------------------------- /_sass/grid/snippets/grid-demo.html: -------------------------------------------------------------------------------- 1 | 14 | 15 | {% include "grid.html" %} 16 | -------------------------------------------------------------------------------- /_sass/progress/snippets/progress-buffering.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 9 | -------------------------------------------------------------------------------- /_sass/textfield/snippets/textfield-floating-text.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
5 | 6 | 7 |
8 |
9 | -------------------------------------------------------------------------------- /_sass/slider/snippets/demo.html: -------------------------------------------------------------------------------- 1 |
2 |

3 | 5 |

6 |

7 | 9 |

10 |
11 | -------------------------------------------------------------------------------- /_sass/chip/snippets/deletable-contact.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Deletable Contact Chip 5 | cancel 6 | -------------------------------------------------------------------------------- /_sass/layout/snippets/transparent-demo.html: -------------------------------------------------------------------------------- 1 | 11 | 12 | {% include "transparent.html" %} 13 | -------------------------------------------------------------------------------- /404.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: page 3 | title: 404 4 | --- 5 |

The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

6 | 10 | -------------------------------------------------------------------------------- /_sass/textfield/snippets/textfield-numeric.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 | Input is not a number! 7 |
8 |
9 | -------------------------------------------------------------------------------- /_sass/animation/demo.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |
Click me to animate
4 |
5 |
6 |
7 |
8 | -------------------------------------------------------------------------------- /_layouts/post.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | --- 4 |
5 | {{ site.title }} > {{ page.title }} 6 |
7 |

{{ page.title }}

8 |
9 |
10 | {{ site.time | date_to_long_string }} > {% if page.author %}{{ page.author }}{% endif %} 11 |
12 | {{ content }} 13 |
14 | 15 | -------------------------------------------------------------------------------- /_sass/shadow/demo.html: -------------------------------------------------------------------------------- 1 |
2 |
2dp
3 |
3dp
4 |
4dp
5 |
6dp
6 |
8dp
7 |
16dp
8 |
9 | -------------------------------------------------------------------------------- /_sass/textfield/snippets/textfield-floating-numeric.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 | Input is not a number! 7 |
8 |
9 | -------------------------------------------------------------------------------- /_sass/layout/snippets/fixed-tabs-demo.html: -------------------------------------------------------------------------------- 1 | 14 | 15 | {% include "fixed-tabs.html" %} 16 | -------------------------------------------------------------------------------- /_sass/images/buffer.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /_sass/layout/snippets/fixed-drawer-demo.html: -------------------------------------------------------------------------------- 1 | 14 | 15 | {% include "fixed-drawer.html" %} 16 | -------------------------------------------------------------------------------- /_sass/layout/snippets/fixed-header-demo.html: -------------------------------------------------------------------------------- 1 | 14 | 15 | {% include "fixed-header.html" %} 16 | -------------------------------------------------------------------------------- /about.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: page 3 | title: About 4 | permalink: /about/ 5 | --- 6 | 7 | This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](http://jekyllrb.com/) 8 | 9 | You can find the source code for the Jekyll new theme at: 10 | [jekyll-new](https://github.com/jglovier/jekyll-new) 11 | 12 | You can find the source code for Jekyll at 13 | [jekyll](https://github.com/jekyll/jekyll) 14 | -------------------------------------------------------------------------------- /_sass/layout/snippets/scrollable-tabs-demo.html: -------------------------------------------------------------------------------- 1 | 14 | 15 | {% include "scrollable-tabs.html" %} 16 | -------------------------------------------------------------------------------- /_sass/layout/snippets/fixed-header-drawer-demo.html: -------------------------------------------------------------------------------- 1 | 14 | 15 | {% include "fixed-header-drawer.html" %} 16 | -------------------------------------------------------------------------------- /_sass/layout/snippets/scrolling-header-demo.html: -------------------------------------------------------------------------------- 1 | 15 | 16 | {% include "scrolling-header.html" %} 17 | -------------------------------------------------------------------------------- /_sass/layout/snippets/waterfall-header-demo.html: -------------------------------------------------------------------------------- 1 | 15 | 16 | {% include "waterfall-header.html" %} 17 | -------------------------------------------------------------------------------- /_sass/textfield/snippets/textfield-expanding.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 7 |
8 | 9 | 10 |
11 |
12 |
13 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | --- 4 |
5 | {{ site.title }} > {{ page.title }} 6 |
7 |

Posts

8 | 16 | 17 | -------------------------------------------------------------------------------- /_sass/menu/snippets/lower-right.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 14 | -------------------------------------------------------------------------------- /_sass/menu/snippets/top-left.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 14 | -------------------------------------------------------------------------------- /_sass/menu/snippets/top-right.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 14 | -------------------------------------------------------------------------------- /_sass/list/snippets/list-item.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 25 | -------------------------------------------------------------------------------- /_sass/menu/snippets/lower-left.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 14 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # [jekmdl](https://github.com/tigefa4u/jekmdl) 2 | The [Jekyll](http://jekyllrb.com) best bloging platform using command line (CLI), themes use [Material Design Lite](http://getmdl.io) 3 | ![Screenshot](screenshot.jpg) 4 | 5 | ### Posting 6 | ```yaml 7 | --- 8 | layout: post 9 | title: "All Posts Components" 10 | date: 2016-01-01 18:54:28 +07:00 11 | author: sugeng tigefa 12 | categories: jekmdl posts 13 | --- 14 | ``` 15 | 16 | ### Google custom search engine (CSE) 17 | Create on [Google](https://cse.google.com/cse/create/new) 18 | after create, select themes result only. 19 | ```yaml 20 | gcse: 006270711061491111331:wbfhsrae2vk 21 | ``` -------------------------------------------------------------------------------- /_sass/menu/snippets/top-left-demo.html: -------------------------------------------------------------------------------- 1 | 19 | 20 |
21 |
22 |
23 | {% include "top-left.html" %} 24 |
25 |
26 | -------------------------------------------------------------------------------- /_posts/2016-01-01-all-posts-components.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: post 3 | title: "All Posts Components" 4 | date: 2016-01-01 18:54:28 +07:00 5 | author: sugeng tigefa 6 | categories: jekmdl posts 7 | --- 8 | 9 | Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. 10 | Ut enim ad minim veniam,quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. 11 | Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. 12 | Excepteur sint occaecat cupidatat nonproident, sunt in culpa qui officia deserunt mollit anim id est laborum. -------------------------------------------------------------------------------- /_sass/menu/snippets/lower-left-demo.html: -------------------------------------------------------------------------------- 1 | 19 | 20 |
21 |
22 | {% include "lower-left.html" %} 23 |
24 |
25 |
26 | -------------------------------------------------------------------------------- /_includes/footer.html: -------------------------------------------------------------------------------- 1 | 12 | -------------------------------------------------------------------------------- /_sass/layout/snippets/fixed-drawer.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | Title 5 | 11 |
12 |
13 |
14 |
15 |
16 | -------------------------------------------------------------------------------- /_sass/card/snippets/image.html: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 |
21 |
22 |
23 | Image.jpg 24 |
25 |
26 | -------------------------------------------------------------------------------- /_sass/images/tick.svg: -------------------------------------------------------------------------------- 1 | 2 | 11 | 15 | 16 | -------------------------------------------------------------------------------- /_sass/list/snippets/icon.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 28 | -------------------------------------------------------------------------------- /_layouts/default.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {% include head.html %} 5 | 6 | 7 |
8 | 9 | {% include header.html %} 10 | 11 |
12 |
13 |
14 |
15 |
16 | {{ content }} 17 |
18 |
19 | 20 | {% include footer.html %} 21 |
22 |
23 | 24 | 25 | -------------------------------------------------------------------------------- /_sass/_functions.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | @function strip-units($number) { 18 | @return $number / ($number * 0 + 1); 19 | } 20 | -------------------------------------------------------------------------------- /_sass/template.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /* Material Design Lite */ 18 | 19 | $styleguide-generate-template: true; 20 | 21 | @import "styleguide"; 22 | -------------------------------------------------------------------------------- /_sass/snackbar/snippets/toast.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 |
6 | 19 | -------------------------------------------------------------------------------- /_sass/material-design-lite-grid.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /* Material Design Lite Grid*/ 18 | 19 | @import "variables"; 20 | @import "mixins"; 21 | @import "grid/grid"; -------------------------------------------------------------------------------- /_sass/data-table/snippets/data-table.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
MaterialQuantityUnit price
Acrylic (Transparent)25$2.90
Plywood (Birch)50$1.25
Laminate (Gold on Blue)10$2.35
27 | -------------------------------------------------------------------------------- /_sass/card/snippets/square.html: -------------------------------------------------------------------------------- 1 | 2 | 13 | 14 |
15 |
16 |

Update

17 |
18 |
19 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. 20 | Aenan convallis. 21 |
22 |
23 | 24 | View Updates 25 | 26 |
27 |
28 | -------------------------------------------------------------------------------- /_sass/menu/snippets/top-right-demo.html: -------------------------------------------------------------------------------- 1 | 26 | 27 |
28 |
29 |
30 |
31 | {% include "top-right.html" %} 32 |
33 |
34 |
35 | -------------------------------------------------------------------------------- /_sass/menu/snippets/lower-right-demo.html: -------------------------------------------------------------------------------- 1 | 26 | 27 |
28 |
29 |
30 | {% include "lower-right.html" %} 31 |
32 |
33 |
34 |
35 | -------------------------------------------------------------------------------- /_includes/header.html: -------------------------------------------------------------------------------- 1 |
2 |
3 | {{ site.title }} 4 |
5 |
6 |
7 | 10 |
11 | 12 | 13 |
14 |
15 |
16 |
17 |
18 | -------------------------------------------------------------------------------- /_sass/tabs/snippets/tabs.html: -------------------------------------------------------------------------------- 1 |
2 |
3 | Starks 4 | Lannisters 5 | Targaryens 6 |
7 | 8 |
9 | 18 |
19 |
20 | 26 |
27 |
28 | 32 |
33 |
34 | -------------------------------------------------------------------------------- /_includes/head.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | {% if page.title %}{{ page.title }} | {{ site.title }}{% else %}{{ site.title }}{% endif %} 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /_sass/resets/_mobile.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | /* Remove the unwanted box around FAB buttons */ 19 | /* More info: http://goo.gl/IPwKi */ 20 | a, .mdl-accordion, .mdl-button, .mdl-card, .mdl-checkbox, .mdl-dropdown-menu, 21 | .mdl-icon-toggle, .mdl-item, .mdl-radio, .mdl-slider, .mdl-switch, .mdl-tabs__tab { 22 | 23 | -webkit-tap-highlight-color: transparent; 24 | -webkit-tap-highlight-color: rgba(255, 255, 255, 0); 25 | } 26 | -------------------------------------------------------------------------------- /_sass/demos.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | .demo-page { 18 | width: 100%; 19 | height: auto; 20 | 21 | margin: 0; 22 | padding: 0; 23 | 24 | padding: 24px; 25 | box-sizing: border-box; 26 | } 27 | 28 | .demo-preview-block { 29 | padding: 20px; 30 | padding-bottom: 0; 31 | margin-bottom: 0; 32 | box-sizing: border-box; 33 | width: 100%; 34 | } 35 | 36 | .demo-code { 37 | width: 100%; 38 | box-sizing: border-box; 39 | } 40 | -------------------------------------------------------------------------------- /_sass/snackbar/snippets/snackbar.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 |
6 | 28 | -------------------------------------------------------------------------------- /_sass/card/snippets/wide.html: -------------------------------------------------------------------------------- 1 | 2 | 15 | 16 |
17 |
18 |

Welcome

19 |
20 |
21 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. 22 | Mauris sagittis pellentesque lacus eleifend lacinia... 23 |
24 |
25 | 26 | Get Started 27 | 28 |
29 |
30 | 33 |
34 |
35 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 sugeng tigefa 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /_sass/animation/_animation.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | @import "../variables"; 18 | 19 | 20 | .mdl-animation--default { 21 | transition-timing-function: $animation-curve-default; 22 | } 23 | 24 | .mdl-animation--fast-out-slow-in { 25 | transition-timing-function: $animation-curve-fast-out-slow-in; 26 | } 27 | 28 | .mdl-animation--linear-out-slow-in { 29 | transition-timing-function: $animation-curve-linear-out-slow-in; 30 | } 31 | 32 | .mdl-animation--fast-out-linear-in { 33 | transition-timing-function: $animation-curve-fast-out-linear-in; 34 | } 35 | -------------------------------------------------------------------------------- /_sass/shadow/_shadow.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | @import "../variables"; 18 | @import "../mixins"; 19 | 20 | .mdl-shadow--2dp { 21 | @include shadow-2dp(); 22 | } 23 | 24 | .mdl-shadow--3dp { 25 | @include shadow-3dp(); 26 | } 27 | 28 | .mdl-shadow--4dp { 29 | @include shadow-4dp(); 30 | } 31 | 32 | .mdl-shadow--6dp { 33 | @include shadow-6dp(); 34 | } 35 | 36 | .mdl-shadow--8dp { 37 | @include shadow-8dp(); 38 | } 39 | 40 | .mdl-shadow--16dp { 41 | @include shadow-16dp(); 42 | } 43 | 44 | .mdl-shadow--24dp { 45 | @include shadow-24dp(); 46 | } 47 | -------------------------------------------------------------------------------- /_sass/list/snippets/action.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 |
9 |
10 | 11 | person 12 | Bryan Cranston 13 | 14 | star 15 |
16 |
17 | 18 | person 19 | Aaron Paul 20 | 21 | star 22 |
23 |
24 | 25 | person 26 | Bob Odenkirk 27 | 28 | 29 | star 30 | 31 |
32 |
33 | -------------------------------------------------------------------------------- /_sass/shadow/demo.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | .demo-page--shadow .demo-preview-block { 18 | height: 100px; 19 | } 20 | 21 | .demo-shadow-card { 22 | background-color: #fff; 23 | border-radius: 2px; 24 | display: block; 25 | height: 72px; 26 | margin-bottom: 20px; 27 | margin-right: 32px; 28 | padding: 10px; 29 | text-align: center; 30 | float: left; 31 | color: #9E9E9E; 32 | display: flex; 33 | align-items: center; 34 | justify-content: center; 35 | transition-property: opacity, transform; 36 | width: 72px; 37 | } 38 | 39 | @media screen and (max-width: 360px ) { 40 | .demo-shadow-card { 41 | width: 27px; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /_sass/layout/snippets/fixed-tabs.html: -------------------------------------------------------------------------------- 1 | 2 |
4 |
5 |
6 | 7 | Title 8 |
9 | 10 |
11 | Tab 1 12 | Tab 2 13 | Tab 3 14 |
15 |
16 |
17 | Title 18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 | -------------------------------------------------------------------------------- /_sass/card/snippets/event.html: -------------------------------------------------------------------------------- 1 | 2 | 31 | 32 |
33 |
34 |

35 | Featured event:
36 | May 24, 2016
37 | 7-11pm 38 |

39 |
40 |
41 | 42 | Add to Calendar 43 | 44 |
45 | event 46 |
47 |
48 | -------------------------------------------------------------------------------- /_posts/2016-01-01-welcome-to-jekyll.markdown: -------------------------------------------------------------------------------- 1 | --- 2 | layout: post 3 | title: "Welcome to Jekyll!" 4 | date: 2016-01-01 06:54:43 +0700 5 | author: sugeng tigefa 6 | categories: jekyll update 7 | --- 8 | You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated. 9 | 10 | To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works. 11 | 12 | Jekyll also offers powerful support for code snippets: 13 | 14 | {% highlight ruby %} 15 | def print_hi(name) 16 | puts "Hi, #{name}" 17 | end 18 | print_hi('Tom') 19 | #=> prints 'Hi, Tom' to STDOUT. 20 | {% endhighlight %} 21 | 22 | Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk]. 23 | 24 | [jekyll-docs]: http://jekyllrb.com/docs/home 25 | [jekyll-gh]: https://github.com/jekyll/jekyll 26 | [jekyll-talk]: https://talk.jekyllrb.com/ 27 | -------------------------------------------------------------------------------- /_sass/grid/snippets/grid.html: -------------------------------------------------------------------------------- 1 |
2 |
1
3 |
1
4 |
1
5 |
1
6 |
1
7 |
1
8 |
1
9 |
1
10 |
1
11 |
1
12 |
1
13 |
1
14 |
15 |
16 |
4
17 |
4
18 |
4
19 |
20 |
21 |
6
22 |
4
23 |
2
24 |
25 |
26 |
6 (8 tablet)
27 |
4 (6 tablet)
28 |
2 (4 phone)
29 |
30 | -------------------------------------------------------------------------------- /_sass/layout/snippets/scrolling-header.html: -------------------------------------------------------------------------------- 1 | 3 |
4 |
5 |
6 | 7 | Title 8 | 9 |
10 | 11 | 17 |
18 |
19 |
20 | Title 21 | 27 |
28 |
29 |
30 |
31 |
32 | -------------------------------------------------------------------------------- /search.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: page 3 | title: Search 4 | --- 5 |
Loading
6 | 7 | 33 | -------------------------------------------------------------------------------- /_sass/images/tick-mask.svg: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | 16 | 17 | 18 | 21 | 22 | 23 | 30 | 31 | -------------------------------------------------------------------------------- /_sass/layout/snippets/fixed-header.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 | 6 | Title 7 | 8 |
9 | 10 | 16 |
17 |
18 |
19 | Title 20 | 26 |
27 |
28 |
29 |
30 |
31 | -------------------------------------------------------------------------------- /feed.xml: -------------------------------------------------------------------------------- 1 | --- 2 | layout: null 3 | --- 4 | 5 | 6 | 7 | {{ site.title | xml_escape }} 8 | {{ site.description | xml_escape }} 9 | {{ site.url }}{{ site.baseurl }}/ 10 | 11 | {{ site.time | date_to_rfc822 }} 12 | {{ site.time | date_to_rfc822 }} 13 | Jekyll v{{ jekyll.version }} 14 | {% for post in site.posts limit:10 %} 15 | 16 | {{ post.title | xml_escape }} 17 | {{ post.content | xml_escape }} 18 | {{ post.date | date_to_rfc822 }} 19 | {{ post.url | prepend: site.baseurl | prepend: site.url }} 20 | {{ post.url | prepend: site.baseurl | prepend: site.url }} 21 | {% for tag in post.tags %} 22 | {{ tag | xml_escape }} 23 | {% endfor %} 24 | {% for cat in post.categories %} 25 | {{ cat | xml_escape }} 26 | {% endfor %} 27 | 28 | {% endfor %} 29 | 30 | 31 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | # Welcome to Jekyll! 2 | # 3 | # This config file is meant for settings that affect your whole blog, values 4 | # which you are expected to set up once and rarely need to edit after that. 5 | # For technical reasons, this file is *NOT* reloaded automatically when you use 6 | # 'jekyll serve'. If you change this file, please restart the server process. 7 | 8 | # Site settings 9 | title: jekmdl 10 | email: tigefa@gmail.com 11 | description: > # this means to ignore newlines until "baseurl:" 12 | Write an awesome description for your new site here. You can edit this 13 | line in _config.yml. It will appear in your document head meta (for 14 | Google search results) and in your feed.xml site description. 15 | baseurl: "/jekmdl" # the subpath of your site, e.g. /blog 16 | url: "http://yourdomain.com" # the base hostname & protocol for your site 17 | twitter_username: jekyllrb 18 | github_username: jekyll 19 | 20 | # Google cse -> read the README.md for learn more. 21 | gcse: 006270711061491111331:vsivtajjjh0 22 | 23 | # Conversion 24 | markdown: kramdown 25 | 26 | # Outputting 27 | relative_permalinks: false 28 | permalink: /articles/:title.html 29 | timezone: Asia/Jakarta 30 | 31 | # Markdown Processors 32 | kramdown: 33 | input: GFM 34 | 35 | # Exclude file 36 | exclude: 37 | - Gemfile 38 | - Gemfile.lock 39 | - README.md 40 | - LICENSE 41 | - bower_components 42 | - node_modules 43 | - vendor 44 | -------------------------------------------------------------------------------- /_sass/ripple/_ripple.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | @import "../variables"; 18 | 19 | .mdl-ripple { 20 | background : $ripple-bg-color; 21 | border-radius : 50%; 22 | height : 50px; 23 | left : 0; 24 | opacity : 0; 25 | pointer-events : none; 26 | position : absolute; 27 | top : 0; 28 | transform : translate(-50%, -50%); 29 | width : 50px; 30 | overflow : hidden; 31 | 32 | &.is-animating { 33 | transition: transform 0.3s $animation-curve-linear-out-slow-in, 34 | width 0.3s $animation-curve-linear-out-slow-in, 35 | height 0.3s $animation-curve-linear-out-slow-in, 36 | opacity 0.6s $animation-curve-linear-out-slow-in; 37 | } 38 | 39 | &.is-visible { 40 | opacity: 0.3; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /_sass/palette/demo.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | .demo-page--palette.demo-preview-block { 18 | display: inline-block; 19 | } 20 | 21 | .demo-palette { 22 | margin-top: 15px; 23 | width: 360px; 24 | float: left; 25 | } 26 | 27 | @media screen and (max-width: 360px ) { 28 | .demo-palette { 29 | width: 272px; 30 | } 31 | } 32 | 33 | .demo-palette-color, .demo-palette-heading { 34 | max-width: 300px; 35 | padding: 15px; 36 | color: white; 37 | } 38 | 39 | .demo-palette .demo-palette--dark-text, 40 | .demo-palette-heading.demo-palette--dark-text .demo-palette-name { 41 | color: #000; 42 | } 43 | 44 | .demo-palette-name { 45 | padding: 0 0 60px 0; 46 | } 47 | 48 | .demo-palette-single { 49 | padding: 15px 15px 25px; 50 | } 51 | 52 | .demo-palette-single .demo-palette-name { 53 | padding: 0; 54 | float: left; 55 | } 56 | -------------------------------------------------------------------------------- /_sass/layout/snippets/fixed-header-drawer.html: -------------------------------------------------------------------------------- 1 | 3 |
5 |
6 |
7 |
8 |
10 | 14 |
15 | 17 |
18 |
19 |
20 |
21 |
22 | Title 23 | 29 |
30 |
31 |
32 |
33 |
34 | -------------------------------------------------------------------------------- /_sass/typography/demo.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | .demo-page--typography { 18 | color: rgba(0, 0, 0, 0.87); 19 | } 20 | 21 | .demo-page--typography table th { 22 | padding-right: 80px; 23 | 24 | vertical-align: top; 25 | text-align: left; 26 | } 27 | 28 | .demo-typography--white { 29 | background-color: white; 30 | color: black; 31 | } 32 | 33 | .demo-typography--black { 34 | background-color: black; 35 | color: white; 36 | } 37 | 38 | .demo-typography--white, 39 | .demo-typography--black, 40 | .demo-typography--img-1, 41 | .demo-typography--img-2 { 42 | width: 360px; 43 | height: 272px; 44 | 45 | padding: 16px; 46 | box-sizing: border-box; 47 | } 48 | 49 | .demo-typography--img-1 { 50 | background-image: url(../demo-images/img-1.png); 51 | color: white; 52 | } 53 | 54 | .demo-typography--img-2 { 55 | background-image: url(../demo-images/img-2.png); 56 | color: white; 57 | } 58 | -------------------------------------------------------------------------------- /_sass/resets/_resets.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | @import "h5bp"; 18 | @import "mobile"; 19 | 20 | /* 21 | * Make html take up the entire screen 22 | * Then set touch-action to avoid touch delay on mobile IE 23 | */ 24 | html { 25 | width: 100%; 26 | height: 100%; 27 | -ms-touch-action: manipulation; 28 | touch-action: manipulation; 29 | } 30 | 31 | /* 32 | * Make body take up the entire screen 33 | * Remove body margin so layout containers don't cause extra overflow. 34 | */ 35 | body { 36 | width: 100%; 37 | min-height: 100%; 38 | margin: 0; 39 | } 40 | 41 | /* 42 | * Main display reset for IE support. 43 | * Source: http://weblog.west-wind.com/posts/2015/Jan/12/main-HTML5-Tag-not-working-in-Internet-Explorer-91011 44 | */ 45 | main { 46 | display: block; 47 | } 48 | 49 | /* 50 | * Apply no display to elements with the hidden attribute. 51 | * IE 9 and 10 support. 52 | */ 53 | *[hidden] { 54 | display: none !important; 55 | } 56 | -------------------------------------------------------------------------------- /_sass/layout/snippets/transparent.html: -------------------------------------------------------------------------------- 1 | 2 | 13 | 14 |
15 |
16 |
17 | 18 | Title 19 | 20 |
21 | 22 | 28 |
29 |
30 |
31 | Title 32 | 38 |
39 |
40 |
41 |
42 | -------------------------------------------------------------------------------- /_sass/list/snippets/two-line.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 41 | -------------------------------------------------------------------------------- /_sass/dialog/_dialog.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | @import "../variables"; 18 | @import "../mixins"; 19 | 20 | .mdl-dialog { 21 | border: none; 22 | @include shadow-24dp; 23 | @include dialog-width; 24 | 25 | &__title { 26 | padding: 24px 24px 0; 27 | margin: 0; 28 | font-size: 2.5rem; 29 | } 30 | &__actions { 31 | padding: 8px 8px 8px 24px; 32 | display: flex; 33 | flex-direction: row-reverse; 34 | flex-wrap: wrap; 35 | > * { 36 | margin-right: 8px; 37 | height: 36px; 38 | &:first-child { 39 | margin-right: 0; 40 | } 41 | } 42 | &--full-width { 43 | padding: 0 0 8px 0; 44 | > * { 45 | height: 48px; 46 | flex: 0 0 100%; 47 | padding-right: 16px; 48 | margin-right: 0; 49 | text-align: right; 50 | } 51 | } 52 | } 53 | &__content { 54 | padding: 20px 24px 24px 24px; 55 | color: $dialog-content-color; 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /_sass/list/snippets/list-control.html: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 47 | -------------------------------------------------------------------------------- /_sass/material-design-lite.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /* Material Design Lite */ 18 | 19 | // Variables and mixins 20 | @import "variables"; 21 | @import "mixins"; 22 | 23 | // Resets and dependencies 24 | @import "resets/resets"; 25 | @import "typography/typography"; 26 | 27 | // Components 28 | @import "palette/palette"; 29 | @import "ripple/ripple"; 30 | @import "animation/animation"; 31 | @import "badge/badge"; 32 | @import "button/button"; 33 | @import "card/card"; 34 | @import "checkbox/checkbox"; 35 | @import "chip/chip"; 36 | @import "data-table/data-table"; 37 | @import "dialog/dialog"; 38 | @import "footer/mega_footer"; 39 | @import "footer/mini_footer"; 40 | @import "icon-toggle/icon-toggle"; 41 | @import "list/list"; 42 | @import "menu/menu"; 43 | @import "progress/progress"; 44 | @import "layout/layout"; 45 | @import "radio/radio"; 46 | @import "slider/slider"; 47 | @import "snackbar/snackbar"; 48 | @import "spinner/spinner"; 49 | @import "switch/switch"; 50 | @import "tabs/tabs"; 51 | @import "textfield/textfield"; 52 | @import "tooltip/tooltip"; 53 | @import "shadow/shadow"; 54 | @import "grid/grid"; 55 | -------------------------------------------------------------------------------- /_sass/layout/snippets/scrollable-tabs.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 | 6 | Title 7 |
8 | 9 |
10 | Tab 1 11 | Tab 2 12 | Tab 3 13 | Tab 4 14 | Tab 5 15 | Tab 6 16 |
17 |
18 |
19 | Title 20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 | -------------------------------------------------------------------------------- /_sass/tooltip/_tooltip.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | @import "../variables"; 18 | 19 | .mdl-tooltip { 20 | transform: scale(0); 21 | transform-origin: top center; 22 | z-index: 999; 23 | background: $tooltip-background-color; 24 | border-radius: 2px; 25 | color: $tooltip-text-color; 26 | display: inline-block; 27 | font-size: $tooltip-font-size; 28 | font-weight: 500; 29 | line-height: 14px; 30 | max-width: 170px; 31 | position: fixed; 32 | top: -500px; 33 | left: -500px; 34 | padding: 8px; 35 | text-align: center; 36 | } 37 | .mdl-tooltip.is-active { 38 | animation: pulse 200ms $animation-curve-linear-out-slow-in forwards; 39 | } 40 | 41 | .mdl-tooltip--large { 42 | line-height: 14px; 43 | font-size: $tooltip-font-size-large; 44 | padding: 16px; 45 | } 46 | 47 | @keyframes pulse { 48 | 0% { 49 | transform: scale(0); 50 | opacity: 0; 51 | } 52 | 50% { 53 | // Fixes a weird bug with the interaction between Safari and the result of 54 | // the SASS compilation for the animation. 55 | // Essentially, we need to make sure that "50%" and "100%" don't get merged 56 | // into a single "50%, 100%" entry, so we need to avoid them having any 57 | // matching properties. 58 | transform: scale(0.99); 59 | } 60 | 100% { 61 | transform: scale(1); 62 | opacity: 1; 63 | visibility: visible; 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /_sass/badge/_badge.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | @import "../variables"; 18 | 19 | .mdl-badge { 20 | position : relative; 21 | white-space: nowrap; 22 | margin-right: ($badge-size + $badge-padding); 23 | 24 | &:not([data-badge]) { 25 | margin-right: auto; 26 | } 27 | 28 | &[data-badge]:after { 29 | content: attr(data-badge); 30 | 31 | display: flex; 32 | flex-direction: row; 33 | flex-wrap: wrap; 34 | justify-content: center; 35 | align-content: center; 36 | align-items: center; 37 | 38 | position: absolute; 39 | top: -($badge-size / 2); 40 | right: -($badge-size + $badge-padding); 41 | 42 | .mdl-button & { 43 | top: -10px; 44 | right: -5px; 45 | } 46 | 47 | font-family: $preferred_font; 48 | font-weight: 600; 49 | font-size: $badge-font-size; 50 | width: $badge-size; 51 | height: $badge-size; 52 | border-radius : 50%; 53 | 54 | background: $badge-background; 55 | color: $badge-color; 56 | } 57 | 58 | &.mdl-badge--no-background { 59 | &[data-badge]:after { 60 | color: $badge-color-inverse; 61 | background: $badge-background-inverse; 62 | 63 | box-shadow: 0 0 1px gray; 64 | } 65 | } 66 | &.mdl-badge--overlap { 67 | margin-right: ($badge-size - $badge-overlap); 68 | &:after { 69 | right: -($badge-size - $badge-overlap); 70 | } 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /css/main.scss: -------------------------------------------------------------------------------- 1 | --- 2 | # Only the main Sass file needs front matter (the dashes are enough) 3 | --- 4 | @charset "utf-8"; 5 | @import "material-design-lite"; 6 | @import "syntax-highlighting"; 7 | 8 | // jekmdl variables 9 | html, body { 10 | font-family: 'Roboto', 'Helvetica', sans-serif; 11 | margin: 0; 12 | padding: 0; 13 | } 14 | .jekmdl-ribbon { 15 | width: 100%; 16 | height: 40vh; 17 | background-color: #3F51B5; 18 | -webkit-flex-shrink: 0; 19 | -ms-flex-negative: 0; 20 | flex-shrink: 0; 21 | } 22 | 23 | .jekmdl-main { 24 | margin-top: -35vh; 25 | -webkit-flex-shrink: 0; 26 | -ms-flex-negative: 0; 27 | flex-shrink: 0; 28 | } 29 | 30 | .jekmdl-header .mdl-layout__header-row { 31 | padding-left: 40px; 32 | } 33 | 34 | .jekmdl-container { 35 | max-width: 1600px; 36 | width: calc(100% - 16px); 37 | margin: 0 auto; 38 | } 39 | 40 | .jekmdl-post-content { 41 | padding: 10px 10px; 42 | } 43 | 44 | .jekmdl-content { 45 | border-radius: 2px; 46 | padding: 80px 56px; 47 | margin-bottom: 80px; 48 | } 49 | 50 | .jekmdl-layout.is-small-screen .jekmdl-content { 51 | padding: 40px 28px; 52 | } 53 | 54 | .jekmdl-content h3 { 55 | margin-top: 48px; 56 | } 57 | 58 | .jekmdl-footer { 59 | padding-left: 40px; 60 | } 61 | 62 | .jekmdl-footer .mdl-mini-footer--link-list a { 63 | font-size: 13px; 64 | } 65 | .jekmdl-post-list h2 { 66 | font-size: 18px; 67 | } 68 | .jekmdl-post-list { 69 | margin-left: 0; 70 | list-style: none; 71 | 72 | > li { 73 | margin-bottom: 10px; 74 | } 75 | } 76 | 77 | /** 78 | * Code formatting 79 | */ 80 | pre, 81 | code { 82 | font-size: 13px; 83 | border: 1px solid grey; 84 | border-radius: 3px; 85 | background-color: #eef; 86 | } 87 | 88 | code { 89 | padding: 1px 5px; 90 | } 91 | 92 | pre { 93 | padding: 8px 12px; 94 | overflow-x: scroll; 95 | 96 | > code { 97 | border: 0; 98 | padding-right: 0; 99 | padding-left: 0; 100 | } 101 | } 102 | -------------------------------------------------------------------------------- /_sass/third_party/rAF.js: -------------------------------------------------------------------------------- 1 | // Source: https://github.com/darius/requestAnimationFrame/blob/master/requestAnimationFrame.js 2 | // Adapted from https://gist.github.com/paulirish/1579671 which derived from 3 | // http://paulirish.com/2011/requestanimationframe-for-smart-animating/ 4 | // http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating 5 | 6 | // requestAnimationFrame polyfill by Erik Möller. 7 | // Fixes from Paul Irish, Tino Zijdel, Andrew Mao, Klemen Slavič, Darius Bacon 8 | 9 | // MIT license 10 | 11 | (function() { 12 | 'use strict'; 13 | 14 | if (!Date.now) { 15 | /** 16 | * Date.now polyfill. 17 | * @return {number} the current Date 18 | */ 19 | Date.now = function() { return new Date().getTime(); }; 20 | Date['now'] = Date.now; 21 | } 22 | 23 | var vendors = ['webkit', 'moz']; 24 | for (var i = 0; i < vendors.length && !window.requestAnimationFrame; ++i) { 25 | var vp = vendors[i]; 26 | window.requestAnimationFrame = window[vp + 'RequestAnimationFrame']; 27 | window.cancelAnimationFrame = (window[vp + 'CancelAnimationFrame'] || 28 | window[vp + 'CancelRequestAnimationFrame']); 29 | window['requestAnimationFrame'] = window.requestAnimationFrame; 30 | window['cancelAnimationFrame'] = window.cancelAnimationFrame; 31 | } 32 | 33 | if (/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent) || !window.requestAnimationFrame || !window.cancelAnimationFrame) { 34 | var lastTime = 0; 35 | /** 36 | * requestAnimationFrame polyfill. 37 | * @param {!Function} callback the callback function. 38 | */ 39 | window.requestAnimationFrame = function(callback) { 40 | var now = Date.now(); 41 | var nextTime = Math.max(lastTime + 16, now); 42 | return setTimeout(function() { callback(lastTime = nextTime); }, 43 | nextTime - now); 44 | }; 45 | window.cancelAnimationFrame = clearTimeout; 46 | window['requestAnimationFrame'] = window.requestAnimationFrame; 47 | window['cancelAnimationFrame'] = window.cancelAnimationFrame; 48 | } 49 | 50 | })(); 51 | -------------------------------------------------------------------------------- /_sass/list/snippets/three-line.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 49 | -------------------------------------------------------------------------------- /_sass/footer/_mini_footer.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | @import "../variables"; 18 | 19 | .mdl-mini-footer { 20 | display: flex; 21 | flex-flow: row wrap; 22 | justify-content: space-between; 23 | 24 | padding: ($padding * 2) $padding; 25 | 26 | color: $footer-color; 27 | background-color: $footer-bg-color; 28 | 29 | &:after { 30 | content: ''; 31 | display: block; 32 | } 33 | 34 | & .mdl-logo { 35 | line-height: $footer-btn-size; 36 | } 37 | } 38 | 39 | .mdl-mini-footer--link-list, 40 | .mdl-mini-footer__link-list { 41 | display: flex; 42 | flex-flow: row nowrap; 43 | 44 | list-style: none; 45 | 46 | margin: 0; 47 | padding: 0; 48 | 49 | & li { 50 | margin-bottom: 0; 51 | margin-right: $padding; 52 | 53 | @media screen and (min-width: 760px) { 54 | line-height: $footer-btn-size; 55 | } 56 | } 57 | 58 | & a { 59 | color: inherit; 60 | text-decoration: none; 61 | white-space: nowrap; 62 | } 63 | } 64 | 65 | .mdl-mini-footer--left-section, 66 | .mdl-mini-footer__left-section { 67 | display: inline-block; 68 | order: 0; 69 | } 70 | 71 | .mdl-mini-footer--right-section, 72 | .mdl-mini-footer__right-section { 73 | display: inline-block; 74 | order: 1; 75 | } 76 | 77 | .mdl-mini-footer--social-btn, 78 | .mdl-mini-footer__social-btn { 79 | width: $footer-btn-size; 80 | height: $footer-btn-size; 81 | 82 | padding: 0; 83 | margin: 0; 84 | 85 | background-color: $footer-button-fill-color; 86 | 87 | border: none; 88 | } 89 | -------------------------------------------------------------------------------- /_sass/layout/snippets/waterfall-header.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 |
9 |
10 | 11 |
12 | 13 | Title 14 |
15 |
17 | 21 |
22 | 24 |
25 |
26 |
27 | 28 |
29 |
30 | 31 | 37 |
38 |
39 |
40 | Title 41 | 47 |
48 |
49 |
50 |
51 |
52 | -------------------------------------------------------------------------------- /_sass/footer/snippets/mega-footer.html: -------------------------------------------------------------------------------- 1 | 58 | -------------------------------------------------------------------------------- /_sass/styleguide.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | @import "material-design-lite"; 18 | 19 | $padding: 24px; 20 | 21 | body { 22 | margin: 0px; 23 | } 24 | 25 | .styleguide-demo h1 { 26 | margin: ($padding * 2) $padding 0 $padding; 27 | } 28 | 29 | .styleguide-demo h1:after { 30 | content: ''; 31 | 32 | display: block; 33 | width: 100%; 34 | 35 | border-bottom: 1px solid rgba(0,0,0,0.5); 36 | margin-top: $padding; 37 | } 38 | 39 | .styleguide-demo { 40 | opacity: 0; 41 | 42 | transition: opacity 0.6s ease; 43 | } 44 | 45 | .styleguide-masthead { 46 | height: 256px; 47 | background: unquote("rgb(#{nth($palette-grey, 10)})"); 48 | padding: 115px 16px 0; 49 | } 50 | 51 | .styleguide-container { 52 | position: relative; 53 | max-width: 960px; 54 | width: 100%; 55 | } 56 | 57 | .styleguide-title { 58 | color: #fff; 59 | bottom: auto; 60 | position: relative; 61 | font-size: 56px; 62 | font-weight: 300; 63 | line-height: 1; 64 | letter-spacing: -0.02em; 65 | 66 | &:after { 67 | border-bottom: 0px; 68 | } 69 | 70 | span { 71 | font-weight: 300; 72 | } 73 | } 74 | 75 | .mdl-styleguide .mdl-layout__drawer .mdl-navigation__link { 76 | padding: 10px 24px; 77 | } 78 | 79 | .demosLoaded .styleguide-demo { 80 | opacity: 1; 81 | } 82 | 83 | iframe { 84 | display: block; 85 | 86 | width: 100%; 87 | 88 | border: none; 89 | } 90 | 91 | iframe.heightSet { 92 | overflow: hidden; 93 | } 94 | 95 | .demo-wrapper { 96 | margin: $padding; 97 | 98 | iframe { 99 | border: 1px solid rgba(0,0,0,0.5); 100 | } 101 | } 102 | -------------------------------------------------------------------------------- /_sass/progress/README.md: -------------------------------------------------------------------------------- 1 | ## Introduction 2 | 3 | The Material Design Lite (MDL) **progress** component is a visual indicator of background activity in a web page or application. A progress indicator consists of a (typically) horizontal bar containing some animation that conveys a sense of motion. While some progress devices indicate an approximate or specific percentage of completion, the MDL progress component simply communicates the fact that an activity is ongoing and is not yet complete. 4 | 5 | Progress indicators are an established but non-standardized feature in user interfaces, and provide users with a visual clue to an application's status. Their design and use is therefore an important factor in the overall user experience. See the progress component's [Material Design specifications page](http://www.google.com/design/spec/components/progress-activity.html) for details. 6 | 7 | ### To include an MDL **progress** component: 8 | 9 |  1. Code a `
` element. Include any desired attributes and values, such as an id or width — typically done using external CSS rather than the inline `style` attribute as shown here. 10 | ```html 11 |
12 | ``` 13 |  2. Add one or more MDL classes, separated by spaces, to the div using the `class` attribute. 14 | ```html 15 |
16 | ``` 17 | 18 | The progress component is ready for use. 19 | 20 | #### Examples 21 | 22 | A static (non-animated) progress indicator. 23 | ```html 24 |
25 | ``` 26 | 27 | An active (animated) progress indicator. 28 | ```html 29 |
31 | ``` 32 | 33 | ## Configuration options 34 | 35 | The MDL CSS classes apply various predefined visual and behavioral enhancements to the progress indicator. The table below lists the available classes and their effects. 36 | 37 | | MDL class | Effect | Remarks | 38 | |-----------|--------|---------| 39 | | `mdl-js-progress` | Assigns basic MDL behavior to progress indicator | Required | 40 | | `mdl-progress--indeterminate` | Applies animation effect | Optional | 41 | 42 | > Note: `mdl-progress__intermediate` does exist within the codebase. It is deprecated since the name is not in BEM alignment. It will be removed in 2.0. 43 | -------------------------------------------------------------------------------- /_sass/chip/_chip.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | @import "../variables"; 18 | @import "../mixins"; 19 | 20 | .mdl-chip { 21 | height: $chip-height; 22 | font-family: $preferred_font; 23 | line-height: $chip-height; 24 | padding: 0 12px; 25 | border: 0; 26 | border-radius: $chip-height / 2; 27 | background-color: $chip-bg-color; 28 | display: inline-block; 29 | color: $text-color-primary; 30 | margin: 2px 0; 31 | font-size: 0; 32 | white-space: nowrap; 33 | 34 | &__text { 35 | font-size: $chip-font-size; 36 | vertical-align: middle; 37 | display: inline-block; 38 | } 39 | 40 | &__action { 41 | height: 24px; 42 | width: 24px; 43 | background: transparent; 44 | opacity: 0.54; 45 | display: inline-block; 46 | cursor: pointer; 47 | text-align: center; 48 | vertical-align: middle; 49 | padding: 0; 50 | margin: 0 0 0 4px; 51 | font-size: $chip-font-size; 52 | text-decoration: none; 53 | color: $text-color-primary; 54 | border: none; 55 | outline: none; 56 | overflow: hidden; 57 | } 58 | 59 | &__contact { 60 | height: $chip-height; 61 | width: $chip-height; 62 | border-radius: $chip-height / 2; 63 | display: inline-block; 64 | vertical-align: middle; 65 | margin-right: 8px; 66 | overflow: hidden; 67 | text-align: center; 68 | font-size: 18px; 69 | line-height: 32px; 70 | } 71 | 72 | &:focus { 73 | outline: 0; 74 | @include shadow-2dp(); 75 | } 76 | 77 | &:active { 78 | background-color: $chip-bg-active-color; 79 | } 80 | 81 | &--deletable { 82 | padding-right: 4px; 83 | } 84 | 85 | &--contact { 86 | padding-left: 0; 87 | } 88 | } -------------------------------------------------------------------------------- /_sass/animation/demo.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | .demo-animation { 18 | height: 200px; 19 | width: 300px; 20 | padding: 0; 21 | background: none; 22 | } 23 | 24 | .demo-animation__container { 25 | position: relative; 26 | overflow: hidden; 27 | margin: 0; 28 | padding: 0; 29 | width: 100%; 30 | height: 100%; 31 | text-align: center; 32 | background-color: #ddd; 33 | } 34 | 35 | .demo-animation__container-foreground { 36 | width: 100%; 37 | height: 100%; 38 | position: absolute; 39 | left: 0; 40 | top: 0; 41 | z-index: 100; 42 | } 43 | 44 | .demo-animation__container-background { 45 | line-height: 200px; 46 | z-index: -100; 47 | } 48 | 49 | /* Outside the view, on the left. 50 | We leave the view when moving to this state, so we use fast-out-linear-in. */ 51 | .demo-animation--position-0 { 52 | left: -102px; 53 | } 54 | 55 | /* Left side. 56 | We enter the view when moving to this state, so we use linear-out-slow-in. */ 57 | .demo-animation--position-1 { 58 | left: 20px; 59 | } 60 | 61 | /* Right side. 62 | We're always visible when moving to this state, so we use default. */ 63 | .demo-animation--position-2 { 64 | left: 180px; 65 | } 66 | 67 | /* Outside the view, on the right. 68 | We leave the view when moving to this state, so we use fast-out-linear-in. */ 69 | .demo-animation--position-3 { 70 | left: 302px; 71 | } 72 | 73 | /* Right side. 74 | We enter the view when moving to this state, so we use linear-out-slow-in. */ 75 | .demo-animation--position-4 { 76 | left: 180px; 77 | } 78 | 79 | /* Left side. 80 | We're always visible when moving to this state, so we use default. */ 81 | .demo-animation--position-5 { 82 | left: 20px; 83 | } 84 | 85 | .demo-animation__movable { 86 | background-color: red; 87 | border-radius: 2px; 88 | display: block; 89 | height: 100px; 90 | width: 100px; 91 | position: absolute; 92 | top: 50px; 93 | transition-property: left; 94 | transition-duration: 0.2s; 95 | } 96 | -------------------------------------------------------------------------------- /_sass/snackbar/_snackbar.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2015 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | @import "../variables"; 18 | @import "../mixins"; 19 | 20 | .mdl-snackbar { 21 | position: fixed; 22 | bottom: 0; 23 | left: 50%; 24 | cursor: default; 25 | background-color: $snackbar-background-color; 26 | z-index: 3; 27 | display: block; 28 | display: flex; 29 | justify-content: space-between; 30 | font-family: $preferred_font; 31 | will-change: transform; 32 | transform: translate(0, 80px); 33 | transition: transform 0.25s $animation-curve-fast-out-linear-in; 34 | pointer-events: none; 35 | @media(max-width: $snackbar-tablet-breakpoint - 1) { 36 | width: 100%; 37 | left: 0; 38 | min-height: 48px; 39 | max-height: 80px; 40 | } 41 | @media(min-width: $snackbar-tablet-breakpoint) { 42 | min-width: 288px; 43 | max-width: 568px; 44 | border-radius: 2px; 45 | transform: translate(-50%, 80px); 46 | } 47 | &--active { 48 | transform: translate(0, 0); 49 | pointer-events: auto; 50 | transition: transform 0.25s $animation-curve-linear-out-slow-in; 51 | 52 | @media(min-width: $snackbar-tablet-breakpoint) { 53 | transform: translate(-50%, 0); 54 | } 55 | } 56 | 57 | &__text { 58 | padding: 14px 12px 14px 24px; 59 | vertical-align: middle; 60 | color: white; 61 | float: left; 62 | } 63 | 64 | &__action { 65 | background: transparent; 66 | border: none; 67 | color: $snackbar-action-color; 68 | float: right; 69 | text-transform: uppercase; 70 | padding: 14px 24px 14px 12px; 71 | @include typo-button(); 72 | overflow: hidden; 73 | outline: none; 74 | opacity: 0; 75 | pointer-events: none; 76 | cursor: pointer; 77 | text-decoration: none; 78 | text-align: center; 79 | align-self: center; 80 | 81 | &::-moz-focus-inner { 82 | border: 0; 83 | } 84 | &:not([aria-hidden]) { 85 | opacity: 1; 86 | pointer-events: auto; 87 | } 88 | } 89 | } 90 | -------------------------------------------------------------------------------- /_sass/shadow/README.md: -------------------------------------------------------------------------------- 1 | ## Introduction 2 | 3 | The Material Design Lite (MDL) **shadow** is not a component in the same sense as an MDL card, menu, or textbox; it is a visual effect that can be assigned to a user interface element. The effect simulates a three-dimensional positioning of the element, as though it is slightly raised above the surface it rests upon — a positive *z-axis* value, in user interface terms. The shadow starts at the edges of the element and gradually fades outward, providing a realistic 3-D effect. 4 | 5 | Shadows are a convenient and intuitive means of distinguishing an element from its surroundings. A shadow can draw the user's eye to an object and emphasize the object's importance, uniqueness, or immediacy. 6 | 7 | Shadows are a well-established feature in user interfaces, and provide users with a visual clue to an object's intended use or value. Their design and use is an important factor in the overall user experience. 8 | 9 | ### To include an MDL **shadow** effect: 10 | 11 |  1. Code an element, such as a `
`, that is to receive the shadow effect; size and style it as desired, and add any required content. 12 | ```html 13 |
14 | Some content 15 |
16 | ``` 17 |  2. Add an MDL shadow class to the element using the `class` attribute. 18 | ```html 19 |
20 | Some content 21 |
22 | ``` 23 | 24 | The shadowed component is ready for use. 25 | 26 | #### Examples 27 | 28 | A div with a user-specified class and a small shadow. 29 | 30 | ```html 31 |
Small shadow
32 | ``` 33 | 34 | A div with a user-specified class and a medium-large shadow. 35 | 36 | ```html 37 |
Medium-large shadow
38 | ``` 39 | 40 | ## Configuration options 41 | 42 | The MDL CSS classes apply various predefined visual shadows to the element. The table below lists the available classes and their effects. 43 | 44 | | MDL class | Effect | Remarks | 45 | |-----------|--------|---------| 46 | | `mdl-shadow--2dp` | Assigns a small shadow to the object | Optional; if omitted, no shadow is present | 47 | | `mdl-shadow--3dp` | Assigns a medium-small shadow to the object | Optional; if omitted, no shadow is present | 48 | | `mdl-shadow--4dp` | Assigns a medium shadow to the object | Optional; if omitted, no shadow is present | 49 | | `mdl-shadow--6dp` | Assigns a medium-large shadow to the object | Optional; if omitted, no shadow is present | 50 | | `mdl-shadow--8dp` | Assigns a large shadow to the object | Optional; if omitted, no shadow is present | 51 | | `mdl-shadow--16dp` | Assigns an extra-large shadow to the object | Optional; if omitted, no shadow is present| 52 | -------------------------------------------------------------------------------- /_sass/list/README.md: -------------------------------------------------------------------------------- 1 | ## Introduction 2 | Lists present multiple line items vertically as a single continuous element. Refer the [Material Design 3 | Spec](https://www.google.com/design/spec/components/lists.html) to know more about the content options. 4 | 5 | ### To include the MDL **list** component: 6 | 7 | ## Create a List with basic items. 8 | 9 |  1. Code a `