Add an exponential backoff to rechecking the app list doodle.
[chromium-blink-merge.git] / third_party / polymer / components-chromium / core-header-panel / demo.html
blob321f3ef6d37ef916bbc63fab2046d6f438c1e8dd
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-header-panel</title>
14 <script src="../webcomponentsjs/webcomponents.js"></script>
16 <link rel="import" href="core-header-panel.html">
18 <style shim-shadowdom>
20 body {
21 font-family: sans-serif;
24 core-header-panel {
25 float: left;
26 width: 360px;
27 height: 400px;
28 margin: 5px;
31 core-header-panel[mode=cover]::shadow #mainContainer {
32 left: 70px;
35 .core-header {
36 height: 60px;
37 line-height: 60px;
38 font-size: 18px;
39 padding: 0 10px;
40 background-color: #4F7DC9;
41 color: #FFF;
42 transition: height 0.2s;
45 .core-header.tall {
46 height: 180px;
49 .core-header.medium-tall {
50 height: 120px;
53 .content {
54 height: 2000px;
55 background: linear-gradient(rgb(214, 227, 231), lightblue);
58 </style>
60 </head>
62 <body unresolved>
64 <core-header-panel>
65 <div class="core-header">standard</div>
66 <div class="content"></div>
67 </core-header-panel>
69 <core-header-panel mode="seamed">
70 <div class="core-header">seamed</div>
71 <div class="content"></div>
72 </core-header-panel>
74 <core-header-panel mode="waterfall">
75 <div class="core-header">waterfall</div>
76 <div class="content"></div>
77 </core-header-panel>
79 <core-header-panel mode="waterfall-tall">
80 <div class="core-header">waterfall-tall</div>
81 <div class="content"></div>
82 </core-header-panel>
84 <core-header-panel mode="waterfall-tall" tallClass="medium-tall">
85 <div class="core-header">waterfall-tall (tallClass: medium-tall)</div>
86 <div class="content"></div>
87 </core-header-panel>
89 <core-header-panel mode="scroll">
90 <div class="core-header">scroll</div>
91 <div class="content"></div>
92 </core-header-panel>
94 <core-header-panel mode="cover">
95 <div class="core-header tall">cover</div>
96 <div class="content" style="margin: 60px 60px 60px 0;"></div>
97 </core-header-panel>
99 </body>
100 </html>