Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
add labels
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed May 2, 2014
1 parent c803516 commit 96d2064
Showing 1 changed file with 24 additions and 7 deletions.
31 changes: 24 additions & 7 deletions demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,33 +24,47 @@
-webkit-filter: drop-shadow( 1px 1px 1px #333 );
filter: drop-shadow( 1px 1px 1px #333 );
}

h2 {
text-transform: capitalize;
}

.set {
margin: 100px 0;
margin-bottom: 100px;
border-bottom: 1px solid black;
}
.set:nth-of-type(4n-3) svg-icon-demo::shadow > svg:not(rect) {

.set:nth-of-type(4n-3) {
fill: #D23F31;
}
.set:nth-of-type(4n-2) svg-icon-demo::shadow > svg:not(rect) {

.set:nth-of-type(4n-2) {
fill: #FDD835;
}
.set:nth-of-type(4n-1) svg-icon-demo::shadow > svg:not(rect) {

.set:nth-of-type(4n-1) {
fill: #0D904F;
}
.set:nth-of-type(4n) svg-icon-demo::shadow > svg:not(rect) {

.set:nth-of-type(4n) {
fill: #3B78E7;
}

body {
font-family: 'Helvetica Neue', Helvetica, Arial;
}

.container {
display: inline-flex;
flex-flow: column;
align-items: center;
padding: 20px;
}
</style>
</head>
<body unresolved>

<!--
<!--
Create an element that uses an iconset to display an icon.
By using iconset, the element can allow the set of available icons to be
easily changed by the user.
Expand Down Expand Up @@ -101,7 +115,10 @@
<div class="set">
<h2>{{set}}</h2>
<template repeat="{{ icon in icons }}">
<svg-icon-demo icon="{{ set }}:{{ icon }}"></svg-icon-demo>
<span class="container">
<svg-icon-demo icon="{{ set }}:{{ icon }}"></svg-icon-demo>
<div>{{ icon }}</div>
</span>
</template>
</div>
</template>
Expand Down

0 comments on commit 96d2064

Please sign in to comment.