1 <!doctype html> 2 <!-- 3 Copyright 2013 The Polymer Authors. All rights reserved. 4 Use of this source code is governed by a BSD-style 5 license that can be found in the LICENSE file. 6 --> 7 <html> 8 <head> 9 10 <meta charset="utf-8"> 11 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 12 <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalable=yes"> 13 14 <title>paper-fab</title> 15 16 <script src="../webcomponentsjs/webcomponents.js"></script> 17 18 <link href="../font-roboto/roboto.html" rel="import"> 19 <link href="../core-icons/core-icons.html" rel="import"> 20 <link href="paper-fab.html" rel="import"> 21 22 <style shim-shadowdom> 23 24 body { 25 font-family: RobotoDraft, 'Helvetica Neue', Helvetica, Arial; 26 font-size: 14px; 27 margin: 0; 28 padding: 24px; 29 -webkit-tap-highlight-color: rgba(0,0,0,0); 30 -webkit-touch-callout: none; 31 } 32 33 section { 34 padding: 20px 0; 35 } 36 37 section > div { 38 padding: 14px; 39 font-size: 16px; 40 } 41 42 paper-fab { 43 color: #fff; 44 margin-right:2em; 45 } 46 47 paper-fab.blue { 48 background: #5677fc; 49 } 50 51 paper-fab.green { 52 background: #259b24; 53 } 54 55 paper-fab.yellow { 56 background: #ffeb3b; 57 } 58 59 </style> 60 61 </head> 62 <body unresolved> 63 64 <section> 65 66 <div>Regular</div> 67 68 <paper-fab icon="arrow-forward" title="arrow-forward"></paper-fab> 69 <paper-fab icon="create" class="blue" title="create"></paper-fab> 70 71 </section> 72 73 <section> 74 75 <div>Mini</div> 76 77 <paper-fab mini icon="done" class="green" title="done"></paper-fab> 78 <paper-fab mini icon="reply" class="yellow" title="reply"></paper-fab> 79 80 </section> 81 82 </body> 83 </html> 84