4
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
5
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
6
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
7
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
8
Code distributed by Google as part of the polymer project is also
9
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
13
<title>paper-scroll-header-panel: demo3</title>
15
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
16
<meta name="mobile-web-app-capable" content="yes">
17
<meta name="apple-mobile-web-app-capable" content="yes">
19
<script src="../../webcomponentsjs/webcomponents-lite.js"></script>
21
<link rel="import" href="../paper-scroll-header-panel.html">
22
<link rel="import" href="../../paper-toolbar/paper-toolbar.html">
23
<link rel="import" href="../../iron-icons/iron-icons.html">
24
<link rel="import" href="../../paper-icon-button/paper-icon-button.html">
26
<link rel="import" href="../../paper-styles/color.html">
27
<link rel="import" href="../../iron-flex-layout/iron-flex-layout.html">
28
<link rel="import" href="sample-content.html">
30
<link rel="stylesheet" href="../../paper-styles/demo.css">
32
<style is="custom-style">
34
paper-scroll-header-panel {
40
background-color: var(--paper-grey-200, #eee);
42
/* background for toolbar when it is at its full size */
43
--paper-scroll-header-panel-full-header: {
44
background-image: url(images/bg2.jpg);
45
background-position: top left;
50
background-color: transparent;
54
--paper-icon-button-ink-color: white;
62
@apply(--layout-flex);
70
<paper-scroll-header-panel condenses no-reveal no-dissolve>
72
<paper-toolbar class="tall">
74
<div class="spacer"></div>
75
<paper-icon-button icon="search"></paper-icon-button>
81
<sample-content size="100"></sample-content>
85
</paper-scroll-header-panel>