OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <!-- | 2 <!-- |
3 @license | 3 @license |
4 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. | 4 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. |
5 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | 5 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
6 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | 6 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
7 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt | 7 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
8 Code distributed by Google as part of the polymer project is also | 8 Code distributed by Google as part of the polymer project is also |
9 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt | 9 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
10 --> | 10 --> |
11 | 11 |
12 <html> | 12 <html> |
13 <head> | 13 <head> |
14 | 14 |
15 <title>iron-iconset-svg</title> | 15 <title>iron-iconset-svg</title> |
16 <script src="../../webcomponentsjs/webcomponents-lite.js"></script> | 16 <script src="../../webcomponentsjs/webcomponents-lite.js"></script> |
17 | 17 |
18 <link href="../../paper-styles/demo-pages.html" rel="import"> | 18 <link href="../../paper-styles/demo-pages.html" rel="import"> |
19 | 19 |
20 <link rel="import" href="svg-sample-icons.html"> | 20 <link rel="import" href="svg-sample-icons.html"> |
21 <style is="custom-style"> | 21 <style is="custom-style"> |
22 | 22 |
23 .centered { | 23 .centered { |
24 text-align: center; | 24 text-align: center; |
25 } | 25 } |
26 | 26 |
27 iron-icon { | 27 iron-icon { |
28 height: 64px; | 28 height: 64px; |
29 width: 64px; | 29 width: 64px; |
30 margin: auto 1em; | 30 margin: auto 1em; |
31 } | 31 } |
32 | 32 |
33 iron-icon:nth-of-type(1) { | 33 iron-icon:nth-of-type(1) { |
34 fill: orange; | 34 fill: orange; |
35 } | 35 } |
36 | 36 |
37 iron-icon:nth-of-type(2) { | 37 iron-icon:nth-of-type(2) { |
38 fill: green; | 38 fill: green; |
39 } | 39 } |
40 | 40 |
41 iron-icon:nth-of-type(3) { | 41 iron-icon:nth-of-type(3) { |
42 fill: navy; | 42 fill: navy; |
43 } | 43 } |
44 | 44 |
| 45 iron-icon:nth-of-type(4) { |
| 46 fill: red; |
| 47 } |
| 48 |
45 iron-icon { | 49 iron-icon { |
46 transition: all 0.5s; | 50 transition: all 0.5s; |
47 -webkit-transition: all 0.5s; | 51 -webkit-transition: all 0.5s; |
48 } | 52 } |
49 | 53 |
50 iron-icon:hover { | 54 iron-icon:hover { |
51 -webkit-filter: drop-shadow( 2px 2px 2px var(--google-grey-700) ); | 55 -webkit-filter: drop-shadow( 2px 2px 2px var(--google-grey-700) ); |
52 filter: drop-shadow( 2px 2px 2px var(--google-grey-700) ); | 56 filter: drop-shadow( 2px 2px 2px var(--google-grey-700) ); |
53 } | 57 } |
54 </style> | 58 </style> |
55 </head> | 59 </head> |
56 <body> | 60 <body> |
57 | 61 |
58 <div class="vertical-section vertical-section-container centered"> | 62 <div class="vertical-section vertical-section-container centered"> |
59 <iron-icon icon="svg-sample-icons:codepen"></iron-icon> | 63 <iron-icon icon="svg-sample-icons:codepen"></iron-icon> |
60 <iron-icon icon="svg-sample-icons:twitter"></iron-icon> | 64 <iron-icon icon="svg-sample-icons:twitter"></iron-icon> |
61 <iron-icon icon="svg-sample-icons:youtube"></iron-icon> | 65 <iron-icon icon="svg-sample-icons:youtube"></iron-icon> |
| 66 <iron-icon icon="inline:shape"></iron-icon> |
62 </div> | 67 </div> |
63 | 68 |
64 </body> | 69 </body> |
65 </html> | 70 </html> |
OLD | NEW |