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

Side by Side Diff: third_party/polymer/v0_8/components-chromium/iron-icons/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, 8 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-icons</title>
15
16 <!-- polyfill WebComponents, if needed -->
17 <script src="../../webcomponentsjs/webcomponents-lite.js"></script>
18
19 <!-- load layout classes -->
20 <link rel="import" href="../../paper-styles/classes/layout.html">
21
22 <!-- load default iconset -->
23 <link rel="import" href="../iron-icons.html">
24
25 <!-- load the rest -->
26 <link rel="import" href="../av-icons.html">
27 <link rel="import" href="../communication-icons.html">
28 <link rel="import" href="../device-icons.html">
29 <link rel="import" href="../editor-icons.html">
30 <link rel="import" href="../hardware-icons.html">
31 <link rel="import" href="../image-icons.html">
32 <link rel="import" href="../maps-icons.html">
33 <link rel="import" href="../notification-icons.html">
34 <link rel="import" href="../social-icons.html">
35
36 <style>
37
38 body {
39 font-family: sans-serif;
40 }
41
42 h2 {
43 text-transform: capitalize;
44 }
45
46 iron-icon {
47 transition: all 0.2s;
48 -webkit-transition: all 0.2s;
49 }
50
51 iron-icon:hover {
52 fill: #fb8c00;
53 }
54
55 .set {
56 padding: 1em 0;
57 border-bottom: 1px solid silver;
58 }
59
60 .set:nth-of-type(4n-3) {
61 color: #656565;
62 }
63
64 .set:nth-of-type(4n-2) {
65 color: #FDD835;
66 }
67
68 .set:nth-of-type(4n-1) {
69 color: #0D904F;
70 }
71
72 .set:nth-of-type(4n) {
73 color: #3B78E7;
74 }
75
76 .container {
77 min-width: 20em;
78 padding: 1em 0.5em;
79 }
80
81 .container > div {
82 margin-top: 0.5em;
83 color: black;
84 font-size: 0.8em;
85 }
86
87 </style>
88
89 </head>
90 <body>
91
92 <template is="x-autobind">
93
94 <iron-meta type="iconset" list="{{iconsets}}"></iron-meta>
95
96 <template is="x-repeat" items="{{iconsets}}">
97
98 <h2>{{item.name}}</h2>
99
100 <div class="set horizontal wrap layout">
101
102 <template is="x-repeat" items="{{item.iconNames}}">
103
104 <span class="container vertical center layout">
105 <iron-icon icon="{{item}}"></iron-icon>
106 <div>{{item}}</div>
107 </span>
108
109 </template>
110
111 </div>
112
113 </template>
114
115 </template>
116
117 </body>
118 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698