MacViews: Get c/b/ui/views/tabs to build on Mac
[chromium-blink-merge.git] / third_party / polymer / components-chromium / core-toolbar / demo.html
blob03a7ac0c4df807437425bc1192abd33f5319912f
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.github.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/CONTRIBUTORS.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/PATENTS.txt
9 -->
10 <html>
11 <head>
12 <title>core-toolbar</title>
14 <script src="../platform/platform.js"></script>
16 <link rel="import" href="core-toolbar.html">
17 <link rel="import" href="../core-icon-button/core-icon-button.html">
19 <style shim-shadowdom>
21 body {
22 font-family: sans-serif;
25 core-toolbar {
26 background-color: #CFA0E9;
29 core-toolbar.dark-theme {
30 background-color: #7D25AC;
31 color: #f1f1f1;
32 fill: #f1f1f1;
35 </style>
37 </head>
38 <body unresolved>
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>
47 <br>
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>
56 <br>
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>
65 <br>
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</span>
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>
74 <br>
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 bottom</span>
82 </core-toolbar>
84 <br>
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>
95 <br>
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;"></div>
104 </core-toolbar>
106 </body>
107 </html>