3 `paper-header-panel` contains a header section and a content panel section.
5 __Important:__ The `paper-header-panel` will not display if its parent does not have a height.
7 Using [layout classes](http://www.polymer-project.org/docs/polymer/layout-attrs.html), you can make
8 the `paper-header-panel` fill the screen
11 <body class="fullbleed layout vertical">
12 <paper-header-panel class="flex">
14 <div>Hello World!</div>
20 Special support is provided for scrolling modes when one uses a `paper-toolbar` or equivalent for the header section. For example:
24 <paper-toolbar>Header</paper-toolbar>
25 <div>Content goes here...</div>
29 If you want to use other than `paper-toolbar` for the header, add `paper-header` class to that
34 <div class="paper-header">Header</div>
35 <div>Content goes here...</div>
39 To have the content fit to the main area, use the `fit` class:
43 <div class="paper-header">standard</div>
44 <div class="content fit">content fits 100% below the header</div>
50 Controls header and scrolling behavior. Options are `standard`, `seamed`, `waterfall`, `waterfall-tall`, `scroll` and
51 `cover`. Default is `standard`.
54 ----------------|-------------
55 `standard` | The header is a step above the panel. The header will consume the panel at the point of entry, preventing it from passing through to the opposite side.
56 `seamed` | The header is presented as seamed with the panel.
57 `waterfall` | Similar to standard mode, but header is initially presented as seamed with panel, but then separates to form the step.
58 `waterfall-tall` | The header is initially taller (`tall` class is added to the header). As the user scrolls, the header separates (forming an edge) while condensing (`tall` class is removed from the header).
59 `scroll` | The header keeps its seam with the panel, and is pushed off screen.
60 `cover` | The panel covers the whole `paper-header-panel` including the header. This allows user to style the panel in such a way that the panel is partially covering the header.
65 <paper-header-panel mode="waterfall">
66 <div class="paper-header">standard</div>
67 <div class="content fit">content fits 100% below the header</div>
71 ### Styling header panel:
73 To change the shadow that shows up underneath the header:
77 --paper-header-panel-shadow: {
80 box-shadow: inset 0px 5px 6px -3px rgba(0, 0, 0, 0.4);
85 To change the panel container:
89 --paper-header-panel-standard-container: {
90 border: 1px solid gray;
93 --paper-header-panel-cover-container: {
94 border: 1px solid gray;
97 --paper-header-panel-waterfall-container: {
98 border: 1px solid gray;
101 --paper-header-panel-waterfall-tall-container: {
102 border: 1px solid gray;