Merge pull request #625 from google/badge-demo

Use proper demo files for badge demos
master
Surma 2015-07-03 14:03:57 +01:00
commit 4f1b03d7d8
6 changed files with 28 additions and 4 deletions

View File

@ -174,7 +174,3 @@ mdl-components-dd {
height: 100%;
}
}
#badges-section .snippet-demo .mdl-badge {
color: rgba(0, 0, 0, 0.24);
}

View File

@ -14,13 +14,17 @@ categories:
- snippet_group:
- caption: Number
file: badge-on-icon-text.html
demo_file: badge-on-icon-text-demo.html
- caption: Icon
file: badge-on-icon-icon.html
demo_file: badge-on-icon-icon-demo.html
- snippet_group:
- caption: Number
file: badge-on-text-text.html
demo_file: badge-on-text-text-demo.html
- caption: Icon
file: badge-on-text-icon.html
demo_file: badge-on-text-icon-demo.html
- name: buttons
title: Buttons
description: Variations on Material Design buttons.

View File

@ -0,0 +1,6 @@
<style>
.badge-demo {
color: rgba(0, 0, 0, 0.24);
}
</style>
{% include "badge-on-icon-icon.html" %}

View File

@ -0,0 +1,6 @@
<style>
.badge-demo {
color: rgba(0, 0, 0, 0.24);
}
</style>
{% include "badge-on-icon-text.html" %}

View File

@ -0,0 +1,6 @@
<style>
.badge-demo {
color: rgba(0, 0, 0, 0.24);
}
</style>
{% include "badge-on-text-icon.html" %}

View File

@ -0,0 +1,6 @@
<style>
.badge-demo {
color: rgba(0, 0, 0, 0.24);
}
</style>
{% include "badge-on-text-text.html" %}