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

Side by Side Diff: polymer_1.0.4/bower_components/paper-fab/demo/index.html

Issue 1205703007: Add polymer 1.0 to npm_modules (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Renamed folder to 1.0.4 Created 5 years, 5 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 @license
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
6 The complete set of authors may be found at http://polymer.github.io/AUTHORS
7 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS
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
10 -->
11 <html>
12 <head>
13
14 <meta charset="utf-8">
15 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
16 <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial- scale=1, user-scalable=yes">
17
18 <title>paper-fab demo</title>
19
20 <script src="../../webcomponentsjs/webcomponents-lite.js"></script>
21 <link rel="import" href="../../paper-styles/paper-styles.html">
22 <link rel="import" href="../../paper-styles/demo-pages.html">
23 <link rel="import" href="../../iron-icons/iron-icons.html">
24 <link rel="import" href="../paper-fab.html">
25
26 <style is="custom-style">
27 .horizontal-section {
28 min-width: 200px;
29 }
30
31 paper-fab {
32 display: block;
33 margin-bottom:24px;
34 margin-left: auto;
35 margin-right: auto;
36 }
37
38 paper-fab.blue {
39 --paper-fab-background: var(--paper-light-blue-500);
40 --paper-fab-keyboard-focus-background: var(--paper-light-blue-900);
41 }
42
43 paper-fab.red {
44 --paper-fab-background: var(--paper-red-500);
45 --paper-fab-keyboard-focus-background: var(--paper-red-900);
46 }
47
48 paper-fab.green {
49 --paper-fab-background: var(--paper-green-500);
50 --paper-fab-keyboard-focus-background: var(--paper-green-900);
51 }
52
53 paper-fab.orange {
54 --paper-fab-background: var(--paper-orange-500);
55 --paper-fab-keyboard-focus-background: var(--paper-orange-900);
56 }
57
58 </style>
59
60 </head>
61 <body>
62 <div class="horizontal center-justified layout">
63 <div>
64 <h4>Enabled</h4>
65 <div class="horizontal-section">
66 <paper-fab icon="arrow-forward" title="arrow-forward" tabindex="0"></pap er-fab>
67 <paper-fab icon="create" title="create" tabindex="0"></paper-fab>
68 <paper-fab icon="favorite" title="heart" tabindex="0"></paper-fab>
69 <paper-fab mini icon="done" title="done" tabindex="0"></paper-fab>
70 <paper-fab mini icon="reply" title="reply" tabindex="0"></paper-fab>
71 </div>
72 </div>
73
74 <div>
75 <h4>Disabled</h4>
76 <div class="horizontal-section">
77 <paper-fab disabled icon="arrow-forward" title="arrow-forward" tabindex= "0"></paper-fab>
78 <paper-fab disabled icon="create" title="create" tabindex="0"></paper-fa b>
79 <paper-fab disabled icon="favorite" title="heart" tabindex="0"></paper-f ab>
80 <paper-fab disabled mini icon="done" title="done" tabindex="0"></paper-f ab>
81 <paper-fab disabled mini icon="reply" title="reply" tabindex="0"></paper -fab>
82 </div>
83 </div>
84
85 <div>
86 <h4>Colors</h4>
87 <div class="horizontal-section">
88 <paper-fab icon="arrow-forward" title="arrow-forward" tabindex="0" class ="blue"></paper-fab>
89 <paper-fab icon="create" title="create" tabindex="0" class="red"></paper -fab>
90 <paper-fab icon="favorite" title="heart" tabindex="0" class="orange"></p aper-fab>
91 <paper-fab mini icon="done" title="done" tabindex="0" class="green"></pa per-fab>
92 <paper-fab mini icon="reply" title="reply" tabindex="0" class="blue"></p aper-fab>
93 </div>
94 </div>
95 </div>
96 </body>
97 </html>
OLDNEW
« no previous file with comments | « polymer_1.0.4/bower_components/paper-fab/bower.json ('k') | polymer_1.0.4/bower_components/paper-fab/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698