| OLD | NEW |
| (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 <html> |
| 11 <head> |
| 12 <meta charset="utf-8"> |
| 13 <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-
scale=1, user-scalable=yes"> |
| 14 |
| 15 <title>paper-toolbar demo</title> |
| 16 |
| 17 <script src="../../webcomponentsjs/webcomponents-lite.js"></script> |
| 18 |
| 19 <link rel="import" href="../../iron-icons/iron-icons.html"> |
| 20 <link rel="import" href="../../paper-icon-button/paper-icon-button.html"> |
| 21 <link rel="import" href="../../paper-styles/paper-styles.html"> |
| 22 <link rel="import" href="../paper-toolbar.html"> |
| 23 |
| 24 <style> |
| 25 paper-toolbar + paper-toolbar { |
| 26 margin-top: 20px; |
| 27 } |
| 28 </style> |
| 29 |
| 30 </head> |
| 31 <body> |
| 32 |
| 33 <paper-toolbar> |
| 34 <paper-icon-button icon="menu"></paper-icon-button> |
| 35 <span class="title">Toolbar</span> |
| 36 <paper-icon-button icon="refresh"></paper-icon-button> |
| 37 <paper-icon-button icon="add">+</paper-icon-button> |
| 38 </paper-toolbar> |
| 39 |
| 40 <paper-toolbar class="tall"> |
| 41 <paper-icon-button icon="menu"></paper-icon-button> |
| 42 <span class="title">Toolbar: tall</span> |
| 43 <paper-icon-button icon="refresh"></paper-icon-button> |
| 44 <paper-icon-button icon="add">+</paper-icon-button> |
| 45 </paper-toolbar> |
| 46 |
| 47 <paper-toolbar class="tall"> |
| 48 <paper-icon-button icon="menu" class="bottom"></paper-icon-button> |
| 49 <span class="bottom title">Toolbar: tall with elements pin to the bottom</sp
an> |
| 50 <paper-icon-button icon="refresh" class="bottom"></paper-icon-button> |
| 51 <paper-icon-button icon="add" class="bottom">+</paper-icon-button> |
| 52 </paper-toolbar> |
| 53 |
| 54 <paper-toolbar class="medium-tall"> |
| 55 <paper-icon-button icon="menu"></paper-icon-button> |
| 56 <span class="flex"></span> |
| 57 <paper-icon-button icon="refresh"></paper-icon-button> |
| 58 <paper-icon-button icon="add">+</paper-icon-button> |
| 59 <span class="bottom title">Toolbar: medium-tall with label aligns to the bot
tom</span> |
| 60 </paper-toolbar> |
| 61 |
| 62 <paper-toolbar class="tall"> |
| 63 <paper-icon-button icon="menu"></paper-icon-button> |
| 64 <div class="flex"></div> |
| 65 <paper-icon-button icon="refresh"></paper-icon-button> |
| 66 <paper-icon-button icon="add">+</paper-icon-button> |
| 67 <div class="middle title">label aligns to the middle</div> |
| 68 <div class="bottom title">some stuffs align to the bottom</div> |
| 69 </paper-toolbar> |
| 70 |
| 71 <paper-toolbar class="tall"> |
| 72 <paper-icon-button icon="menu"></paper-icon-button> |
| 73 <div class="flex"></div> |
| 74 <paper-icon-button icon="refresh"></paper-icon-button> |
| 75 <paper-icon-button icon="add">+</paper-icon-button> |
| 76 <div class="middle title">element (e.g. progress) fits at the bottom of the
toolbar</div> |
| 77 <div class="bottom flex" style="height: 20px; background-color: #0f9d58;"></
div> |
| 78 </paper-toolbar> |
| 79 |
| 80 </body> |
| 81 </html> |
| OLD | NEW |