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, you can make the `paper-header-panel` fill the screen
9 <body class="fullbleed layout vertical">
10 <paper-header-panel class="flex">
12 <div>Hello World!</div>
17 Special support is provided for scrolling modes when one uses a paper-toolbar or equivalent for the
23 <paper-toolbar>Header</paper-toolbar>
24 <div>Content goes here...</div>
28 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>
38 To have the content fit to the main area, use the `fit` class.
41 <div class="paper-header">standard</div>
42 <div class="fit">content fits 100% below the header</div>
47 Controls header and scrolling behavior. Options are `standard`, `seamed`, `waterfall`, `waterfall-tall`, `scroll` and `cover`. Default is `standard`.
50 ----------------|-------------
51 `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.
52 `seamed` | The header is presented as seamed with the panel.
53 `waterfall` | Similar to standard mode, but header is initially presented as seamed with panel, but then separates to form the step.
54 `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).
55 `scroll` | The header keeps its seam with the panel, and is pushed off screen.
56 `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.
60 <paper-header-panel mode="waterfall">
61 <div class="paper-header">standard</div>
62 <div class="content fit">content fits 100% below the header</div>
65 ## Styling header panel:
67 To change the shadow that shows up underneath the header:
70 --paper-header-panel-shadow: {
73 box-shadow: inset 0px 5px 6px -3px rgba(0, 0, 0, 0.4);
76 To change the panel container in different modes:
79 --paper-header-panel-standard-container: {
80 border: 1px solid gray;
82 --paper-header-panel-seamed-container: {
83 border: 1px solid gray;
85 --paper-header-panel-waterfall-container: {
86 border: 1px solid gray;
88 --paper-header-panel-waterfall-tall-container: {
89 border: 1px solid gray;
91 --paper-header-panel-scroll-container: {
92 border: 1px solid gray;
94 --paper-header-panel-cover-container: {
95 border: 1px solid gray;