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
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
>
21 font-family: sans-serif;
31 core-header-panel[mode=cover]::shadow #mainContainer {
40 background-color: #
4F7DC9;
42 transition: height
0.2s;
49 .core-header.medium-tall {
55 background: linear-gradient(rgb(
214,
227,
231), lightblue);
65 <div class=
"core-header">standard
</div>
66 <div class=
"content"></div>
69 <core-header-panel mode=
"seamed">
70 <div class=
"core-header">seamed
</div>
71 <div class=
"content"></div>
74 <core-header-panel mode=
"waterfall">
75 <div class=
"core-header">waterfall
</div>
76 <div class=
"content"></div>
79 <core-header-panel mode=
"waterfall-tall">
80 <div class=
"core-header">waterfall-tall
</div>
81 <div class=
"content"></div>
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>
89 <core-header-panel mode=
"scroll">
90 <div class=
"core-header">scroll
</div>
91 <div class=
"content"></div>
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>