Index: third_party/polymer/components-chromium/paper-fab/demo.html |
diff --git a/third_party/polymer/components-chromium/paper-fab/demo.html b/third_party/polymer/components-chromium/paper-fab/demo.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6e2ac6c58d0282831e3e7b60e6c37eecd080a5b6 |
--- /dev/null |
+++ b/third_party/polymer/components-chromium/paper-fab/demo.html |
@@ -0,0 +1,72 @@ |
+<!doctype html> |
+<!-- |
+Copyright 2013 The Polymer Authors. All rights reserved. |
+Use of this source code is governed by a BSD-style |
+license that can be found in the LICENSE file. |
+--> |
+<html> |
+<head> |
+ |
+ <meta charset="utf-8"> |
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
+ <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> |
+ |
+ <title>paper-fab</title> |
+ |
+ <script src="../platform/platform.js"></script> |
+ |
+ <link href="../font-roboto/roboto.html" rel="import"> |
+ <link href="../core-icons/core-icons.html" rel="import"> |
+ <link href="paper-fab.html" rel="import"> |
+ |
+ <style shim-shadowdom> |
+ |
+ body { |
+ font-family: RobotoDraft, 'Helvetica Neue', Helvetica, Arial; |
+ margin: 0; |
+ padding: 24px; |
+ -webkit-user-select: none; |
+ -moz-user-select: none; |
+ -ms-user-select: none; |
+ user-select: none; |
+ -webkit-tap-highlight-color: rgba(0,0,0,0); |
+ -webkit-touch-callout: none; |
+ transform: translateZ(0); |
+ -webkit-transform: translateZ(0); |
+ } |
+ |
+ paper-fab { |
+ color: #FFF; |
+ margin-right:2em; |
+ } |
+ |
+ paper-fab.blue { |
+ background: #5677fc; |
+ } |
+ |
+ paper-fab.green { |
+ background: #259b24; |
+ } |
+ |
+ paper-fab.yellow { |
+ background: #ffeb3b; |
+ color: #000; |
+ } |
+ |
+ </style> |
+ |
+</head> |
+<body unresolved> |
+ |
+ <h3>Regular</h3> |
+ |
+ <paper-fab icon="arrow-forward"></paper-fab> |
+ <paper-fab icon="create" class="blue"></paper-fab> |
+ |
+ <h3>Mini</h3> |
+ |
+ <paper-fab icon="done" class="mini green"></paper-fab> |
+ <paper-fab icon="reply" class="mini yellow"></paper-fab> |
+ |
+</body> |
+</html> |