OLD | NEW |
(Empty) | |
| 1 <!doctype html> |
| 2 <!-- |
| 3 Copyright (c) 2014 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 <title>core-toolbar</title> |
| 13 |
| 14 <script src="../platform/platform.js"></script> |
| 15 |
| 16 <link rel="import" href="core-toolbar.html"> |
| 17 <link rel="import" href="../core-icon-button/core-icon-button.html"> |
| 18 |
| 19 <style shim-shadowdom> |
| 20 |
| 21 body { |
| 22 font-family: sans-serif; |
| 23 } |
| 24 |
| 25 core-toolbar { |
| 26 background-color: #CFA0E9; |
| 27 } |
| 28 |
| 29 core-toolbar.dark-theme { |
| 30 background-color: #7D25AC; |
| 31 color: #f1f1f1; |
| 32 fill: #f1f1f1; |
| 33 } |
| 34 |
| 35 </style> |
| 36 |
| 37 </head> |
| 38 <body unresolved> |
| 39 |
| 40 <core-toolbar> |
| 41 <core-icon-button icon="menu"></core-icon-button> |
| 42 <span flex>Toolbar</span> |
| 43 <core-icon-button icon="refresh"></core-icon-button> |
| 44 <core-icon-button icon="add"></core-icon-button> |
| 45 </core-toolbar> |
| 46 |
| 47 <br> |
| 48 |
| 49 <core-toolbar class="dark-theme"> |
| 50 <core-icon-button icon="menu"></core-icon-button> |
| 51 <span flex>Toolbar: dark-theme</span> |
| 52 <core-icon-button icon="refresh"></core-icon-button> |
| 53 <core-icon-button icon="add"></core-icon-button> |
| 54 </core-toolbar> |
| 55 |
| 56 <br> |
| 57 |
| 58 <core-toolbar class="tall"> |
| 59 <core-icon-button icon="menu"></core-icon-button> |
| 60 <span flex>Toolbar: tall</span> |
| 61 <core-icon-button icon="refresh"></core-icon-button> |
| 62 <core-icon-button icon="add"></core-icon-button> |
| 63 </core-toolbar> |
| 64 |
| 65 <br> |
| 66 |
| 67 <core-toolbar class="tall"> |
| 68 <core-icon-button icon="menu" class="bottom"></core-icon-button> |
| 69 <span flex class="bottom">Toolbar: tall with elements pin to the bottom</spa
n> |
| 70 <core-icon-button icon="refresh" class="bottom"></core-icon-button> |
| 71 <core-icon-button icon="add" class="bottom"></core-icon-button> |
| 72 </core-toolbar> |
| 73 |
| 74 <br> |
| 75 |
| 76 <core-toolbar class="medium-tall"> |
| 77 <core-icon-button icon="menu"></core-icon-button> |
| 78 <span flex></span> |
| 79 <core-icon-button icon="refresh"></core-icon-button> |
| 80 <core-icon-button icon="add"></core-icon-button> |
| 81 <span class="bottom indent">Toolbar: medium-tall with label aligns to the bo
ttom</span> |
| 82 </core-toolbar> |
| 83 |
| 84 <br> |
| 85 |
| 86 <core-toolbar class="tall"> |
| 87 <core-icon-button icon="menu"></core-icon-button> |
| 88 <div flex></div> |
| 89 <core-icon-button icon="refresh"></core-icon-button> |
| 90 <core-icon-button icon="add"></core-icon-button> |
| 91 <div class="middle indent">label aligns to the middle</div> |
| 92 <div class="bottom indent" style="color: #666; font-size: 18px;">some stuffs
align to the bottom</div> |
| 93 </core-toolbar> |
| 94 |
| 95 <br> |
| 96 |
| 97 <core-toolbar class="tall"> |
| 98 <core-icon-button icon="menu"></core-icon-button> |
| 99 <div flex></div> |
| 100 <core-icon-button icon="refresh"></core-icon-button> |
| 101 <core-icon-button icon="add"></core-icon-button> |
| 102 <div class="middle indent">element (e.g. progress) fits at the bottom of the
toolbar</div> |
| 103 <div class="bottom fit" style="height: 20px; background-color: #0f9d58;"></d
iv> |
| 104 </core-toolbar> |
| 105 |
| 106 </body> |
| 107 </html> |
OLD | NEW |