Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: third_party/polymer/v0_8/components-chromium/iron-iconset/demo/index.html

Issue 1082403004: Import Polymer 0.8 and several key elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rerun reproduce.sh Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <!--
3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
9 -->
10
11 <html>
12 <head>
13
14 <title>iron-iconset</title>
15
16 <script src="../../webcomponentsjs/webcomponents-lite.js"></script>
17 <link rel="import" href="../iron-iconset.html">
18 <link rel="import" href="../../iron-icon/iron-icon.html">
19
20 </head>
21 <body>
22
23 <!-- Register an icon set; you can do this anywhere, including an HTMLImport! -->
24 <iron-iconset name="my-icons" src="my-icons.png" width="96" size="24"
25 icons="location place starta stopb bus car train walk">
26 </iron-iconset>
27
28 <iron-iconset name="my-icons-big" src="my-icons-big.png" width="192" size="48"
29 icons="location place starta stopb bus car train walk">
30 </iron-iconset>
31
32 <!-- Now create a bunch of icons using our iconset -->
33 <iron-icon icon="my-icons:location"></iron-icon>
34 <iron-icon icon="my-icons:place"></iron-icon>
35 <iron-icon icon="my-icons:starta"></iron-icon>
36 <iron-icon icon="my-icons:stopb"></iron-icon>
37 <iron-icon icon="my-icons:bus"></iron-icon>
38 <iron-icon icon="my-icons:car"></iron-icon>
39 <iron-icon icon="my-icons:train"></iron-icon>
40 <iron-icon icon="my-icons:walk"></iron-icon>
41 <br>
42 <!-- icons may also be specified by index -->
43 <style>
44 .embiggen iron-icon {
45 width: 48px;
46 height: 48px;
47 }
48 </style>
49
50 <div class="embiggen">
51 <iron-icon icon="my-icons-big:0"></iron-icon>
52 <iron-icon icon="my-icons-big:1"></iron-icon>
53 <iron-icon icon="my-icons-big:2"></iron-icon>
54 <iron-icon icon="my-icons-big:3"></iron-icon>
55 <iron-icon icon="my-icons-big:4"></iron-icon>
56 <iron-icon icon="my-icons-big:5"></iron-icon>
57 <iron-icon icon="my-icons-big:6"></iron-icon>
58 <iron-icon icon="my-icons-big:7"></iron-icon>
59 </div>
60
61 </body>
62 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698